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.00108/0.00108, allocations: 108 kB / 15.61 MB, free: 148 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.001122/0.001122, allocations: 193.7 kB / 16.53 MB, free: 6.664 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.373/1.373, allocations: 222.9 MB / 240.2 MB, free: 4.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 472.7 MB / 0.7452 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 62.25 kB / 0.9121 GB, free: 33.33 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3382, allocations: 159.9 MB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1298/0.468, allocations: 132.3 MB / 1.197 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03487/0.5029, allocations: 23.23 MB / 1.22 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004826/0.5078, allocations: 123.2 kB / 1.22 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00479/0.5126, allocations: 1.494 MB / 1.222 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.5247, allocations: 4.108 MB / 1.226 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.005941/0.5306, allocations: 2.143 MB / 1.228 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01013/0.5408, allocations: 6.535 MB / 1.234 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003879/0.5447, allocations: 2.355 MB / 1.236 GB, free: 13.54 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007129/0.5518, allocations: 2.742 MB / 1.239 GB, free: 10.79 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00338/0.5552, allocations: 1.89 MB / 1.241 GB, free: 8.895 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0005651/0.5558, allocations: 255.9 kB / 1.241 GB, free: 8.645 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00492/0.5607, allocations: 1.926 MB / 1.243 GB, free: 6.715 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007494/0.5615, allocations: 0.5954 MB / 1.244 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.002329/0.5638, allocations: 1.462 MB / 1.245 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.006499/0.5704, allocations: 4.312 MB / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.5704, allocations: 0 / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5704, allocations: 0 / 1.249 GB, free: 332 kB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.828e-05/0.5705, allocations: 0 / 1.249 GB, free: 332 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.5819/1.152, allocations: 3.182 MB / 1.252 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/1.152, allocations: 10.44 kB / 1.252 GB, free: 180.7 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005184/1.158, allocations: 0.8465 MB / 1.253 GB, free: 180.5 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004619/1.162, allocations: 2.198 MB / 1.255 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009857/1.163, allocations: 293.9 kB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002699/1.164, allocations: 160 kB / 1.256 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004303/1.168, allocations: 1.937 MB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/1.168, allocations: 11 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/1.168, allocations: 61.59 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.841e-05/1.168, allocations: 37.03 kB / 1.258 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004675/1.173, allocations: 1.826 MB / 1.26 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.01381/1.187, allocations: 9.081 MB / 1.268 GB, free: 173.1 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004432/1.191, allocations: 1.206 MB / 1.27 GB, free: 172.7 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/1.192, allocations: 460.1 kB / 1.27 GB, free: 172.5 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000931/1.193, allocations: 1.723 MB / 1.272 GB, free: 170.6 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.692e-05/1.193, allocations: 46.66 kB / 1.272 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=76): time 2.735e-06/1.193, allocations: 0 / 1.272 GB, free: 170.5 MB / 0.9981 GB Notification: Performance of matching and sorting (n=76): time 0.009632/1.203, allocations: 2.336 MB / 1.274 GB, free: 169.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.277e-05/1.203, allocations: 85.75 kB / 1.274 GB, free: 169.6 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006124/1.209, allocations: 2.545 MB / 1.277 GB, free: 168.7 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003264/1.209, allocations: 44.98 kB / 1.277 GB, free: 168.6 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009867/1.21, allocations: 1.039 MB / 1.278 GB, free: 167.8 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004131/1.211, allocations: 275.9 kB / 1.278 GB, free: 167.6 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005215/1.211, allocations: 252.1 kB / 1.278 GB, free: 167.5 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001326/1.211, allocations: 356.3 kB / 1.279 GB, free: 167.1 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001915/1.213, allocations: 0.5838 MB / 1.279 GB, free: 167 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0021/1.216, allocations: 0.9675 MB / 1.28 GB, free: 166.4 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003091/1.219, allocations: 1.258 MB / 1.281 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.436e-06/1.219, allocations: 6.438 kB / 1.281 GB, free: 165.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.007391/1.226, allocations: 2.046 MB / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.895e-05/1.226, allocations: 7.438 kB / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/1.226, allocations: 12.36 kB / 1.283 GB, free: 165 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001958/1.228, allocations: 490.8 kB / 1.284 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00134/1.229, allocations: 291.3 kB / 1.284 GB, free: 164.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001996/1.231, allocations: 1.531 MB / 1.286 GB, free: 163.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003153/1.235, allocations: 398.8 kB / 1.286 GB, free: 163.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001618/1.235, allocations: 60.92 kB / 1.286 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.0008719/1.236, allocations: 461.6 kB / 1.286 GB, free: 163.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005374/1.236, allocations: 256.2 kB / 1.287 GB, free: 163.1 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003535/1.24, allocations: 1.501 MB / 1.288 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.07e-05/1.24, allocations: 12.83 kB / 1.288 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/1.24, allocations: 1.094 kB / 1.288 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/1.24, allocations: 5.484 kB / 1.288 GB, free: 162.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007425/1.247, allocations: 3.621 MB / 1.292 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/1.247, allocations: 3.281 kB / 1.292 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006306/1.248, allocations: 128.3 kB / 1.292 GB, free: 159.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001717/1.25, allocations: 492.3 kB / 1.292 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.614e-05/1.25, allocations: 25.89 kB / 1.292 GB, free: 159.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002406/1.252, allocations: 1.583 MB / 1.294 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.66e-06/1.252, allocations: 7.812 kB / 1.294 GB, free: 158.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0082/1.26, allocations: 1.932 MB / 1.296 GB, free: 157.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002653/1.263, allocations: 489.1 kB / 1.296 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001076/1.264, allocations: 26.83 kB / 1.296 GB, free: 156.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001946/1.266, allocations: 143.6 kB / 1.296 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.946e-05/1.266, allocations: 62.52 kB / 1.296 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.449e-05/1.266, allocations: 45.62 kB / 1.297 GB, free: 156.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00341/1.27, allocations: 1.791 MB / 1.298 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 2.21e-07/1.27, allocations: 1.062 kB / 1.298 GB, free: 155.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002577/1.272, allocations: 0.6832 MB / 1.299 GB, free: 155.5 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.001288/1.274, allocations: 0.6226 MB / 1.3 GB, free: 155.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004825/1.279, allocations: 1.397 MB / 1.301 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.279, allocations: 1.5 kB / 1.301 GB, free: 154.6 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.002394/1.281, allocations: 0.6674 MB / 1.302 GB, free: 154.3 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007659/1.289, allocations: 1.335 MB / 1.303 GB, free: 153.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006374/1.295, allocations: 3.61 MB / 1.306 GB, free: 151.5 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007345/1.296, allocations: 1.492 MB / 1.308 GB, free: 150.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.003086/1.299, allocations: 441.2 kB / 1.308 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006181/1.3, allocations: 169.4 kB / 1.308 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.122e-06/1.3, allocations: 0 / 1.308 GB, free: 150.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.07929/1.379, allocations: 51.2 MB / 1.358 GB, free: 101 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