Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.001366/0.001366, allocations: 105.7 kB / 16.35 MB, free: 5.824 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.001454/0.001454, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.422/1.422, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.286/2.286, allocations: 390.3 MB / 0.6655 GB, free: 0.582 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001464/0.001464, allocations: 66.98 kB / 0.814 GB, free: 32.66 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3184, allocations: 140.4 MB / 0.9511 GB, free: 8.043 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1352/0.4537, allocations: 132.3 MB / 1.08 GB, free: 3.348 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.624/1.078, allocations: 23.21 MB / 1.103 GB, free: 45.18 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005511/1.083, allocations: 123.8 kB / 1.103 GB, free: 45.18 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005404/1.089, allocations: 1.495 MB / 1.105 GB, free: 45.16 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01483/1.104, allocations: 4.098 MB / 1.109 GB, free: 45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007067/1.111, allocations: 2.176 MB / 1.111 GB, free: 44.95 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0132/1.124, allocations: 6.542 MB / 1.117 GB, free: 44.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006929/1.131, allocations: 2.362 MB / 1.119 GB, free: 44.61 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01011/1.141, allocations: 2.762 MB / 1.122 GB, free: 44.03 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005884/1.147, allocations: 1.886 MB / 1.124 GB, free: 43.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001539/1.149, allocations: 247.7 kB / 1.124 GB, free: 43.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007733/1.156, allocations: 1.941 MB / 1.126 GB, free: 42.89 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001912/1.158, allocations: 0.5955 MB / 1.127 GB, free: 42.5 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004805/1.163, allocations: 1.465 MB / 1.128 GB, free: 41.59 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0118/1.175, allocations: 4.347 MB / 1.132 GB, free: 40.11 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 1.189e-05/1.175, allocations: 1.062 kB / 1.132 GB, free: 40.11 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.725e-06/1.175, allocations: 0 / 1.132 GB, free: 40.11 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001909/1.175, allocations: 0 / 1.132 GB, free: 40.11 MB / 0.8575 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.01269/1.188, allocations: 3.188 MB / 1.135 GB, free: 38.1 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.327e-05/1.188, allocations: 9.844 kB / 1.135 GB, free: 38.1 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005172/1.193, allocations: 0.8427 MB / 1.136 GB, free: 37.92 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005891/1.199, allocations: 2.315 MB / 1.138 GB, free: 36.67 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/1.199, allocations: 124.5 kB / 1.139 GB, free: 36.61 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003446/1.2, allocations: 161.2 kB / 1.139 GB, free: 36.56 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004123/1.204, allocations: 1.926 MB / 1.141 GB, free: 35.73 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/1.204, allocations: 5.094 kB / 1.141 GB, free: 35.73 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001407/1.204, allocations: 65.66 kB / 1.141 GB, free: 35.68 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.389e-05/1.204, allocations: 38.03 kB / 1.141 GB, free: 35.68 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004519/1.209, allocations: 1.804 MB / 1.142 GB, free: 35.07 MB / 0.8575 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.01353/1.222, allocations: 8.988 MB / 1.151 GB, free: 28.78 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004048/1.226, allocations: 1.195 MB / 1.152 GB, free: 28.34 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001024/1.227, allocations: 466 kB / 1.153 GB, free: 28.11 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008652/1.228, allocations: 1.727 MB / 1.155 GB, free: 26.08 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.234e-05/1.228, allocations: 41.97 kB / 1.155 GB, free: 26.04 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 3.206e-06/1.228, allocations: 1.5 kB / 1.155 GB, free: 26.04 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.008227/1.236, allocations: 2.341 MB / 1.157 GB, free: 24.76 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.53e-05/1.236, allocations: 93.36 kB / 1.157 GB, free: 24.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00407/1.241, allocations: 2.519 MB / 1.159 GB, free: 23.33 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002261/1.241, allocations: 43.55 kB / 1.159 GB, free: 23.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006596/1.241, allocations: 1.051 MB / 1.161 GB, free: 22.36 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002908/1.242, allocations: 268.4 kB / 1.161 GB, free: 22.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004298/1.242, allocations: 251.6 kB / 1.161 GB, free: 21.99 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.05e-05/1.242, allocations: 352.1 kB / 1.161 GB, free: 21.65 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.244, allocations: 0.5656 MB / 1.162 GB, free: 21.38 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/1.246, allocations: 0.963 MB / 1.163 GB, free: 20.63 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002567/1.248, allocations: 1.242 MB / 1.164 GB, free: 19.83 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.077e-06/1.248, allocations: 2.438 kB / 1.164 GB, free: 19.83 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006324/1.255, allocations: 2.026 MB / 1.166 GB, free: 18.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.475e-05/1.255, allocations: 10.06 kB / 1.166 GB, free: 18.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/1.255, allocations: 6.812 kB / 1.166 GB, free: 18.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001896/1.257, allocations: 490.3 kB / 1.167 GB, free: 18.57 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/1.258, allocations: 282.3 kB / 1.167 GB, free: 18.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/1.26, allocations: 1.52 MB / 1.168 GB, free: 17.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003266/1.263, allocations: 369 kB / 1.169 GB, free: 16.99 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002064/1.263, allocations: 57.81 kB / 1.169 GB, free: 16.97 MB / 0.8575 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.0009032/1.264, allocations: 467.4 kB / 1.169 GB, free: 16.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006077/1.265, allocations: 251.6 kB / 1.169 GB, free: 16.51 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003268/1.268, allocations: 1.493 MB / 1.171 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.398e-05/1.268, allocations: 8.25 kB / 1.171 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.268, allocations: 4 kB / 1.171 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/1.268, allocations: 3.984 kB / 1.171 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007378/1.275, allocations: 3.618 MB / 1.174 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/1.275, allocations: 4.5 kB / 1.174 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005864/1.276, allocations: 137.2 kB / 1.174 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001526/1.278, allocations: 0.491 MB / 1.175 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-05/1.278, allocations: 27.08 kB / 1.175 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002151/1.28, allocations: 1.582 MB / 1.177 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/1.28, allocations: 2.469 kB / 1.177 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005666/1.285, allocations: 1.935 MB / 1.178 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001399/1.287, allocations: 495 kB / 1.179 GB, free: 10 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004474/1.287, allocations: 21.8 kB / 1.179 GB, free: 9.984 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/1.289, allocations: 134.5 kB / 1.179 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.348e-05/1.289, allocations: 65.72 kB / 1.179 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.795e-05/1.289, allocations: 43.44 kB / 1.179 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002655/1.292, allocations: 1.768 MB / 1.181 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2e-07/1.292, allocations: 0 / 1.181 GB, free: 8.934 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002369/1.294, allocations: 0.6958 MB / 1.182 GB, free: 8.781 MB / 0.8575 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.001165/1.295, allocations: 0.6148 MB / 1.182 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003768/1.299, allocations: 1.35 MB / 1.183 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.044e-06/1.299, allocations: 2.469 kB / 1.183 GB, free: 7.891 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002105/1.301, allocations: 0.6763 MB / 1.184 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006181/1.308, allocations: 1.327 MB / 1.185 GB, free: 6.711 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005278/1.313, allocations: 3.554 MB / 1.189 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000726/1.314, allocations: 1.482 MB / 1.19 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001748/1.315, allocations: 434.4 kB / 1.191 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003674/1.316, allocations: 171.4 kB / 1.191 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of SimCode: time 6.82e-07/1.316, allocations: 4 kB / 1.191 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of Templates: time 0.07977/1.396, allocations: 48.38 MB / 1.238 GB, free: 1.473 MB / 0.9044 GB make -j1 -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.makefile (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & ./Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches