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.001786/0.001786, allocations: 106.5 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.002041/0.002041, 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 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.287/2.287, allocations: 390.3 MB / 0.6655 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001307/0.001307, allocations: 63.91 kB / 0.814 GB, free: 32.7 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2971, allocations: 140.4 MB / 0.9511 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1214/0.4185, allocations: 132.3 MB / 1.08 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.73/1.149, allocations: 23.2 MB / 1.103 GB, free: 45.27 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006414/1.155, allocations: 123.6 kB / 1.103 GB, free: 45.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.005715/1.161, allocations: 1.497 MB / 1.105 GB, free: 45.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.01635/1.177, allocations: 4.101 MB / 1.109 GB, free: 45.09 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.007767/1.185, allocations: 2.173 MB / 1.111 GB, free: 45.04 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.01536/1.2, allocations: 6.542 MB / 1.117 GB, free: 45.03 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006553/1.207, allocations: 2.362 MB / 1.119 GB, free: 44.7 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009679/1.217, allocations: 2.764 MB / 1.122 GB, free: 44.12 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005683/1.222, allocations: 1.889 MB / 1.124 GB, free: 43.55 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.001492/1.224, allocations: 248.2 kB / 1.124 GB, free: 43.55 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00834/1.232, allocations: 1.935 MB / 1.126 GB, free: 42.95 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.001604/1.234, allocations: 0.5999 MB / 1.127 GB, free: 42.56 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004855/1.239, allocations: 1.463 MB / 1.128 GB, free: 41.66 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01099/1.25, allocations: 4.344 MB / 1.132 GB, free: 40.17 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 9.197e-06/1.25, allocations: 4 kB / 1.132 GB, free: 40.17 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.954e-06/1.25, allocations: 0 / 1.132 GB, free: 40.17 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.741e-05/1.25, allocations: 5.062 kB / 1.132 GB, free: 40.16 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.007859/1.258, allocations: 3.186 MB / 1.135 GB, free: 38.16 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.75e-05/1.258, allocations: 8.531 kB / 1.135 GB, free: 38.16 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004765/1.263, allocations: 0.8429 MB / 1.136 GB, free: 37.98 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005452/1.268, allocations: 2.312 MB / 1.138 GB, free: 36.73 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/1.268, allocations: 123.5 kB / 1.139 GB, free: 36.67 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003462/1.269, allocations: 161.6 kB / 1.139 GB, free: 36.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004323/1.273, allocations: 1.923 MB / 1.141 GB, free: 35.8 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.959e-05/1.273, allocations: 10.55 kB / 1.141 GB, free: 35.79 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002043/1.273, allocations: 65.97 kB / 1.141 GB, free: 35.74 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-05/1.273, allocations: 37.03 kB / 1.141 GB, free: 35.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004939/1.278, allocations: 1.801 MB / 1.142 GB, free: 35.13 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.01455/1.293, allocations: 8.992 MB / 1.151 GB, free: 28.84 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004145/1.297, allocations: 1.195 MB / 1.152 GB, free: 28.35 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001066/1.298, allocations: 462.8 kB / 1.153 GB, free: 28.12 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/1.299, allocations: 1.721 MB / 1.155 GB, free: 26.1 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/1.299, allocations: 42.97 kB / 1.155 GB, free: 26.05 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=76): time 3.035e-06/1.299, allocations: 0 / 1.155 GB, free: 26.05 MB / 0.8575 GB Notification: Performance of matching and sorting (n=76): time 0.008678/1.308, allocations: 2.344 MB / 1.157 GB, free: 24.78 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.283e-05/1.308, allocations: 92.42 kB / 1.157 GB, free: 24.68 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005038/1.313, allocations: 2.527 MB / 1.159 GB, free: 23.34 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0003016/1.313, allocations: 49.66 kB / 1.159 GB, free: 23.29 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008897/1.314, allocations: 1.035 MB / 1.16 GB, free: 22.38 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003604/1.315, allocations: 273.8 kB / 1.161 GB, free: 22.15 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004533/1.315, allocations: 253 kB / 1.161 GB, free: 22 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 8.013e-05/1.315, allocations: 348.7 kB / 1.161 GB, free: 21.66 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001557/1.317, allocations: 0.5721 MB / 1.162 GB, free: 21.39 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/1.319, allocations: 0.9541 MB / 1.163 GB, free: 20.65 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/1.322, allocations: 1.248 MB / 1.164 GB, free: 19.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.876e-06/1.322, allocations: 3.031 kB / 1.164 GB, free: 19.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006519/1.328, allocations: 2.029 MB / 1.166 GB, free: 18.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.328, allocations: 13.22 kB / 1.166 GB, free: 18.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.328, allocations: 8.219 kB / 1.166 GB, free: 18.82 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001839/1.33, allocations: 483.5 kB / 1.167 GB, free: 18.58 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001236/1.331, allocations: 286.8 kB / 1.167 GB, free: 18.49 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001854/1.333, allocations: 1.517 MB / 1.168 GB, free: 17.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/1.337, allocations: 364.1 kB / 1.169 GB, free: 17 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003717/1.337, allocations: 70.52 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.00159/1.339, allocations: 464.2 kB / 1.169 GB, free: 16.64 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001271/1.34, allocations: 247.9 kB / 1.169 GB, free: 16.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/1.345, allocations: 1.496 MB / 1.171 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-05/1.345, allocations: 14.41 kB / 1.171 GB, free: 15.68 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.405e-05/1.345, allocations: 3.984 kB / 1.171 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/1.345, allocations: 3.984 kB / 1.171 GB, free: 15.67 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008713/1.353, allocations: 3.621 MB / 1.174 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/1.353, allocations: 0 / 1.174 GB, free: 13.2 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005819/1.354, allocations: 126.6 kB / 1.174 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00155/1.356, allocations: 492.5 kB / 1.175 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.035e-05/1.356, allocations: 27.17 kB / 1.175 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00218/1.358, allocations: 1.595 MB / 1.177 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/1.358, allocations: 3.156 kB / 1.177 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005761/1.364, allocations: 1.935 MB / 1.178 GB, free: 10.42 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001737/1.365, allocations: 488.6 kB / 1.179 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000404/1.366, allocations: 28.17 kB / 1.179 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001606/1.367, allocations: 138.3 kB / 1.179 GB, free: 9.93 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/1.368, allocations: 62.78 kB / 1.179 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.245e-05/1.368, allocations: 36.5 kB / 1.179 GB, free: 9.887 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.002736/1.37, allocations: 1.778 MB / 1.181 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.2e-07/1.37, allocations: 0 / 1.181 GB, free: 8.938 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002585/1.373, allocations: 0.6924 MB / 1.182 GB, free: 8.789 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.001307/1.374, allocations: 0.6091 MB / 1.182 GB, free: 8.5 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.003753/1.378, allocations: 1.35 MB / 1.183 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/1.378, allocations: 2 kB / 1.183 GB, free: 7.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002148/1.38, allocations: 0.6766 MB / 1.184 GB, free: 7.59 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006249/1.386, allocations: 1.329 MB / 1.185 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005581/1.392, allocations: 3.552 MB / 1.189 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007111/1.393, allocations: 1.486 MB / 1.19 GB, free: 1.605 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001991/1.395, allocations: 436.6 kB / 1.191 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004389/1.395, allocations: 167.4 kB / 1.191 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of SimCode: time 1.252e-06/1.395, allocations: 0 / 1.191 GB, free: 1.012 MB / 0.8575 GB Notification: Performance of Templates: time 0.08673/1.482, allocations: 48.39 MB / 1.238 GB, free: 1.496 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 cvode -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