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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001492/0.001492, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001706/0.001706, allocations: 195.8 kB / 16.53 MB, free: 6.391 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.487/1.487, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.977/2.977, allocations: 472.7 MB / 0.7452 GB, free: 4.605 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 66.67 kB / 0.912 GB, free: 33.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3494, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1261/0.4756, allocations: 132.2 MB / 1.197 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03125/0.5069, allocations: 23.22 MB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00493/0.5118, allocations: 123.2 kB / 1.22 GB, free: 14.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004449/0.5163, allocations: 1.494 MB / 1.222 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01112/0.5275, allocations: 4.1 MB / 1.226 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005621/0.5331, allocations: 2.154 MB / 1.228 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.5438, allocations: 6.498 MB / 1.234 GB, free: 24 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005939/0.5497, allocations: 2.363 MB / 1.236 GB, free: 13.6 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009147/0.5589, allocations: 2.738 MB / 1.239 GB, free: 10.86 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003833/0.5628, allocations: 1.878 MB / 1.241 GB, free: 8.973 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0009054/0.5637, allocations: 248 kB / 1.241 GB, free: 8.73 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005948/0.5697, allocations: 1.93 MB / 1.243 GB, free: 6.797 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009743/0.5706, allocations: 0.5993 MB / 1.244 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003058/0.5737, allocations: 1.458 MB / 1.245 GB, free: 4.73 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007099/0.5808, allocations: 4.304 MB / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.5809, allocations: 0 / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.903e-06/0.5809, allocations: 0 / 1.249 GB, free: 424 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 7.012e-05/0.581, allocations: 0 / 1.249 GB, free: 424 kB / 0.9981 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.6155/1.196, allocations: 3.152 MB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 6.792e-05/1.197, allocations: 9.438 kB / 1.252 GB, free: 180.8 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006032/1.203, allocations: 0.8434 MB / 1.253 GB, free: 180.6 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005945/1.209, allocations: 2.208 MB / 1.255 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001072/1.21, allocations: 296.3 kB / 1.256 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004766/1.21, allocations: 164.9 kB / 1.256 GB, free: 180 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004345/1.215, allocations: 1.93 MB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/1.215, allocations: 14.2 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001396/1.215, allocations: 64.5 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.665e-05/1.215, allocations: 40.47 kB / 1.258 GB, free: 179.8 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004585/1.219, allocations: 1.805 MB / 1.259 GB, free: 179.4 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.01325/1.233, allocations: 9.067 MB / 1.268 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004396/1.237, allocations: 1.19 MB / 1.27 GB, free: 172.8 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001143/1.238, allocations: 458.6 kB / 1.27 GB, free: 172.6 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008698/1.239, allocations: 1.725 MB / 1.272 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.545e-05/1.239, allocations: 42.02 kB / 1.272 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/1.239, allocations: 3.719 kB / 1.272 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009711/1.249, allocations: 2.322 MB / 1.274 GB, free: 169.8 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/1.249, allocations: 89.06 kB / 1.274 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006983/1.256, allocations: 2.508 MB / 1.276 GB, free: 168.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0002633/1.256, allocations: 44.92 kB / 1.277 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001325/1.258, allocations: 1.035 MB / 1.278 GB, free: 167.9 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004036/1.258, allocations: 273.9 kB / 1.278 GB, free: 167.7 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007488/1.259, allocations: 252.3 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001083/1.259, allocations: 357.2 kB / 1.278 GB, free: 167.3 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001926/1.261, allocations: 0.5835 MB / 1.279 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/1.263, allocations: 0.9663 MB / 1.28 GB, free: 166.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/1.266, allocations: 1.27 MB / 1.281 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.375e-05/1.266, allocations: 2.469 kB / 1.281 GB, free: 165.8 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007681/1.274, allocations: 2.043 MB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.274, allocations: 8.922 kB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.762e-05/1.274, allocations: 12.12 kB / 1.283 GB, free: 165.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001951/1.276, allocations: 422.3 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.278, allocations: 292.5 kB / 1.284 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002131/1.28, allocations: 1.5 MB / 1.285 GB, free: 163.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003921/1.284, allocations: 392.8 kB / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003626/1.284, allocations: 62.89 kB / 1.286 GB, free: 163.6 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.001599/1.286, allocations: 466.7 kB / 1.286 GB, free: 163.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001201/1.287, allocations: 248.1 kB / 1.286 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004769/1.292, allocations: 1.491 MB / 1.288 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.124e-05/1.292, allocations: 13.83 kB / 1.288 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.707e-05/1.292, allocations: 0 / 1.288 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.537e-05/1.292, allocations: 9.203 kB / 1.288 GB, free: 162.6 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00958/1.301, allocations: 3.607 MB / 1.291 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.158e-05/1.301, allocations: 3.312 kB / 1.291 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000627/1.302, allocations: 127.6 kB / 1.292 GB, free: 160.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001546/1.304, allocations: 415.6 kB / 1.292 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.923e-05/1.304, allocations: 25.58 kB / 1.292 GB, free: 159.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002481/1.306, allocations: 1.569 MB / 1.293 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.233e-06/1.306, allocations: 11.3 kB / 1.293 GB, free: 158.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006525/1.313, allocations: 1.926 MB / 1.295 GB, free: 157.3 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001475/1.314, allocations: 487.9 kB / 1.296 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008657/1.315, allocations: 21.12 kB / 1.296 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002273/1.317, allocations: 147.8 kB / 1.296 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/1.318, allocations: 58.28 kB / 1.296 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.318, allocations: 46.8 kB / 1.296 GB, free: 156.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00378/1.321, allocations: 1.764 MB / 1.298 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.91e-07/1.321, allocations: 0 / 1.298 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002957/1.324, allocations: 0.6873 MB / 1.298 GB, free: 155.7 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.001413/1.326, allocations: 0.6044 MB / 1.299 GB, free: 155.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004754/1.331, allocations: 1.401 MB / 1.3 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.041e-05/1.331, allocations: 5.594 kB / 1.3 GB, free: 154.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/1.333, allocations: 0.665 MB / 1.301 GB, free: 154.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007485/1.341, allocations: 1.341 MB / 1.302 GB, free: 153.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006136/1.347, allocations: 3.581 MB / 1.306 GB, free: 151.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009225/1.348, allocations: 1.491 MB / 1.307 GB, free: 150.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002115/1.35, allocations: 434.3 kB / 1.308 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004524/1.35, allocations: 172.4 kB / 1.308 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of SimCode: time 7.61e-07/1.35, allocations: 0 / 1.308 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of Templates: time 0.06829/1.419, allocations: 50.88 MB / 1.358 GB, free: 101.8 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