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.001574/0.001574, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001805/0.001805, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.037/1.037, allocations: 177.1 MB / 203.8 MB, free: 5.641 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 2.14/2.14, allocations: 429.5 MB / 0.6736 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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.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.644e-06/1.644e-06, allocations: 0 / 0.8782 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.884e-05, allocations: 2.969 kB / 0.8782 GB, free: 6.625 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.09786/0.09789, allocations: 138.3 MB / 1.013 GB, free: 11.95 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.02765/0.1255, allocations: 25.1 MB / 1.038 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004027/0.1296, allocations: 186.4 kB / 1.038 GB, free: 2.598 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003929/0.1335, allocations: 1.517 MB / 1.039 GB, free: 1.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.01097/0.1445, allocations: 4.518 MB / 1.044 GB, free: 12.53 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.1502, allocations: 2.798 MB / 1.047 GB, free: 9.73 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.008928/0.1592, allocations: 6.819 MB / 1.053 GB, free: 2.887 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003373/0.1625, allocations: 1.896 MB / 1.055 GB, free: 0.9336 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4417/0.6043, allocations: 4.2 MB / 1.059 GB, free: 94.95 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.6071, allocations: 1.66 MB / 1.061 GB, free: 94.95 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0005713/0.6077, allocations: 257.1 kB / 1.061 GB, free: 94.95 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003154/0.6108, allocations: 1.615 MB / 1.063 GB, free: 94.95 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0005508/0.6114, allocations: 0.6622 MB / 1.063 GB, free: 94.95 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.6129, allocations: 1.021 MB / 1.064 GB, free: 94.95 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.005075/0.618, allocations: 3.111 MB / 1.067 GB, free: 94.86 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.618, allocations: 0.5312 kB / 1.067 GB, free: 94.86 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.893e-06/0.618, allocations: 0.5312 kB / 1.067 GB, free: 94.86 MB / 1.01 GB Notification: Performance of Transformations before backend: time 7.951e-05/0.6181, allocations: 0.5938 kB / 1.067 GB, free: 94.86 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.004192/0.6223, allocations: 3.451 MB / 1.071 GB, free: 93.18 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6223, allocations: 11.84 kB / 1.071 GB, free: 93.18 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.6244, allocations: 0.8531 MB / 1.071 GB, free: 93.01 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0032/0.6276, allocations: 2.502 MB / 1.074 GB, free: 92.41 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.344e-05/0.6277, allocations: 131.5 kB / 1.074 GB, free: 92.41 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001782/0.6279, allocations: 182.6 kB / 1.074 GB, free: 92.4 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00201/0.6299, allocations: 1.435 MB / 1.076 GB, free: 92.04 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/0.6299, allocations: 5.094 kB / 1.076 GB, free: 92.04 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.63, allocations: 60.16 kB / 1.076 GB, free: 92.04 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.63, allocations: 37.75 kB / 1.076 GB, free: 92.04 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001241/0.6313, allocations: 0.6994 MB / 1.076 GB, free: 92.01 MB / 1.01 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.006716/0.638, allocations: 6.553 MB / 1.083 GB, free: 89.36 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0015/0.6395, allocations: 0.7155 MB / 1.084 GB, free: 89.27 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002574/0.6397, allocations: 200.1 kB / 1.084 GB, free: 89.25 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002993/0.64, allocations: 165.5 kB / 1.084 GB, free: 89.24 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.802e-05/0.6401, allocations: 45.7 kB / 1.084 GB, free: 89.2 MB / 1.01 GB Notification: Performance of pre-optimization done (n=76): time 3.286e-06/0.6401, allocations: 0 / 1.084 GB, free: 89.2 MB / 1.01 GB Notification: Performance of matching and sorting (n=76): time 0.003132/0.6432, allocations: 1.357 MB / 1.085 GB, free: 88.97 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.766e-05/0.6432, allocations: 88.83 kB / 1.085 GB, free: 88.88 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002077/0.6453, allocations: 1.858 MB / 1.087 GB, free: 88.55 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 9.732e-05/0.6454, allocations: 47.55 kB / 1.087 GB, free: 88.52 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006009/0.646, allocations: 1.194 MB / 1.088 GB, free: 88.05 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001766/0.6462, allocations: 283.7 kB / 1.089 GB, free: 87.88 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003305/0.6465, allocations: 321.4 kB / 1.089 GB, free: 87.84 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 7.809e-05/0.6466, allocations: 0.5282 MB / 1.089 GB, free: 87.35 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003973/0.647, allocations: 196.5 kB / 1.09 GB, free: 87.35 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008038/0.6478, allocations: 1.674 MB / 1.091 GB, free: 85.5 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.6488, allocations: 1.165 MB / 1.092 GB, free: 84.59 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.216e-05/0.6488, allocations: 5.188 kB / 1.092 GB, free: 84.59 MB / 1.01 GB Notification: Performance of matching and sorting (n=163) (initialization): time 0.003325/0.6522, allocations: 1.538 MB / 1.094 GB, free: 84.38 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 2.921e-05/0.6522, allocations: 15.75 kB / 1.094 GB, free: 84.38 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.401e-05/0.6522, allocations: 17.41 kB / 1.094 GB, free: 84.38 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001017/0.6532, allocations: 421.2 kB / 1.094 GB, free: 84.32 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000664/0.6539, allocations: 306.4 kB / 1.095 GB, free: 84.32 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008788/0.6548, allocations: 1.845 MB / 1.096 GB, free: 82.71 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001286/0.6561, allocations: 246.7 kB / 1.097 GB, free: 82.64 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/0.6562, allocations: 76.31 kB / 1.097 GB, free: 82.64 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * 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 (141): * Single equations (assignments): 139 * 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.0004915/0.6567, allocations: 252 kB / 1.097 GB, free: 82.47 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003246/0.657, allocations: 251.4 kB / 1.097 GB, free: 82.35 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001391/0.6584, allocations: 0.9425 MB / 1.098 GB, free: 82.2 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.6584, allocations: 13.11 kB / 1.098 GB, free: 82.2 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.6584, allocations: 0 / 1.098 GB, free: 82.2 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.397e-06/0.6584, allocations: 6.125 kB / 1.098 GB, free: 82.2 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003591/0.662, allocations: 2.641 MB / 1.101 GB, free: 81.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.067e-06/0.662, allocations: 2.875 kB / 1.101 GB, free: 81.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002933/0.6623, allocations: 111.3 kB / 1.101 GB, free: 81.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008668/0.6632, allocations: 405.5 kB / 1.101 GB, free: 81.46 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-05/0.6632, allocations: 30.12 kB / 1.101 GB, free: 81.46 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009475/0.6642, allocations: 1.866 MB / 1.103 GB, free: 79.86 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.633e-06/0.6642, allocations: 10.06 kB / 1.103 GB, free: 79.86 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/0.6665, allocations: 1.405 MB / 1.104 GB, free: 79.23 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006461/0.6671, allocations: 383.6 kB / 1.105 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001867/0.6673, allocations: 24.19 kB / 1.105 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006335/0.6679, allocations: 75.41 kB / 1.105 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.241e-05/0.668, allocations: 60.44 kB / 1.105 GB, free: 79.09 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.383e-05/0.6681, allocations: 46.52 kB / 1.105 GB, free: 79.08 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.001587/0.6697, allocations: 1.098 MB / 1.106 GB, free: 78.89 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.6697, allocations: 0 / 1.106 GB, free: 78.89 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.002118/0.6718, allocations: 0.7592 MB / 1.107 GB, free: 78.77 MB / 1.01 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.0008718/0.6727, allocations: 0.6157 MB / 1.107 GB, free: 78.57 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001743/0.6744, allocations: 0.7605 MB / 1.108 GB, free: 78.54 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.6744, allocations: 0 / 1.108 GB, free: 78.54 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0009083/0.6753, allocations: 404.6 kB / 1.109 GB, free: 78.5 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002849/0.6782, allocations: 0.9211 MB / 1.109 GB, free: 78.36 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005374/0.6835, allocations: 3.384 MB / 1.113 GB, free: 76.62 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004609/0.684, allocations: 381.3 kB / 1.113 GB, free: 76.52 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.001673/0.6857, allocations: 366.5 kB / 1.113 GB, free: 76.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003317/0.686, allocations: 152 kB / 1.114 GB, free: 76.4 MB / 1.01 GB Notification: Performance of SimCode: time 2.154e-06/0.686, allocations: 0 / 1.114 GB, free: 76.4 MB / 1.01 GB Notification: Performance of Templates: time 0.0545/0.7405, allocations: 41.7 MB / 1.154 GB, free: 68.43 MB / 1.01 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.116262003080919]