Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 104.3 kB / 19.7 MB, free: 2.004 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001441/0.001441, allocations: 218.3 kB / 23 MB, free: 4.918 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.524/1.524, allocations: 230.6 MB / 256.8 MB, free: 7.973 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.324/3.324, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chi_TEva.COP_nominal|chi_TEva.COP|chi_TEva.m1_flow|chi_TEva.m2_flow|chi_TEva.m1_flow_nominal|chi_TEva.m2_flow_nominal|chi_TEva.TCon_nominal|chi_TEva.TEva_nominal|chi_TEva.sta_b1.T|chi_TEva.sta_b2.T|chi_TEva.sta_a1.T|chi_TEva.sta_a2.T|chi_y.COP_nominal|chi_y.COP|chi_y.m1_flow_nominal|chi_y.m2_flow_nominal|chi_y.m2_flow|chi_y.m1_flow|chi_y.TCon_nominal|chi_y.TEva_nominal|chi_y.sta_a1.T|chi_y.sta_b1.T|chi_y.sta_a2.T|chi_y.sta_b2.T",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002134/0.002134, allocations: 77.78 kB / 1.187 GB, free: 13.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3716/0.3738, allocations: 181.9 MB / 1.365 GB, free: 13.62 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1409/0.5147, allocations: 121.8 MB / 1.484 GB, free: 3.371 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.03525/0.5499, allocations: 21.59 MB / 1.505 GB, free: 13.73 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004889/0.5548, allocations: 174.5 kB / 1.505 GB, free: 13.55 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.004844/0.5597, allocations: 1.487 MB / 1.506 GB, free: 12.06 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01297/0.5726, allocations: 4.33 MB / 1.511 GB, free: 7.711 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.006196/0.5788, allocations: 2.204 MB / 1.513 GB, free: 5.527 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.0109/0.5897, allocations: 6.553 MB / 1.519 GB, free: 14.95 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003955/0.5937, allocations: 1.817 MB / 1.521 GB, free: 13.08 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008715/0.6024, allocations: 3.162 MB / 1.524 GB, free: 9.91 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004212/0.6066, allocations: 1.816 MB / 1.526 GB, free: 8.086 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.000753/0.6074, allocations: 244 kB / 1.526 GB, free: 7.848 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004822/0.6122, allocations: 1.579 MB / 1.527 GB, free: 6.266 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0009489/0.6131, allocations: 0.6223 MB / 1.528 GB, free: 5.641 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.002433/0.6156, allocations: 1.155 MB / 1.529 GB, free: 4.48 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.008566/0.6241, allocations: 4.387 MB / 1.534 GB, free: 80 kB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 8.666e-06/0.6241, allocations: 4 kB / 1.534 GB, free: 76 kB / 1.217 GB Notification: Performance of FrontEnd: time 3.486e-06/0.6241, allocations: 3.984 kB / 1.534 GB, free: 72 kB / 1.217 GB Notification: Performance of Transformations before backend: time 9.859e-05/0.6242, allocations: 0 / 1.534 GB, free: 72 kB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.007037/0.6313, allocations: 3.181 MB / 1.537 GB, free: 12.82 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.6313, allocations: 12.03 kB / 1.537 GB, free: 12.8 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004642/0.636, allocations: 0.8567 MB / 1.537 GB, free: 11.95 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005853/0.6418, allocations: 2.296 MB / 1.54 GB, free: 9.562 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001654/0.642, allocations: 123 kB / 1.54 GB, free: 9.441 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004302/0.6424, allocations: 168 kB / 1.54 GB, free: 9.277 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00469/0.6471, allocations: 1.994 MB / 1.542 GB, free: 7.199 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.862e-05/0.6471, allocations: 3.938 kB / 1.542 GB, free: 7.195 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001598/0.6473, allocations: 67.94 kB / 1.542 GB, free: 7.129 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.205e-05/0.6473, allocations: 36 kB / 1.542 GB, free: 7.094 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005064/0.6524, allocations: 1.788 MB / 1.544 GB, free: 5.305 MB / 1.232 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01361/0.666, allocations: 6.142 MB / 1.55 GB, free: 15.02 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004494/0.6705, allocations: 1.135 MB / 1.551 GB, free: 13.88 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001213/0.6717, allocations: 441.6 kB / 1.551 GB, free: 13.44 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005158/0.6722, allocations: 147.9 kB / 1.551 GB, free: 13.29 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.078e-05/0.6723, allocations: 42.56 kB / 1.551 GB, free: 13.24 MB / 1.248 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.6723, allocations: 4 kB / 1.551 GB, free: 13.24 MB / 1.248 GB Notification: Performance of matching and sorting (n=76): time 0.009124/0.6814, allocations: 2.13 MB / 1.554 GB, free: 11.09 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.419e-05/0.6815, allocations: 85.11 kB / 1.554 GB, free: 10.99 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003852/0.6853, allocations: 1.977 MB / 1.556 GB, free: 8.98 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0002362/0.6856, allocations: 41.7 kB / 1.556 GB, free: 8.934 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.6866, allocations: 1.094 MB / 1.557 GB, free: 7.828 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003825/0.687, allocations: 277.6 kB / 1.557 GB, free: 7.555 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000462/0.6875, allocations: 254.8 kB / 1.557 GB, free: 7.301 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.000183/0.6876, allocations: 345.9 kB / 1.558 GB, free: 6.957 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001842/0.6895, allocations: 0.5725 MB / 1.558 GB, free: 6.383 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002627/0.6921, allocations: 1.615 MB / 1.56 GB, free: 4.461 MB / 1.248 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003293/0.6954, allocations: 1.256 MB / 1.561 GB, free: 3.098 MB / 1.248 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.069e-05/0.6954, allocations: 4 kB / 1.561 GB, free: 3.094 MB / 1.248 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006987/0.7024, allocations: 1.971 MB / 1.563 GB, free: 1.105 MB / 1.248 GB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7024, allocations: 12 kB / 1.563 GB, free: 1.094 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.637e-05/0.7024, allocations: 8 kB / 1.563 GB, free: 1.086 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.7042, allocations: 414.3 kB / 1.563 GB, free: 0.6758 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00131/0.7055, allocations: 283.5 kB / 1.564 GB, free: 408 kB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002453/0.7079, allocations: 1.509 MB / 1.565 GB, free: 14.84 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00254/0.7105, allocations: 291.1 kB / 1.565 GB, free: 14.55 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001874/0.7107, allocations: 67.97 kB / 1.565 GB, free: 14.49 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0009988/0.7117, allocations: 461.4 kB / 1.566 GB, free: 14.03 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005355/0.7122, allocations: 214.6 kB / 1.566 GB, free: 13.82 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003901/0.7161, allocations: 1.465 MB / 1.567 GB, free: 12.34 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/0.7161, allocations: 12 kB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.7161, allocations: 0 / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.7161, allocations: 3.984 kB / 1.567 GB, free: 12.32 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008679/0.7248, allocations: 3.171 MB / 1.571 GB, free: 9.062 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.505e-05/0.7248, allocations: 384 / 1.571 GB, free: 9.062 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008578/0.7257, allocations: 131.8 kB / 1.571 GB, free: 8.934 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002002/0.7277, allocations: 423.2 kB / 1.571 GB, free: 8.516 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001064/0.7278, allocations: 23.98 kB / 1.571 GB, free: 8.492 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/0.731, allocations: 1.569 MB / 1.573 GB, free: 6.871 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.731, allocations: 4 kB / 1.573 GB, free: 6.867 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006752/0.7377, allocations: 1.895 MB / 1.574 GB, free: 4.91 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.7389, allocations: 360.2 kB / 1.575 GB, free: 4.555 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005397/0.7395, allocations: 19.94 kB / 1.575 GB, free: 4.535 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001837/0.7413, allocations: 123.9 kB / 1.575 GB, free: 4.414 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.7414, allocations: 63.83 kB / 1.575 GB, free: 4.352 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001176/0.7416, allocations: 39.97 kB / 1.575 GB, free: 4.312 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003157/0.7447, allocations: 1.38 MB / 1.576 GB, free: 2.914 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.81e-07/0.7447, allocations: 0 / 1.576 GB, free: 2.914 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.002621/0.7473, allocations: 0.7364 MB / 1.577 GB, free: 2.176 MB / 1.264 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00137/0.7487, allocations: 0.5994 MB / 1.578 GB, free: 1.562 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.004686/0.7534, allocations: 1.318 MB / 1.579 GB, free: 256 kB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 7.785e-06/0.7534, allocations: 0 / 1.579 GB, free: 256 kB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002609/0.756, allocations: 0.6406 MB / 1.58 GB, free: 15.61 MB / 1.279 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005032/0.761, allocations: 0.8692 MB / 1.58 GB, free: 14.75 MB / 1.279 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008873/0.7699, allocations: 3.585 MB / 1.584 GB, free: 11.09 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.7714, allocations: 0.9116 MB / 1.585 GB, free: 10.14 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007903/0.7722, allocations: 151.4 kB / 1.585 GB, free: 9.992 MB / 1.279 GB Notification: Performance of SimCode: time 1.513e-06/0.7722, allocations: 4 kB / 1.585 GB, free: 9.988 MB / 1.279 GB Notification: Performance of Templates: time 0.7564/1.529, allocations: 58.39 MB / 1.642 GB, free: 230.5 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.670024260878563]