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.001161/0.001161, allocations: 99.16 kB / 15.05 MB, free: 1.105 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.00126/0.00126, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.581/1.581, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.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.492/2.492, allocations: 390.3 MB / 0.6653 GB, free: 2.867 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003493/0.0003492, allocations: 12 kB / 0.8145 GB, free: 14.2 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8061/0.8064, allocations: 142.3 MB / 0.9535 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1137/0.9202, allocations: 110.7 MB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.03081/0.951, allocations: 19.96 MB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004143/0.9552, allocations: 103.2 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.005018/0.9603, allocations: 1.364 MB / 1.083 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.01329/0.9736, allocations: 4.196 MB / 1.087 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.007747/0.9813, allocations: 2.568 MB / 1.089 GB, free: 5.008 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01003/0.9914, allocations: 3.922 MB / 1.093 GB, free: 1.082 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00387/0.9953, allocations: 1.719 MB / 1.095 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006154/1.001, allocations: 2.02 MB / 1.097 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00301/1.004, allocations: 1.256 MB / 1.098 GB, free: 12.04 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0006021/1.005, allocations: 92 kB / 1.098 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004358/1.009, allocations: 1.33 MB / 1.099 GB, free: 10.61 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0007708/1.01, allocations: 410.2 kB / 1.1 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.001119/1.011, allocations: 0.555 MB / 1.1 GB, free: 9.648 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.004497/1.016, allocations: 3.107 MB / 1.103 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/1.016, allocations: 0 / 1.103 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.533e-06/1.016, allocations: 0 / 1.103 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001218/1.016, allocations: 0 / 1.103 GB, free: 6.535 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.005885/1.022, allocations: 2.709 MB / 1.106 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/1.022, allocations: 8.031 kB / 1.106 GB, free: 3.734 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004676/1.027, allocations: 0.9489 MB / 1.107 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004565/1.031, allocations: 2.079 MB / 1.109 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001003/1.032, allocations: 322.9 kB / 1.109 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003592/1.033, allocations: 163.9 kB / 1.109 GB, free: 156 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004602/1.037, allocations: 1.965 MB / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/1.037, allocations: 0 / 1.111 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001843/1.038, allocations: 64 kB / 1.111 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/1.038, allocations: 39.94 kB / 1.111 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005139/1.043, allocations: 1.901 MB / 1.113 GB, free: 12.12 MB / 0.8731 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.01577/1.058, allocations: 9.18 MB / 1.122 GB, free: 2.336 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004641/1.063, allocations: 1.33 MB / 1.123 GB, free: 0.9883 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001464/1.065, allocations: 1.711 MB / 1.125 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/1.065, allocations: 50.45 kB / 1.125 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/1.065, allocations: 4 kB / 1.125 GB, free: 14.83 MB / 0.8887 GB Notification: Performance of matching and sorting (n=76): time 0.008934/1.074, allocations: 2.489 MB / 1.128 GB, free: 12.29 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.588e-05/1.074, allocations: 89.05 kB / 1.128 GB, free: 12.18 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00509/1.079, allocations: 2.571 MB / 1.13 GB, free: 9.59 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0002365/1.079, allocations: 41.7 kB / 1.13 GB, free: 9.543 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001198/1.08, allocations: 1.054 MB / 1.131 GB, free: 8.48 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004194/1.081, allocations: 272.2 kB / 1.131 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001213/1.081, allocations: 24 kB / 1.131 GB, free: 8.188 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001975/1.081, allocations: 349.9 kB / 1.132 GB, free: 7.84 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001943/1.083, allocations: 0.6232 MB / 1.132 GB, free: 7.215 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002146/1.085, allocations: 1.001 MB / 1.133 GB, free: 6.066 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002058/1.087, allocations: 0.6894 MB / 1.134 GB, free: 5.379 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.012e-05/1.087, allocations: 4 kB / 1.134 GB, free: 5.375 MB / 0.8887 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005921/1.093, allocations: 1.959 MB / 1.136 GB, free: 3.398 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 3.167e-05/1.093, allocations: 9.781 kB / 1.136 GB, free: 3.391 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.97e-05/1.093, allocations: 12 kB / 1.136 GB, free: 3.379 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001931/1.095, allocations: 0.4991 MB / 1.137 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/1.097, allocations: 307.5 kB / 1.137 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00238/1.099, allocations: 1.561 MB / 1.138 GB, free: 0.9609 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003195/1.102, allocations: 485.9 kB / 1.139 GB, free: 496 kB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001773/1.102, allocations: 59.97 kB / 1.139 GB, free: 436 kB / 0.8887 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.001073/1.103, allocations: 465.5 kB / 1.139 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000582/1.104, allocations: 252.9 kB / 1.14 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/1.108, allocations: 1.548 MB / 1.141 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.289e-05/1.108, allocations: 15.98 kB / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/1.108, allocations: 0 / 1.141 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/1.108, allocations: 11.92 kB / 1.141 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008234/1.116, allocations: 3.74 MB / 1.145 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-05/1.116, allocations: 4 kB / 1.145 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006241/1.117, allocations: 132.2 kB / 1.145 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00184/1.119, allocations: 0.5049 MB / 1.145 GB, free: 9.625 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.894e-05/1.119, allocations: 23.98 kB / 1.145 GB, free: 9.602 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003022/1.122, allocations: 1.645 MB / 1.147 GB, free: 7.906 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/1.122, allocations: 4 kB / 1.147 GB, free: 7.902 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007318/1.129, allocations: 2.347 MB / 1.149 GB, free: 5.371 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00163/1.131, allocations: 0.521 MB / 1.15 GB, free: 4.828 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007506/1.132, allocations: 23.98 kB / 1.15 GB, free: 4.805 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002403/1.134, allocations: 195.7 kB / 1.15 GB, free: 4.613 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/1.134, allocations: 55.83 kB / 1.15 GB, free: 4.559 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000123/1.134, allocations: 47.95 kB / 1.15 GB, free: 4.512 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.004022/1.138, allocations: 1.809 MB / 1.152 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of sort global known variables: time 3.11e-07/1.138, allocations: 0 / 1.152 GB, free: 2.699 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.00287/1.141, allocations: 0.6906 MB / 1.153 GB, free: 2.008 MB / 0.9044 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/1.143, allocations: 0.6249 MB / 1.153 GB, free: 1.383 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.004588/1.147, allocations: 1.432 MB / 1.155 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/1.147, allocations: 0 / 1.155 GB, free: 15.95 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.002465/1.15, allocations: 0.7295 MB / 1.155 GB, free: 15.22 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007219/1.157, allocations: 1.253 MB / 1.156 GB, free: 13.99 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0108/1.168, allocations: 4.189 MB / 1.161 GB, free: 9.73 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002078/1.17, allocations: 1.533 MB / 1.162 GB, free: 8.164 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 0.00282/1.173, allocations: 442.9 kB / 1.162 GB, free: 7.73 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007865/1.174, allocations: 163.4 kB / 1.163 GB, free: 7.57 MB / 0.92 GB Notification: Performance of SimCode: time 1.653e-06/1.174, allocations: 0 / 1.163 GB, free: 7.57 MB / 0.92 GB Notification: Performance of Templates: time 0.084/1.258, allocations: 47.87 MB / 1.209 GB, free: 8.305 MB / 0.9669 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 -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","../files/Buildings_9_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches