Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001835/0.001835, allocations: 107.7 kB / 16.45 MB, free: 6.453 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.002109/0.002109, allocations: 216.2 kB / 19.43 MB, free: 3.625 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.54/1.54, allocations: 230.6 MB / 252.8 MB, free: 8.969 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.282/3.282, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") [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.002119/0.002119, allocations: 74.03 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4034/0.4055, allocations: 176.1 MB / 1.321 GB, free: 2.809 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1564/0.5619, allocations: 134 MB / 1.452 GB, free: 12.39 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.03657/0.5984, allocations: 23.28 MB / 1.475 GB, free: 5.055 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005141/0.6036, allocations: 178.5 kB / 1.475 GB, free: 4.879 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.004649/0.6082, allocations: 1.541 MB / 1.476 GB, free: 3.328 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01494/0.6232, allocations: 4.314 MB / 1.481 GB, free: 15 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.0065/0.6297, allocations: 2.183 MB / 1.483 GB, free: 12.83 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01047/0.6401, allocations: 6.521 MB / 1.489 GB, free: 6.289 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004124/0.6443, allocations: 1.914 MB / 1.491 GB, free: 4.316 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009102/0.6534, allocations: 3.105 MB / 1.494 GB, free: 1.207 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00479/0.6582, allocations: 1.937 MB / 1.496 GB, free: 15.26 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001046/0.6592, allocations: 248 kB / 1.496 GB, free: 15.02 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006108/0.6653, allocations: 2.02 MB / 1.498 GB, free: 13 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.001355/0.6667, allocations: 0.6223 MB / 1.499 GB, free: 12.37 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004143/0.6708, allocations: 1.462 MB / 1.5 GB, free: 10.9 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01069/0.6815, allocations: 4.469 MB / 1.505 GB, free: 6.418 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.6815, allocations: 0 / 1.505 GB, free: 6.418 MB / 1.201 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6815, allocations: 0 / 1.505 GB, free: 6.418 MB / 1.201 GB Notification: Performance of Transformations before backend: time 0.0001386/0.6816, allocations: 0 / 1.505 GB, free: 6.418 MB / 1.201 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.01016/0.6918, allocations: 3.282 MB / 1.508 GB, free: 3.047 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.6918, allocations: 15.98 kB / 1.508 GB, free: 3.031 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007392/0.6992, allocations: 0.8574 MB / 1.509 GB, free: 2.172 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008186/0.7074, allocations: 2.356 MB / 1.511 GB, free: 15.74 MB / 1.217 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002313/0.7077, allocations: 131 kB / 1.511 GB, free: 15.61 MB / 1.217 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005398/0.7082, allocations: 167.9 kB / 1.511 GB, free: 15.45 MB / 1.217 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007438/0.7156, allocations: 1.919 MB / 1.513 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.277e-05/0.7157, allocations: 4 kB / 1.513 GB, free: 13.46 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002934/0.716, allocations: 64 kB / 1.513 GB, free: 13.4 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.789e-05/0.716, allocations: 40 kB / 1.513 GB, free: 13.36 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007979/0.724, allocations: 1.803 MB / 1.515 GB, free: 11.55 MB / 1.217 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.02164/0.7457, allocations: 9.011 MB / 1.524 GB, free: 1.938 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006392/0.7521, allocations: 1.158 MB / 1.525 GB, free: 0.7617 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00173/0.7538, allocations: 421.4 kB / 1.525 GB, free: 352 kB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00196/0.7557, allocations: 1.727 MB / 1.527 GB, free: 14.23 MB / 1.232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.797e-05/0.7558, allocations: 54.42 kB / 1.527 GB, free: 14.17 MB / 1.232 GB Notification: Performance of pre-optimization done (n=76): time 4.087e-06/0.7558, allocations: 0 / 1.527 GB, free: 14.17 MB / 1.232 GB Notification: Performance of matching and sorting (n=76): time 0.01144/0.7672, allocations: 2.343 MB / 1.529 GB, free: 11.77 MB / 1.232 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.7673, allocations: 85.11 kB / 1.529 GB, free: 11.67 MB / 1.232 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005242/0.7726, allocations: 2.529 MB / 1.532 GB, free: 9.125 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001536/0.7727, allocations: 49.7 kB / 1.532 GB, free: 9.07 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.001177/0.7739, allocations: 1.055 MB / 1.533 GB, free: 8.008 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004092/0.7743, allocations: 285.6 kB / 1.533 GB, free: 7.727 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006198/0.7749, allocations: 254.7 kB / 1.533 GB, free: 7.473 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.7751, allocations: 349.9 kB / 1.534 GB, free: 7.125 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001987/0.7771, allocations: 0.5763 MB / 1.534 GB, free: 6.547 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/0.7796, allocations: 0.9519 MB / 1.535 GB, free: 5.441 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003525/0.7831, allocations: 1.244 MB / 1.537 GB, free: 4.094 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.7831, allocations: 4 kB / 1.537 GB, free: 4.09 MB / 1.232 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007583/0.7907, allocations: 2.025 MB / 1.539 GB, free: 2.051 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.856e-05/0.7907, allocations: 12.62 kB / 1.539 GB, free: 2.039 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.7907, allocations: 4 kB / 1.539 GB, free: 2.035 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.7928, allocations: 0.4923 MB / 1.539 GB, free: 1.539 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/0.7941, allocations: 279.6 kB / 1.539 GB, free: 1.266 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002519/0.7966, allocations: 1.522 MB / 1.541 GB, free: 15.69 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003119/0.7997, allocations: 374.5 kB / 1.541 GB, free: 15.32 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002123/0.8, allocations: 63.95 kB / 1.541 GB, free: 15.26 MB / 1.248 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.00105/0.801, allocations: 464.1 kB / 1.542 GB, free: 14.8 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007911/0.8018, allocations: 258.4 kB / 1.542 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004543/0.8063, allocations: 1.497 MB / 1.543 GB, free: 13.03 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.773e-05/0.8064, allocations: 12 kB / 1.543 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.245e-06/0.8064, allocations: 4 kB / 1.543 GB, free: 13.02 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.8064, allocations: 7.969 kB / 1.543 GB, free: 13.01 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009419/0.8158, allocations: 3.616 MB / 1.547 GB, free: 9.281 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.339e-05/0.8158, allocations: 7.938 kB / 1.547 GB, free: 9.273 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006687/0.8165, allocations: 127.8 kB / 1.547 GB, free: 9.148 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001914/0.8184, allocations: 493.1 kB / 1.547 GB, free: 8.66 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.087e-05/0.8185, allocations: 23.98 kB / 1.547 GB, free: 8.637 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00297/0.8215, allocations: 1.587 MB / 1.549 GB, free: 7 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.262e-06/0.8215, allocations: 4 kB / 1.549 GB, free: 6.996 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006816/0.8283, allocations: 1.941 MB / 1.551 GB, free: 4.988 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001524/0.8298, allocations: 0.5028 MB / 1.551 GB, free: 4.465 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000824/0.8306, allocations: 23.94 kB / 1.551 GB, free: 4.441 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002101/0.8327, allocations: 131.8 kB / 1.552 GB, free: 4.312 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001033/0.8328, allocations: 59.92 kB / 1.552 GB, free: 4.254 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.8329, allocations: 39.97 kB / 1.552 GB, free: 4.215 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003972/0.8369, allocations: 1.782 MB / 1.553 GB, free: 2.43 MB / 1.248 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8369, allocations: 4 kB / 1.553 GB, free: 2.426 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.002584/0.8395, allocations: 0.7018 MB / 1.554 GB, free: 1.723 MB / 1.248 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.001294/0.8408, allocations: 0.595 MB / 1.555 GB, free: 1.117 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.004736/0.8455, allocations: 1.299 MB / 1.556 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 6.281e-06/0.8455, allocations: 4.25 kB / 1.556 GB, free: 15.82 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002667/0.8482, allocations: 0.6465 MB / 1.557 GB, free: 15.17 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007973/0.8562, allocations: 1.324 MB / 1.558 GB, free: 13.86 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008648/0.8648, allocations: 3.628 MB / 1.561 GB, free: 10.15 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/0.8665, allocations: 1.493 MB / 1.563 GB, free: 8.629 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.002421/0.869, allocations: 436.2 kB / 1.563 GB, free: 8.203 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007167/0.8697, allocations: 171.4 kB / 1.563 GB, free: 8.035 MB / 1.264 GB Notification: Performance of SimCode: time 1.363e-06/0.8697, allocations: 0 / 1.563 GB, free: 8.035 MB / 1.264 GB Notification: Performance of Templates: time 0.8911/1.761, allocations: 49.19 MB / 1.612 GB, free: 271.7 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.244422197341919]