Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,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.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,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.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001555/0.001555, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002002/0.002001, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.437/1.437, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.84/2.84, allocations: 461.9 MB / 0.7342 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 63.89 kB / 0.8984 GB, free: 37.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4048, allocations: 157.4 MB / 1.052 GB, free: 8.902 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1331/0.5379, allocations: 131.4 MB / 1.18 GB, free: 5.094 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.03697/0.5749, allocations: 23.31 MB / 1.203 GB, free: 13.73 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007765/0.5827, allocations: 115.2 kB / 1.203 GB, free: 13.61 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.005882/0.5886, allocations: 1.208 MB / 1.204 GB, free: 12.4 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01576/0.6045, allocations: 3.775 MB / 1.208 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007463/0.6119, allocations: 1.969 MB / 1.21 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01487/0.6268, allocations: 8.264 MB / 1.218 GB, free: 14.37 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006384/0.6333, allocations: 1.97 MB / 1.22 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009039/0.6424, allocations: 2.368 MB / 1.222 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005129/0.6475, allocations: 1.866 MB / 1.224 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001356/0.6489, allocations: 120 kB / 1.224 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007038/0.656, allocations: 1.738 MB / 1.226 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001433/0.6575, allocations: 489.7 kB / 1.226 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.004331/0.6618, allocations: 1.325 MB / 1.228 GB, free: 4.418 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0113/0.6731, allocations: 4.226 MB / 1.232 GB, free: 184 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 1.246e-05/0.6732, allocations: 0 / 1.232 GB, free: 184 kB / 0.9825 GB Notification: Performance of FrontEnd: time 2.976e-06/0.6732, allocations: 0 / 1.232 GB, free: 184 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.0002782/0.6735, allocations: 0 / 1.232 GB, free: 184 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.01314/0.6867, allocations: 3.156 MB / 1.235 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.6868, allocations: 8.031 kB / 1.235 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004705/0.6915, allocations: 0.8399 MB / 1.236 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.6969, allocations: 2.27 MB / 1.238 GB, free: 9.742 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009913/0.6979, allocations: 290.9 kB / 1.238 GB, free: 9.457 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002989/0.6982, allocations: 160 kB / 1.238 GB, free: 9.301 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004579/0.7028, allocations: 1.942 MB / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.711e-05/0.7029, allocations: 0 / 1.24 GB, free: 7.293 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/0.7031, allocations: 64 kB / 1.24 GB, free: 7.23 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/0.7031, allocations: 39.94 kB / 1.24 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.708, allocations: 1.807 MB / 1.242 GB, free: 5.383 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.6916/1.4, allocations: 8.998 MB / 1.251 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004826/1.405, allocations: 1.203 MB / 1.252 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00124/1.406, allocations: 458.4 kB / 1.253 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001144/1.407, allocations: 1.73 MB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.932e-05/1.407, allocations: 37.69 kB / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 4.128e-06/1.407, allocations: 0 / 1.254 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009182/1.416, allocations: 2.328 MB / 1.257 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.209e-05/1.416, allocations: 88.36 kB / 1.257 GB, free: 182.8 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005287/1.422, allocations: 2.485 MB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002159/1.422, allocations: 45.08 kB / 1.259 GB, free: 182.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008836/1.423, allocations: 1.047 MB / 1.26 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000304/1.423, allocations: 271.1 kB / 1.26 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/1.424, allocations: 254.5 kB / 1.261 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001146/1.424, allocations: 353.2 kB / 1.261 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001715/1.425, allocations: 0.5823 MB / 1.262 GB, free: 181.9 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002095/1.428, allocations: 0.9663 MB / 1.263 GB, free: 181.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/1.43, allocations: 1.262 MB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.578e-06/1.431, allocations: 5.5 kB / 1.264 GB, free: 181.2 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007481/1.438, allocations: 2.049 MB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.35e-05/1.438, allocations: 14.09 kB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.612e-05/1.438, allocations: 8.859 kB / 1.266 GB, free: 181 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001836/1.44, allocations: 421.8 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001365/1.441, allocations: 288 kB / 1.266 GB, free: 180.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002146/1.443, allocations: 1.497 MB / 1.268 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003613/1.447, allocations: 432.1 kB / 1.268 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002085/1.447, allocations: 61.48 kB / 1.268 GB, free: 179.8 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.001118/1.448, allocations: 464.6 kB / 1.269 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006204/1.449, allocations: 248.5 kB / 1.269 GB, free: 179.5 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004318/1.453, allocations: 1.501 MB / 1.271 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.674e-05/1.453, allocations: 15.14 kB / 1.271 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.846e-06/1.453, allocations: 1.094 kB / 1.271 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.454, allocations: 4.969 kB / 1.271 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008711/1.462, allocations: 3.577 MB / 1.274 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/1.462, allocations: 3.219 kB / 1.274 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006294/1.463, allocations: 132 kB / 1.274 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00154/1.464, allocations: 414.7 kB / 1.275 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.847e-05/1.465, allocations: 33.39 kB / 1.275 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002383/1.467, allocations: 1.57 MB / 1.276 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.123e-06/1.467, allocations: 8.672 kB / 1.276 GB, free: 177.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00614/1.473, allocations: 1.935 MB / 1.278 GB, free: 176.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00155/1.475, allocations: 483.4 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003516/1.475, allocations: 29.09 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001805/1.477, allocations: 171.6 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001296/1.477, allocations: 54.06 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/1.477, allocations: 43.77 kB / 1.279 GB, free: 176.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003995/1.481, allocations: 1.746 MB / 1.28 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.01e-07/1.481, allocations: 0 / 1.28 GB, free: 175.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.004325/1.485, allocations: 0.6815 MB / 1.281 GB, free: 175.6 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001889/1.487, allocations: 0.6051 MB / 1.282 GB, free: 175.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004636/1.492, allocations: 1.349 MB / 1.283 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/1.492, allocations: 1 kB / 1.283 GB, free: 175 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/1.494, allocations: 0.6734 MB / 1.284 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006701/1.501, allocations: 1.256 MB / 1.285 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006587/1.508, allocations: 4.302 MB / 1.289 GB, free: 172 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000855/1.509, allocations: 1.48 MB / 1.291 GB, free: 170.9 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002143/1.511, allocations: 431.8 kB / 1.291 GB, free: 170.8 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004532/1.511, allocations: 178.7 kB / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.511, allocations: 0 / 1.291 GB, free: 170.7 MB / 0.9981 GB Notification: Performance of Templates: time 0.06182/1.573, allocations: 48.36 MB / 1.338 GB, free: 129.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches