Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008626/0.0008626, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006735/0.006735, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.498/1.498, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.975/2.975, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004158/0.0004158, allocations: 12.97 kB / 0.9028 GB, free: 36.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.3259, allocations: 159.6 MB / 1.059 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL): time 0.07615/0.4021, allocations: 73.47 MB / 1.13 GB, free: 11.74 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02103/0.4232, allocations: 12.68 MB / 1.143 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003037/0.4263, allocations: 59.62 kB / 1.143 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003044/0.4294, allocations: 0.6643 MB / 1.143 GB, free: 14.31 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.009127/0.4385, allocations: 2.275 MB / 1.146 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.005426/0.444, allocations: 1.274 MB / 1.147 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.008638/0.4526, allocations: 5.547 MB / 1.152 GB, free: 5.203 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002806/0.4555, allocations: 1.151 MB / 1.153 GB, free: 4.016 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003587/0.4591, allocations: 1.306 MB / 1.155 GB, free: 2.703 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00273/0.4618, allocations: 1.139 MB / 1.156 GB, free: 1.559 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0005706/0.4624, allocations: 59.98 kB / 1.156 GB, free: 1.5 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004156/0.4666, allocations: 1.255 MB / 1.157 GB, free: 248 kB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0007762/0.4674, allocations: 282.7 kB / 1.157 GB, free: 15.96 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002362/0.4698, allocations: 0.8022 MB / 1.158 GB, free: 15.15 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006515/0.4764, allocations: 2.73 MB / 1.161 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.4764, allocations: 0 / 1.161 GB, free: 12.41 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.136e-06/0.4764, allocations: 0 / 1.161 GB, free: 12.41 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001103/0.4765, allocations: 0 / 1.161 GB, free: 12.41 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00573/0.4823, allocations: 1.783 MB / 1.163 GB, free: 10.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.54e-05/0.4823, allocations: 8.031 kB / 1.163 GB, free: 10.56 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001344/0.4837, allocations: 246.8 kB / 1.163 GB, free: 10.32 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003843/0.4876, allocations: 1.501 MB / 1.164 GB, free: 8.762 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.4877, allocations: 78 kB / 1.164 GB, free: 8.688 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003665/0.4881, allocations: 100 kB / 1.165 GB, free: 8.59 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003162/0.4912, allocations: 1.12 MB / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.851e-05/0.4913, allocations: 0 / 1.166 GB, free: 7.434 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001506/0.4915, allocations: 40 kB / 1.166 GB, free: 7.395 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.158e-05/0.4915, allocations: 28 kB / 1.166 GB, free: 7.367 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002561/0.4941, allocations: 0.9251 MB / 1.167 GB, free: 6.445 MB / 0.92 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.008599/0.5027, allocations: 4.927 MB / 1.171 GB, free: 1.23 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001548/0.5043, allocations: 0.6546 MB / 1.172 GB, free: 0.5664 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008186/0.5051, allocations: 376.5 kB / 1.172 GB, free: 204 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009458/0.5061, allocations: 0.8238 MB / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.347e-05/0.5062, allocations: 43.12 kB / 1.173 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=62): time 4.729e-06/0.5062, allocations: 0 / 1.173 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of matching and sorting (n=62): time 0.008385/0.5146, allocations: 1.908 MB / 1.175 GB, free: 13.21 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.16e-05/0.5147, allocations: 55.97 kB / 1.175 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002534/0.5172, allocations: 1.214 MB / 1.176 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.0001382/0.5174, allocations: 41.64 kB / 1.176 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006817/0.5181, allocations: 0.5949 MB / 1.177 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003466/0.5184, allocations: 224.8 kB / 1.177 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001318/0.5186, allocations: 65.69 kB / 1.177 GB, free: 10.97 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.5188, allocations: 330 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008578/0.5196, allocations: 309.8 kB / 1.178 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009634/0.5206, allocations: 0.4989 MB / 1.178 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.5222, allocations: 0.7511 MB / 1.179 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5223, allocations: 0 / 1.179 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005333/0.5276, allocations: 1.414 MB / 1.18 GB, free: 7.543 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001406/0.5278, allocations: 193 kB / 1.181 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5278, allocations: 0 / 1.181 GB, free: 7.305 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007818/0.5286, allocations: 164.7 kB / 1.181 GB, free: 7.141 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006475/0.5292, allocations: 163.8 kB / 1.181 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/0.5302, allocations: 0.7395 MB / 1.182 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001357/0.5316, allocations: 167 kB / 1.182 GB, free: 6.051 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.451e-05/0.5317, allocations: 27.98 kB / 1.182 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.015e-06/0.5317, allocations: 4 kB / 1.182 GB, free: 6.02 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004753/0.5364, allocations: 1.265 MB / 1.183 GB, free: 4.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.125e-06/0.5365, allocations: 4 kB / 1.183 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006288/0.5371, allocations: 164.8 kB / 1.183 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006032/0.5377, allocations: 163.8 kB / 1.183 GB, free: 4.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008436/0.5386, allocations: 0.7318 MB / 1.184 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001278/0.5399, allocations: 154.1 kB / 1.184 GB, free: 3.516 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.251e-05/0.54, allocations: 31.98 kB / 1.184 GB, free: 3.484 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007097/0.5407, allocations: 424.9 kB / 1.185 GB, free: 3.059 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003708/0.5411, allocations: 134.3 kB / 1.185 GB, free: 2.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005297/0.5464, allocations: 1.42 MB / 1.186 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.742e-05/0.5464, allocations: 11.94 kB / 1.186 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.5464, allocations: 0 / 1.186 GB, free: 1.473 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004631/0.5511, allocations: 1.252 MB / 1.187 GB, free: 192 kB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007519/0.5586, allocations: 2.743 MB / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.5586, allocations: 4 kB / 1.19 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000513/0.5591, allocations: 119.9 kB / 1.19 GB, free: 13.21 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006812/0.5598, allocations: 160.9 kB / 1.19 GB, free: 13.05 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.204e-05/0.5599, allocations: 23.98 kB / 1.19 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008632/0.5608, allocations: 0.7162 MB / 1.191 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.863e-06/0.5608, allocations: 7.938 kB / 1.191 GB, free: 12.28 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005747/0.5666, allocations: 1.856 MB / 1.193 GB, free: 10.35 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007783/0.5674, allocations: 343 kB / 1.193 GB, free: 9.996 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003105/0.5677, allocations: 16 kB / 1.193 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001085/0.5688, allocations: 99.81 kB / 1.193 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.5689, allocations: 52.31 kB / 1.193 GB, free: 9.832 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.569, allocations: 31.97 kB / 1.193 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001481/0.5705, allocations: 0.866 MB / 1.194 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.8e-07/0.5705, allocations: 7.938 kB / 1.194 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002164/0.5727, allocations: 0.7018 MB / 1.195 GB, free: 8.223 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,11)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001079/0.5738, allocations: 451.3 kB / 1.195 GB, free: 7.777 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002902/0.5767, allocations: 1.18 MB / 1.197 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.5767, allocations: 0 / 1.197 GB, free: 6.602 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0009411/0.5776, allocations: 411.3 kB / 1.197 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00474/0.5824, allocations: 0.7995 MB / 1.198 GB, free: 5.414 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00525/0.5877, allocations: 2.805 MB / 1.2 GB, free: 2.527 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009002/0.5886, allocations: 1.173 MB / 1.202 GB, free: 1.328 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.001326/0.5899, allocations: 306.9 kB / 1.202 GB, free: 1.023 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003552/0.5903, allocations: 111.4 kB / 1.202 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of SimCode: time 1.072e-06/0.5903, allocations: 0 / 1.202 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of Templates: time 0.05363/0.6439, allocations: 31.72 MB / 1.233 GB, free: 1.531 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches