Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QEva_flow|chi.QCon_flow|chi.P|chi.dp1|chi.dp2|chi.COP_nominal|chi.COP|chi.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.337/2.337, allocations: 393.5 MB / 408.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 180 kB / 0.4902 GB, free: 2.102 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.648/1.648, allocations: 223.2 MB / 0.7992 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 92.33 kB / 0.9396 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003696/0.0003694, allocations: 7.75 kB / 1.09 GB, free: 216.6 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3025/0.3028, allocations: 143 MB / 1.229 GB, free: 106 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.202/1.504, allocations: 425.7 MB / 1.645 GB, free: 4.582 MB / 0.9636 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003189/1.505, allocations: 90.2 kB / 1.645 GB, free: 4.535 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.151/4.656, allocations: 0.8552 GB / 2.5 GB, free: 241.6 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.533e-06/4.656, allocations: 0 / 2.5 GB, free: 241.6 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001479/4.656, allocations: 37.16 kB / 2.5 GB, free: 241.6 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004555/4.66, allocations: 1.992 MB / 2.502 GB, free: 240.7 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/4.66, allocations: 11.69 kB / 2.502 GB, free: 240.7 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009423/4.661, allocations: 244.6 kB / 2.502 GB, free: 240.6 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003676/4.665, allocations: 1.722 MB / 2.504 GB, free: 240.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.709e-05/4.665, allocations: 74.22 kB / 2.504 GB, free: 240.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/4.665, allocations: 102.4 kB / 2.504 GB, free: 240.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002042/4.667, allocations: 1.101 MB / 2.505 GB, free: 239.8 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.85e-05/4.667, allocations: 0 / 2.505 GB, free: 239.8 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.744e-05/4.668, allocations: 42.44 kB / 2.505 GB, free: 239.8 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.96e-05/4.668, allocations: 45.14 kB / 2.505 GB, free: 239.8 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002026/4.67, allocations: 0.9033 MB / 2.506 GB, free: 239.5 MB / 1.167 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.007765/4.677, allocations: 4.744 MB / 2.511 GB, free: 235.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001273/4.679, allocations: 0.6216 MB / 2.512 GB, free: 235.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005778/4.679, allocations: 0.8292 MB / 2.512 GB, free: 234.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/4.679, allocations: 43.09 kB / 2.512 GB, free: 234.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 3.547e-06/4.679, allocations: 1.5 kB / 2.512 GB, free: 234.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.004914/4.684, allocations: 1.507 MB / 2.514 GB, free: 233.7 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/4.684, allocations: 59.22 kB / 2.514 GB, free: 233.6 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001588/4.686, allocations: 1.118 MB / 2.515 GB, free: 233 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/4.686, allocations: 37.45 kB / 2.515 GB, free: 232.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004555/4.687, allocations: 0.6217 MB / 2.516 GB, free: 232.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001941/4.687, allocations: 213.5 kB / 2.516 GB, free: 232.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/4.687, allocations: 15 kB / 2.516 GB, free: 232.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.537e-05/4.687, allocations: 335.8 kB / 2.516 GB, free: 231.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000587/4.687, allocations: 278.8 kB / 2.516 GB, free: 231.8 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000706/4.688, allocations: 0.4945 MB / 2.517 GB, free: 231.4 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006503/4.689, allocations: 340.1 kB / 2.517 GB, free: 231.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.596e-06/4.689, allocations: 0 / 2.517 GB, free: 231.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004598/4.693, allocations: 1.349 MB / 2.519 GB, free: 230.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.00033/4.694, allocations: 1.346 MB / 2.52 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.271e-05/4.694, allocations: 0 / 2.52 GB, free: 229.3 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007429/4.695, allocations: 165.8 kB / 2.52 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006489/4.695, allocations: 158.3 kB / 2.52 GB, free: 229.2 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008398/4.696, allocations: 0.7351 MB / 2.521 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/4.698, allocations: 167.2 kB / 2.521 GB, free: 228.5 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001075/4.698, allocations: 37.23 kB / 2.521 GB, free: 228.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/4.698, allocations: 3.688 kB / 2.521 GB, free: 228.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004297/4.702, allocations: 1.201 MB / 2.522 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.486e-06/4.702, allocations: 3.969 kB / 2.522 GB, free: 228 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006295/4.703, allocations: 175.1 kB / 2.523 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/4.704, allocations: 155.1 kB / 2.523 GB, free: 227.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007667/4.704, allocations: 0.7363 MB / 2.523 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/4.706, allocations: 140.2 kB / 2.524 GB, free: 227.2 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.51e-05/4.706, allocations: 43.36 kB / 2.524 GB, free: 227.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (71): * Single equations (assignments): 70 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of prepare postOptimizeDAE: time 0.0009077/4.707, allocations: 431.4 kB / 2.524 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002795/4.707, allocations: 133.7 kB / 2.524 GB, free: 226.8 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/4.709, allocations: 0.9291 MB / 2.525 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/4.709, allocations: 14.83 kB / 2.525 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/4.709, allocations: 1.125 kB / 2.525 GB, free: 226.3 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001421/4.711, allocations: 0.8235 MB / 2.526 GB, free: 225.8 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006451/4.717, allocations: 2.689 MB / 2.528 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.455e-06/4.717, allocations: 3.969 kB / 2.528 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005294/4.718, allocations: 120.4 kB / 2.529 GB, free: 224.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006072/4.718, allocations: 166.2 kB / 2.529 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.159e-05/4.718, allocations: 26.95 kB / 2.529 GB, free: 224 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006824/4.719, allocations: 0.7278 MB / 2.529 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/4.719, allocations: 3.906 kB / 2.529 GB, free: 223.4 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005447/4.725, allocations: 2.027 MB / 2.531 GB, free: 222.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009746/4.726, allocations: 328.3 kB / 2.532 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002015/4.726, allocations: 18.69 kB / 2.532 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008697/4.727, allocations: 87.52 kB / 2.532 GB, free: 221.8 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/4.727, allocations: 51.45 kB / 2.532 GB, free: 221.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/4.727, allocations: 37.84 kB / 2.532 GB, free: 221.7 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001437/4.728, allocations: 0.8904 MB / 2.533 GB, free: 221.2 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.3e-07/4.728, allocations: 0 / 2.533 GB, free: 221.2 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002637/4.731, allocations: 0.7845 MB / 2.534 GB, free: 221 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001567/4.733, allocations: 0.7429 MB / 2.534 GB, free: 220.7 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002592/4.735, allocations: 1.109 MB / 2.535 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/4.735, allocations: 3.938 kB / 2.535 GB, free: 220.3 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008142/4.736, allocations: 404.9 kB / 2.536 GB, free: 220.2 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003712/4.74, allocations: 0.7549 MB / 2.537 GB, free: 219.8 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/4.745, allocations: 2.75 MB / 2.539 GB, free: 218.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009532/4.746, allocations: 1.197 MB / 2.54 GB, free: 217.2 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001773/4.748, allocations: 306.3 kB / 2.541 GB, free: 217.1 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/4.748, allocations: 104.5 kB / 2.541 GB, free: 217.1 MB / 1.167 GB Notification: Performance of SimCode: time 2.144e-06/4.748, allocations: 3.281 kB / 2.541 GB, free: 217.1 MB / 1.167 GB Notification: Performance of Templates: time 0.05259/4.801, allocations: 32.77 MB / 2.573 GB, free: 188.6 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches