Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007659/0.007659, allocations: 101.7 kB / 15.88 MB, free: 5.863 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002351/0.002351, allocations: 190.9 kB / 16.79 MB, free: 5.805 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 240.5 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.377/2.377, allocations: 390.2 MB / 0.6649 GB, free: 0.6094 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 64.09 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6672/0.6687, allocations: 140.3 MB / 0.9496 GB, free: 9.363 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.119/0.7877, allocations: 131.4 MB / 1.078 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.03251/0.8202, allocations: 23.31 MB / 1.101 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005056/0.8253, allocations: 115.2 kB / 1.101 GB, free: 6.957 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.004398/0.8298, allocations: 1.2 MB / 1.102 GB, free: 5.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01187/0.8417, allocations: 3.793 MB / 1.106 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005717/0.8474, allocations: 1.95 MB / 1.108 GB, free: 12 kB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01172/0.8592, allocations: 8.29 MB / 1.116 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004397/0.8636, allocations: 1.972 MB / 1.118 GB, free: 5.668 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006564/0.8702, allocations: 2.364 MB / 1.12 GB, free: 3.293 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004097/0.8743, allocations: 1.874 MB / 1.122 GB, free: 1.41 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0009113/0.8753, allocations: 120 kB / 1.122 GB, free: 1.293 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005571/0.8808, allocations: 1.746 MB / 1.124 GB, free: 15.54 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.8819, allocations: 493.6 kB / 1.124 GB, free: 15.06 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.003281/0.8852, allocations: 1.325 MB / 1.125 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.005264/0.8905, allocations: 3.337 MB / 1.129 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.8905, allocations: 0 / 1.129 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.913e-06/0.8906, allocations: 0 / 1.129 GB, free: 10.38 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0001407/0.8907, allocations: 0 / 1.129 GB, free: 10.38 MB / 0.8887 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.007574/0.8983, allocations: 3.184 MB / 1.132 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.8983, allocations: 8.031 kB / 1.132 GB, free: 7.105 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004806/0.9031, allocations: 0.8475 MB / 1.133 GB, free: 6.254 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005166/0.9083, allocations: 2.253 MB / 1.135 GB, free: 3.926 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009893/0.9094, allocations: 290.9 kB / 1.135 GB, free: 3.641 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004779/0.9099, allocations: 160 kB / 1.135 GB, free: 3.484 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005135/0.915, allocations: 1.942 MB / 1.137 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.639e-05/0.9151, allocations: 4 kB / 1.137 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002192/0.9153, allocations: 63.94 kB / 1.137 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.228e-05/0.9153, allocations: 40 kB / 1.137 GB, free: 1.371 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005211/0.9206, allocations: 1.823 MB / 1.139 GB, free: 15.55 MB / 0.9044 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.01515/0.9357, allocations: 9.031 MB / 1.148 GB, free: 5.914 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004553/0.9403, allocations: 1.189 MB / 1.149 GB, free: 4.707 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001232/0.9416, allocations: 458.2 kB / 1.149 GB, free: 4.254 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.9428, allocations: 1.73 MB / 1.151 GB, free: 2.137 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.042e-05/0.9429, allocations: 46.56 kB / 1.151 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=76): time 2.865e-06/0.9429, allocations: 0 / 1.151 GB, free: 2.082 MB / 0.9044 GB Notification: Performance of matching and sorting (n=76): time 0.008747/0.9517, allocations: 2.336 MB / 1.153 GB, free: 15.69 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001881/0.9519, allocations: 85.11 kB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007441/0.9594, allocations: 2.516 MB / 1.156 GB, free: 13.05 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0003796/0.9598, allocations: 49.64 kB / 1.156 GB, free: 13 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.9613, allocations: 1.049 MB / 1.157 GB, free: 11.94 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006215/0.962, allocations: 276.1 kB / 1.157 GB, free: 11.67 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009102/0.9629, allocations: 250.6 kB / 1.157 GB, free: 11.42 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.9631, allocations: 345.9 kB / 1.158 GB, free: 11.07 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001857/0.965, allocations: 0.5881 MB / 1.158 GB, free: 10.48 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002119/0.9671, allocations: 0.9738 MB / 1.159 GB, free: 9.359 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003058/0.9702, allocations: 1.264 MB / 1.161 GB, free: 7.992 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.938e-06/0.9702, allocations: 4 kB / 1.161 GB, free: 7.988 MB / 0.92 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006928/0.9771, allocations: 2.051 MB / 1.163 GB, free: 5.922 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.9772, allocations: 13.72 kB / 1.163 GB, free: 5.91 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.867e-05/0.9772, allocations: 4 kB / 1.163 GB, free: 5.906 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001982/0.9792, allocations: 498.8 kB / 1.163 GB, free: 5.414 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.9806, allocations: 287.6 kB / 1.163 GB, free: 5.133 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002222/0.9829, allocations: 1.525 MB / 1.165 GB, free: 3.559 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003824/0.9867, allocations: 438.6 kB / 1.165 GB, free: 3.129 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000402/0.9872, allocations: 59.97 kB / 1.165 GB, free: 3.07 MB / 0.92 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.001752/0.9889, allocations: 457.5 kB / 1.166 GB, free: 2.613 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/0.9901, allocations: 252.8 kB / 1.166 GB, free: 2.363 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004251/0.9943, allocations: 1.505 MB / 1.167 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.051e-05/0.9944, allocations: 11.98 kB / 1.167 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.919e-06/0.9944, allocations: 4 kB / 1.167 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.027e-05/0.9944, allocations: 3.984 kB / 1.167 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008503/1.003, allocations: 3.596 MB / 1.171 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.003, allocations: 4 kB / 1.171 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006614/1.004, allocations: 132.1 kB / 1.171 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002061/1.006, allocations: 493.2 kB / 1.172 GB, free: 12.49 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001073/1.006, allocations: 31.97 kB / 1.172 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/1.009, allocations: 1.586 MB / 1.173 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/1.009, allocations: 4 kB / 1.173 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006323/1.015, allocations: 1.943 MB / 1.175 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/1.016, allocations: 497.5 kB / 1.176 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000676/1.017, allocations: 16 kB / 1.176 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002199/1.019, allocations: 171.7 kB / 1.176 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.019, allocations: 59.8 kB / 1.176 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/1.02, allocations: 43.97 kB / 1.176 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.003716/1.023, allocations: 1.766 MB / 1.178 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.11e-07/1.023, allocations: 0 / 1.178 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.002571/1.026, allocations: 0.6789 MB / 1.178 GB, free: 5.566 MB / 0.9356 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.001472/1.027, allocations: 0.6005 MB / 1.179 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.004456/1.032, allocations: 1.353 MB / 1.18 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 6.862e-06/1.032, allocations: 4.062 kB / 1.18 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.002392/1.034, allocations: 0.6622 MB / 1.181 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007595/1.042, allocations: 1.262 MB / 1.182 GB, free: 1.699 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00865/1.051, allocations: 4.352 MB / 1.186 GB, free: 13.27 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001522/1.052, allocations: 1.482 MB / 1.188 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008514/1.053, allocations: 183.4 kB / 1.188 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of SimCode: time 1.643e-06/1.053, allocations: 0 / 1.188 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of Templates: time 0.583/1.636, allocations: 62.19 MB / 1.249 GB, free: 276.6 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches