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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001273/0.001273, allocations: 99.86 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.001471/0.001471, 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.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.788/2.788, allocations: 436.5 MB / 0.7104 GB, free: 7.879 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004115/0.0004116, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7506/0.7511, allocations: 153.6 MB / 1.021 GB, free: 1.113 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1099/0.861, allocations: 110.7 MB / 1.129 GB, free: 2.156 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02976/0.8908, allocations: 19.95 MB / 1.148 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006151/0.897, allocations: 107.2 kB / 1.148 GB, free: 14.07 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.006278/0.9034, allocations: 1.364 MB / 1.15 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0153/0.9187, allocations: 4.198 MB / 1.154 GB, free: 8.496 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.008223/0.9269, allocations: 2.584 MB / 1.156 GB, free: 5.965 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01062/0.9376, allocations: 3.915 MB / 1.16 GB, free: 2.039 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004615/0.9422, allocations: 1.715 MB / 1.162 GB, free: 296 kB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006465/0.9487, allocations: 2.012 MB / 1.164 GB, free: 14.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.9523, allocations: 1.26 MB / 1.165 GB, free: 13 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0009866/0.9534, allocations: 88 kB / 1.165 GB, free: 12.92 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005888/0.9593, allocations: 1.338 MB / 1.167 GB, free: 11.58 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0011/0.9604, allocations: 406.2 kB / 1.167 GB, free: 11.18 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001485/0.9619, allocations: 0.5589 MB / 1.167 GB, free: 10.61 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.006404/0.9683, allocations: 3.108 MB / 1.17 GB, free: 7.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.9684, allocations: 0 / 1.17 GB, free: 7.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 4.539e-06/0.9684, allocations: 0 / 1.17 GB, free: 7.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000158/0.9686, allocations: 3.938 kB / 1.17 GB, free: 7.496 MB / 0.92 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.007255/0.9758, allocations: 2.701 MB / 1.173 GB, free: 4.711 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.091e-05/0.9759, allocations: 11.98 kB / 1.173 GB, free: 4.699 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004794/0.9807, allocations: 0.9489 MB / 1.174 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004264/0.985, allocations: 2.079 MB / 1.176 GB, free: 1.594 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009804/0.986, allocations: 322.9 kB / 1.176 GB, free: 1.277 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003335/0.9863, allocations: 160 kB / 1.177 GB, free: 1.121 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004628/0.991, allocations: 1.969 MB / 1.178 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.991, allocations: 0 / 1.178 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001626/0.9912, allocations: 67.95 kB / 1.179 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.403e-05/0.9912, allocations: 36 kB / 1.179 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004904/0.9962, allocations: 1.901 MB / 1.18 GB, free: 13.08 MB / 0.9356 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.01451/1.011, allocations: 9.188 MB / 1.189 GB, free: 3.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004586/1.015, allocations: 1.335 MB / 1.191 GB, free: 1.938 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/1.017, allocations: 1.718 MB / 1.192 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.046e-05/1.017, allocations: 46.56 kB / 1.192 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=76): time 3.247e-06/1.017, allocations: 0 / 1.192 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of matching and sorting (n=76): time 0.009109/1.026, allocations: 2.491 MB / 1.195 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.392e-05/1.026, allocations: 85.11 kB / 1.195 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00571/1.032, allocations: 2.567 MB / 1.197 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002556/1.032, allocations: 41.7 kB / 1.197 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.001274/1.033, allocations: 1.061 MB / 1.199 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003971/1.034, allocations: 268.2 kB / 1.199 GB, free: 9.164 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001253/1.034, allocations: 24 kB / 1.199 GB, free: 9.141 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001419/1.034, allocations: 345.9 kB / 1.199 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001952/1.036, allocations: 0.6232 MB / 1.2 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00242/1.038, allocations: 0.9973 MB / 1.201 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/1.041, allocations: 0.6855 MB / 1.201 GB, free: 6.34 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.68e-05/1.041, allocations: 7.938 kB / 1.201 GB, free: 6.332 MB / 0.9512 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00617/1.047, allocations: 1.966 MB / 1.203 GB, free: 4.348 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.147e-05/1.047, allocations: 12.12 kB / 1.203 GB, free: 4.336 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.098e-05/1.047, allocations: 8 kB / 1.203 GB, free: 4.328 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/1.049, allocations: 0.4972 MB / 1.204 GB, free: 3.824 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/1.05, allocations: 311.5 kB / 1.204 GB, free: 3.52 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002375/1.053, allocations: 1.559 MB / 1.206 GB, free: 1.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003675/1.056, allocations: 477.9 kB / 1.206 GB, free: 1.441 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000249/1.057, allocations: 59.97 kB / 1.206 GB, free: 1.383 MB / 0.9512 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.001136/1.058, allocations: 457.5 kB / 1.207 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006644/1.058, allocations: 248.9 kB / 1.207 GB, free: 0.6797 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003877/1.062, allocations: 1.556 MB / 1.208 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.098e-05/1.062, allocations: 15.98 kB / 1.208 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/1.062, allocations: 0 / 1.208 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.314e-05/1.062, allocations: 3.984 kB / 1.208 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008716/1.071, allocations: 3.727 MB / 1.212 GB, free: 11.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.632e-05/1.071, allocations: 11.98 kB / 1.212 GB, free: 11.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006819/1.072, allocations: 136.2 kB / 1.212 GB, free: 11.1 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002287/1.074, allocations: 0.511 MB / 1.213 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001575/1.074, allocations: 23.98 kB / 1.213 GB, free: 10.56 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003089/1.077, allocations: 1.635 MB / 1.214 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/1.077, allocations: 11.89 kB / 1.214 GB, free: 8.863 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007193/1.085, allocations: 2.351 MB / 1.217 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001701/1.086, allocations: 0.521 MB / 1.217 GB, free: 5.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008026/1.087, allocations: 27.94 kB / 1.217 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002413/1.09, allocations: 199.7 kB / 1.217 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/1.09, allocations: 47.88 kB / 1.217 GB, free: 5.523 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001469/1.09, allocations: 51.94 kB / 1.217 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.004005/1.094, allocations: 1.809 MB / 1.219 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.2e-07/1.094, allocations: 0 / 1.219 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002958/1.097, allocations: 0.6906 MB / 1.22 GB, free: 2.969 MB / 0.9669 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.001394/1.098, allocations: 0.6238 MB / 1.22 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.00465/1.103, allocations: 1.432 MB / 1.222 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.103, allocations: 0 / 1.222 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002605/1.106, allocations: 0.7249 MB / 1.223 GB, free: 192 kB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007027/1.113, allocations: 1.245 MB / 1.224 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009788/1.123, allocations: 4.193 MB / 1.228 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/1.124, allocations: 1.536 MB / 1.229 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.00262/1.127, allocations: 444.1 kB / 1.23 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006192/1.128, allocations: 163.4 kB / 1.23 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of SimCode: time 7.01e-07/1.128, allocations: 0 / 1.23 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of Templates: time 0.605/1.733, allocations: 47.87 MB / 1.277 GB, free: 213.8 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","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches