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 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.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.001142/0.001142, 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.001357/0.001357, allocations: 193 kB / 16.13 MB, free: 6.652 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.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.791/2.791, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 69.75 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 159.9 MB / 1.068 GB, free: 10.93 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1193/0.4576, allocations: 131.4 MB / 1.196 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03383/0.4915, allocations: 23.31 MB / 1.219 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005565/0.4971, allocations: 111.3 kB / 1.219 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004732/0.5019, allocations: 1.208 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01142/0.5134, allocations: 3.776 MB / 1.224 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005526/0.5189, allocations: 1.956 MB / 1.226 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01053/0.5295, allocations: 8.292 MB / 1.234 GB, free: 340 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003287/0.5328, allocations: 1.974 MB / 1.236 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005079/0.5379, allocations: 2.368 MB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003025/0.541, allocations: 1.874 MB / 1.24 GB, free: 10.04 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003667/0.5413, allocations: 123.9 kB / 1.24 GB, free: 9.914 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/0.5457, allocations: 1.73 MB / 1.242 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0005449/0.5462, allocations: 493.6 kB / 1.242 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001906/0.5481, allocations: 1.333 MB / 1.243 GB, free: 6.355 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008645/0.5568, allocations: 4.226 MB / 1.247 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.5569, allocations: 8 kB / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.136e-06/0.5569, allocations: 0 / 1.247 GB, free: 2.109 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000151/0.557, allocations: 0 / 1.247 GB, free: 2.109 MB / 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.6597/1.217, allocations: 3.171 MB / 1.251 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.536e-05/1.217, allocations: 10 kB / 1.251 GB, free: 180.4 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005166/1.222, allocations: 0.8441 MB / 1.251 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004887/1.227, allocations: 2.266 MB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009819/1.228, allocations: 287.2 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003267/1.228, allocations: 165.2 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004255/1.233, allocations: 1.943 MB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/1.233, allocations: 5 kB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/1.233, allocations: 65.03 kB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-05/1.233, allocations: 37.5 kB / 1.256 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004419/1.237, allocations: 1.828 MB / 1.258 GB, free: 179.3 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.01329/1.251, allocations: 9.033 MB / 1.267 GB, free: 173 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004342/1.255, allocations: 1.195 MB / 1.268 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001063/1.256, allocations: 457.5 kB / 1.268 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008164/1.257, allocations: 1.72 MB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.427e-05/1.257, allocations: 54.25 kB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 3.487e-06/1.257, allocations: 3.312 kB / 1.27 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.008737/1.266, allocations: 2.328 MB / 1.272 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/1.266, allocations: 84.56 kB / 1.272 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004785/1.27, allocations: 2.517 MB / 1.275 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.00018/1.271, allocations: 45.3 kB / 1.275 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008876/1.272, allocations: 1.055 MB / 1.276 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002913/1.272, allocations: 270.5 kB / 1.276 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006245/1.272, allocations: 255.9 kB / 1.276 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.171e-05/1.273, allocations: 356.3 kB / 1.277 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002134/1.275, allocations: 0.587 MB / 1.277 GB, free: 167 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002137/1.277, allocations: 0.9666 MB / 1.278 GB, free: 166.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003012/1.28, allocations: 1.258 MB / 1.279 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/1.28, allocations: 2.094 kB / 1.279 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00708/1.287, allocations: 2.053 MB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.287, allocations: 8.125 kB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.287, allocations: 10.14 kB / 1.281 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/1.289, allocations: 492.9 kB / 1.282 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001425/1.291, allocations: 286.8 kB / 1.282 GB, free: 164.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/1.293, allocations: 1.523 MB / 1.284 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003728/1.297, allocations: 437.6 kB / 1.284 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002096/1.297, allocations: 59.12 kB / 1.284 GB, free: 163.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.001175/1.298, allocations: 464.6 kB / 1.285 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008075/1.299, allocations: 248.7 kB / 1.285 GB, free: 163 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003726/1.302, allocations: 1.502 MB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.466e-05/1.303, allocations: 13.06 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/1.303, allocations: 6.375 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.177e-05/1.303, allocations: 11.27 kB / 1.286 GB, free: 162.5 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008082/1.311, allocations: 3.598 MB / 1.29 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.249e-05/1.311, allocations: 2.781 kB / 1.29 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006359/1.311, allocations: 133.5 kB / 1.29 GB, free: 160.2 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001808/1.313, allocations: 494 kB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-05/1.313, allocations: 26.39 kB / 1.29 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00241/1.316, allocations: 1.588 MB / 1.292 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.972e-06/1.316, allocations: 3.312 kB / 1.292 GB, free: 158.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00667/1.322, allocations: 1.937 MB / 1.294 GB, free: 157.4 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001567/1.324, allocations: 493 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004639/1.324, allocations: 24.16 kB / 1.294 GB, free: 157 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001957/1.326, allocations: 170.5 kB / 1.295 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/1.327, allocations: 57.12 kB / 1.295 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.991e-05/1.327, allocations: 47.05 kB / 1.295 GB, free: 156.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003204/1.33, allocations: 1.771 MB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.21e-07/1.33, allocations: 4 kB / 1.296 GB, free: 155.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002762/1.333, allocations: 0.681 MB / 1.297 GB, free: 155.8 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.00129/1.334, allocations: 0.5981 MB / 1.298 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004178/1.338, allocations: 1.357 MB / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.39e-06/1.338, allocations: 0 / 1.299 GB, free: 154.9 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.00233/1.34, allocations: 0.671 MB / 1.3 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006684/1.347, allocations: 1.266 MB / 1.301 GB, free: 154.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00663/1.354, allocations: 4.308 MB / 1.305 GB, free: 151.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007781/1.355, allocations: 1.487 MB / 1.307 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002377/1.357, allocations: 439.3 kB / 1.307 GB, free: 150 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004249/1.357, allocations: 165.6 kB / 1.307 GB, free: 150 MB / 0.9981 GB Notification: Performance of SimCode: time 1.403e-06/1.357, allocations: 0 / 1.307 GB, free: 150 MB / 0.9981 GB Notification: Performance of Templates: time 0.07137/1.429, allocations: 48.65 MB / 1.355 GB, free: 103.7 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