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.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.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_latest_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_latest_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.001705/0.001705, allocations: 107.4 kB / 15.23 MB, free: 0.6406 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.002206/0.002207, allocations: 191.6 kB / 16.14 MB, free: 6.715 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.464/1.464, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.744/2.744, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 60.98 kB / 0.8984 GB, free: 37.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3965/0.3978, allocations: 157.4 MB / 1.052 GB, free: 8.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1326/0.5304, allocations: 131.4 MB / 1.18 GB, free: 5.012 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03712/0.5676, allocations: 23.31 MB / 1.203 GB, free: 13.64 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008336/0.576, allocations: 111.2 kB / 1.203 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.006744/0.5828, allocations: 1.2 MB / 1.204 GB, free: 12.32 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01656/0.5994, allocations: 3.787 MB / 1.208 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00714/0.6066, allocations: 1.959 MB / 1.21 GB, free: 6.578 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01448/0.6211, allocations: 8.286 MB / 1.218 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005287/0.6264, allocations: 1.97 MB / 1.22 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008993/0.6355, allocations: 2.372 MB / 1.222 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005381/0.6409, allocations: 1.878 MB / 1.224 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001381/0.6423, allocations: 120 kB / 1.224 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007073/0.6494, allocations: 1.734 MB / 1.226 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001592/0.6511, allocations: 497.6 kB / 1.227 GB, free: 5.629 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00459/0.6557, allocations: 1.329 MB / 1.228 GB, free: 4.293 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.01133/0.667, allocations: 4.237 MB / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/0.6671, allocations: 0 / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.455e-06/0.6671, allocations: 0 / 1.232 GB, free: 44 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0001899/0.6673, allocations: 0 / 1.232 GB, free: 44 kB / 0.9825 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.0162/0.6835, allocations: 3.176 MB / 1.235 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 8.93e-05/0.6837, allocations: 8.031 kB / 1.235 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008045/0.6917, allocations: 0.8441 MB / 1.236 GB, free: 11.93 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009507/0.7013, allocations: 2.257 MB / 1.238 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001789/0.7031, allocations: 298.8 kB / 1.238 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008975/0.7041, allocations: 156 kB / 1.239 GB, free: 9.148 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009077/0.7132, allocations: 1.942 MB / 1.24 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.873e-05/0.7133, allocations: 0 / 1.24 GB, free: 7.141 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002648/0.7136, allocations: 64 kB / 1.24 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.188e-05/0.7137, allocations: 39.94 kB / 1.241 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.7238, allocations: 1.831 MB / 1.242 GB, free: 5.207 MB / 0.9981 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.7681/1.492, allocations: 9.021 MB / 1.251 GB, free: 185.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004648/1.497, allocations: 1.202 MB / 1.252 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00107/1.498, allocations: 460 kB / 1.253 GB, free: 185 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008697/1.499, allocations: 1.726 MB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.507e-05/1.499, allocations: 44.05 kB / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.976e-06/1.499, allocations: 0 / 1.254 GB, free: 183 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008506/1.507, allocations: 2.338 MB / 1.257 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.459e-05/1.507, allocations: 85.2 kB / 1.257 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004634/1.512, allocations: 2.517 MB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/1.512, allocations: 44.77 kB / 1.259 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009081/1.513, allocations: 1.052 MB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/1.513, allocations: 270.2 kB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/1.514, allocations: 257.2 kB / 1.261 GB, free: 182 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.225e-05/1.514, allocations: 349.8 kB / 1.261 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/1.516, allocations: 0.584 MB / 1.262 GB, free: 181.7 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.518, allocations: 0.9773 MB / 1.263 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/1.52, allocations: 1.256 MB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.447e-06/1.521, allocations: 3.031 kB / 1.264 GB, free: 181 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00714/1.528, allocations: 2.047 MB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.268e-05/1.528, allocations: 13.5 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.26e-05/1.528, allocations: 7.906 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002016/1.53, allocations: 499.7 kB / 1.266 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.531, allocations: 290.2 kB / 1.267 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/1.533, allocations: 1.516 MB / 1.268 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003255/1.536, allocations: 436.5 kB / 1.269 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000192/1.537, allocations: 60.7 kB / 1.269 GB, free: 179.5 MB / 0.9981 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.0009425/1.537, allocations: 466.6 kB / 1.269 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005549/1.538, allocations: 248.3 kB / 1.269 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004329/1.542, allocations: 1.504 MB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.064e-05/1.542, allocations: 14.97 kB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.637e-06/1.542, allocations: 4.438 kB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.485e-05/1.542, allocations: 4.953 kB / 1.271 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008683/1.551, allocations: 3.597 MB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.147e-05/1.551, allocations: 3.156 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006164/1.552, allocations: 124.3 kB / 1.274 GB, free: 178.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001707/1.554, allocations: 0.4902 MB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/1.554, allocations: 30.14 kB / 1.275 GB, free: 178.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002324/1.556, allocations: 1.582 MB / 1.277 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/1.556, allocations: 8.344 kB / 1.277 GB, free: 177.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/1.562, allocations: 1.937 MB / 1.278 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/1.563, allocations: 490.8 kB / 1.279 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003939/1.564, allocations: 20.55 kB / 1.279 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00182/1.565, allocations: 176.8 kB / 1.279 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001126/1.566, allocations: 58.45 kB / 1.279 GB, free: 176.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-05/1.566, allocations: 42.55 kB / 1.279 GB, free: 176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003395/1.569, allocations: 1.773 MB / 1.281 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.7e-07/1.569, allocations: 0 / 1.281 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002666/1.572, allocations: 0.687 MB / 1.282 GB, free: 175.3 MB / 0.9981 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.00126/1.573, allocations: 0.6 MB / 1.282 GB, free: 175.1 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004317/1.577, allocations: 1.352 MB / 1.284 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/1.577, allocations: 0 / 1.284 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002384/1.58, allocations: 0.6834 MB / 1.284 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006393/1.586, allocations: 1.259 MB / 1.285 GB, free: 174.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006534/1.593, allocations: 4.307 MB / 1.29 GB, free: 171.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008745/1.594, allocations: 1.49 MB / 1.291 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002639/1.596, allocations: 444.8 kB / 1.291 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006565/1.597, allocations: 161.1 kB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.263e-06/1.597, allocations: 1.281 kB / 1.292 GB, free: 170.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.07274/1.67, allocations: 48.65 MB / 1.339 GB, free: 128.5 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) 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) Reference file matches