Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.0009389/0.0009389, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0008989/0.0008989, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.9115/0.9115, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.8/1.8, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,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.CarnotVerifyEtaCarnot") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.604e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.5055/0.5056, allocations: 120.8 MB / 1.119 GB, free: 18.1 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.0207/0.5263, allocations: 21.58 MB / 1.14 GB, free: 3.242 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003598/0.5299, allocations: 168.1 kB / 1.14 GB, free: 3.152 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003051/0.5329, allocations: 1.496 MB / 1.142 GB, free: 2.246 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01014/0.543, allocations: 4.455 MB / 1.146 GB, free: 15.58 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.006143/0.5492, allocations: 2.282 MB / 1.148 GB, free: 14.3 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.009472/0.5587, allocations: 6.606 MB / 1.155 GB, free: 10.93 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00297/0.5616, allocations: 1.756 MB / 1.156 GB, free: 9.953 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00746/0.5691, allocations: 4.03 MB / 1.16 GB, free: 8.02 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002712/0.5718, allocations: 1.595 MB / 1.162 GB, free: 7.473 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0004208/0.5722, allocations: 246.2 kB / 1.162 GB, free: 7.473 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003423/0.5756, allocations: 1.61 MB / 1.164 GB, free: 6.949 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004725/0.5761, allocations: 0.6271 MB / 1.164 GB, free: 6.52 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.5773, allocations: 0.9787 MB / 1.165 GB, free: 6.09 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005682/0.583, allocations: 4.406 MB / 1.169 GB, free: 4.461 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.583, allocations: 0 / 1.169 GB, free: 4.461 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.024e-06/0.583, allocations: 0 / 1.169 GB, free: 4.461 MB / 1.01 GB Notification: Performance of Transformations before backend: time 8.727e-05/0.5831, allocations: 1.188 kB / 1.169 GB, free: 4.461 MB / 1.01 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.004652/0.5878, allocations: 3.163 MB / 1.173 GB, free: 2.418 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.5878, allocations: 10.69 kB / 1.173 GB, free: 2.418 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002279/0.5901, allocations: 0.8587 MB / 1.173 GB, free: 2.219 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003376/0.5934, allocations: 2.28 MB / 1.176 GB, free: 0.8984 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001013/0.5935, allocations: 131.6 kB / 1.176 GB, free: 0.8359 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002088/0.5938, allocations: 161.3 kB / 1.176 GB, free: 0.7852 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.5967, allocations: 1.994 MB / 1.178 GB, free: 15.87 MB / 1.026 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.88e-05/0.5967, allocations: 5.094 kB / 1.178 GB, free: 15.87 MB / 1.026 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001155/0.5968, allocations: 65.69 kB / 1.178 GB, free: 15.82 MB / 1.026 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.255e-05/0.5969, allocations: 39.16 kB / 1.178 GB, free: 15.82 MB / 1.026 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002963/0.5998, allocations: 1.799 MB / 1.18 GB, free: 15.21 MB / 1.026 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.00764/0.6075, allocations: 6.147 MB / 1.186 GB, free: 11.1 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002287/0.6098, allocations: 1.136 MB / 1.187 GB, free: 10.51 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000628/0.6104, allocations: 438.5 kB / 1.187 GB, free: 10.29 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003181/0.6107, allocations: 158.6 kB / 1.187 GB, free: 10.23 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.6107, allocations: 42.78 kB / 1.187 GB, free: 10.18 MB / 1.026 GB Notification: Performance of pre-optimization done (n=76): time 2.846e-06/0.6107, allocations: 0 / 1.187 GB, free: 10.18 MB / 1.026 GB Notification: Performance of matching and sorting (n=76): time 0.004502/0.6152, allocations: 2.153 MB / 1.19 GB, free: 9.113 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.6153, allocations: 88.42 kB / 1.19 GB, free: 9.016 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002228/0.6175, allocations: 1.997 MB / 1.192 GB, free: 7.918 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.14e-05/0.6176, allocations: 45.95 kB / 1.192 GB, free: 7.875 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005904/0.6182, allocations: 1.089 MB / 1.193 GB, free: 6.91 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001982/0.6184, allocations: 283.9 kB / 1.193 GB, free: 6.664 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.6187, allocations: 254.1 kB / 1.193 GB, free: 6.512 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.605e-05/0.6188, allocations: 342.8 kB / 1.194 GB, free: 6.18 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009682/0.6197, allocations: 0.5742 MB / 1.194 GB, free: 5.906 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001455/0.6212, allocations: 1.612 MB / 1.196 GB, free: 4.359 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001634/0.6228, allocations: 1.252 MB / 1.197 GB, free: 3.551 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.532e-06/0.6228, allocations: 4.25 kB / 1.197 GB, free: 3.551 MB / 1.026 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003254/0.6261, allocations: 1.975 MB / 1.199 GB, free: 2.566 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.6261, allocations: 8.844 kB / 1.199 GB, free: 2.566 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.086e-05/0.6261, allocations: 6.125 kB / 1.199 GB, free: 2.566 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.6272, allocations: 0.4892 MB / 1.199 GB, free: 2.312 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005842/0.6278, allocations: 287.3 kB / 1.2 GB, free: 2.227 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001197/0.6289, allocations: 1.509 MB / 1.201 GB, free: 0.9336 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.6302, allocations: 301 kB / 1.201 GB, free: 0.7812 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.272e-05/0.6303, allocations: 56 kB / 1.201 GB, free: 0.7656 MB / 1.026 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 (111): * Single equations (assignments): 109 * 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,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006647/0.631, allocations: 462 kB / 1.202 GB, free: 452 kB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002281/0.6312, allocations: 204 kB / 1.202 GB, free: 340 kB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002021/0.6332, allocations: 1.48 MB / 1.203 GB, free: 15.49 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.636e-05/0.6333, allocations: 8.844 kB / 1.203 GB, free: 15.49 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.301e-06/0.6333, allocations: 2.312 kB / 1.203 GB, free: 15.49 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.6333, allocations: 7.984 kB / 1.203 GB, free: 15.48 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004135/0.6374, allocations: 3.184 MB / 1.207 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.6374, allocations: 2.719 kB / 1.207 GB, free: 13.43 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002899/0.6377, allocations: 130.7 kB / 1.207 GB, free: 13.39 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008783/0.6386, allocations: 485.7 kB / 1.207 GB, free: 13.14 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.516e-05/0.6386, allocations: 27.8 kB / 1.207 GB, free: 13.12 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001326/0.64, allocations: 1.585 MB / 1.209 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.64, allocations: 7.938 kB / 1.209 GB, free: 11.5 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002914/0.6429, allocations: 1.891 MB / 1.211 GB, free: 9.543 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005527/0.6434, allocations: 364.2 kB / 1.211 GB, free: 9.188 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001449/0.6436, allocations: 23.94 kB / 1.211 GB, free: 9.164 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006961/0.6443, allocations: 119.9 kB / 1.211 GB, free: 9.047 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.6443, allocations: 71.7 kB / 1.211 GB, free: 8.977 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.489e-05/0.6444, allocations: 35.97 kB / 1.211 GB, free: 8.941 MB / 1.042 GB Notification: Performance of sorting global known variables: time 0.001412/0.6458, allocations: 1.396 MB / 1.213 GB, free: 7.527 MB / 1.042 GB Notification: Performance of sort global known variables: time 9e-08/0.6458, allocations: 0 / 1.213 GB, free: 7.527 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.001697/0.6475, allocations: 0.7442 MB / 1.213 GB, free: 6.781 MB / 1.042 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 (62): * Single equations (assignments): 52 * 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,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000879/0.6484, allocations: 0.622 MB / 1.214 GB, free: 6.152 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.6505, allocations: 1.319 MB / 1.215 GB, free: 4.832 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6505, allocations: 0 / 1.215 GB, free: 4.832 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.001113/0.6516, allocations: 0.6399 MB / 1.216 GB, free: 4.195 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001998/0.6536, allocations: 0.835 MB / 1.217 GB, free: 3.367 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003964/0.6576, allocations: 3.561 MB / 1.22 GB, free: 15.72 MB / 1.057 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.6583, allocations: 0.9154 MB / 1.221 GB, free: 14.77 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003203/0.6586, allocations: 152.4 kB / 1.221 GB, free: 14.62 MB / 1.057 GB Notification: Performance of SimCode: time 6.11e-07/0.6586, allocations: 3.938 kB / 1.221 GB, free: 14.62 MB / 1.057 GB Notification: Performance of Templates: time 0.04372/0.7023, allocations: 58.4 MB / 1.278 GB, free: 4.465 MB / 1.104 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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: 12.673199080862105]