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.276/2.276, allocations: 390.3 MB / 402.8 MB, free: 6.684 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.0009654/0.0009654, allocations: 169 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.626/1.626, allocations: 221.3 MB / 0.7915 GB, free: 5.391 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.0009362/0.0009362, allocations: 84.02 kB / 0.9317 GB, free: 5.711 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.208e-05, allocations: 3.984 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3409/0.341, allocations: 143 MB / 1.219 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.386/1.727, allocations: 425.7 MB / 1.634 GB, free: 8.797 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002661/1.728, allocations: 87.95 kB / 1.635 GB, free: 8.711 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.447/5.174, allocations: 0.8525 GB / 2.487 GB, free: 97.03 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.174e-06/5.174, allocations: 0 / 2.487 GB, free: 97.03 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003087/5.175, allocations: 39.98 kB / 2.487 GB, free: 96.99 MB / 1.151 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.005377/5.18, allocations: 1.719 MB / 2.489 GB, free: 95.21 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.203e-05/5.18, allocations: 8.031 kB / 2.489 GB, free: 95.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00143/5.182, allocations: 234.7 kB / 2.489 GB, free: 94.97 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004535/5.186, allocations: 1.706 MB / 2.491 GB, free: 93.21 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.386e-05/5.186, allocations: 81.98 kB / 2.491 GB, free: 93.13 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001499/5.186, allocations: 99.95 kB / 2.491 GB, free: 93.03 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/5.188, allocations: 1.015 MB / 2.492 GB, free: 91.98 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.759e-05/5.188, allocations: 0 / 2.492 GB, free: 91.98 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.885e-05/5.188, allocations: 44 kB / 2.492 GB, free: 91.94 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.19e-05/5.188, allocations: 34 kB / 2.492 GB, free: 91.91 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001126/5.189, allocations: 0.7575 MB / 2.493 GB, free: 91.14 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.006124/5.196, allocations: 4.738 MB / 2.497 GB, free: 86.17 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008384/5.196, allocations: 0.5342 MB / 2.498 GB, free: 85.62 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003425/5.197, allocations: 280.5 kB / 2.498 GB, free: 85.35 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005604/5.197, allocations: 0.8316 MB / 2.499 GB, free: 84.33 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.523e-05/5.197, allocations: 39.12 kB / 2.499 GB, free: 84.29 MB / 1.151 GB Notification: Performance of pre-optimization done (n=60): time 3.517e-06/5.197, allocations: 0 / 2.499 GB, free: 84.29 MB / 1.151 GB Notification: Performance of matching and sorting (n=60): time 0.00131/5.199, allocations: 0.631 MB / 2.5 GB, free: 83.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.358e-05/5.199, allocations: 59.97 kB / 2.5 GB, free: 83.57 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/5.2, allocations: 1.096 MB / 2.501 GB, free: 82.46 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.606e-05/5.2, allocations: 45.7 kB / 2.501 GB, free: 82.41 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004438/5.201, allocations: 0.6298 MB / 2.501 GB, free: 81.78 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001542/5.201, allocations: 205 kB / 2.502 GB, free: 81.57 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/5.201, allocations: 16 kB / 2.502 GB, free: 81.56 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.248e-05/5.201, allocations: 329.9 kB / 2.502 GB, free: 81.23 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003138/5.201, allocations: 209.5 kB / 2.502 GB, free: 81.02 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004628/5.202, allocations: 441.3 kB / 2.502 GB, free: 80.5 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003703/5.202, allocations: 273.1 kB / 2.503 GB, free: 80.24 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/5.202, allocations: 0 / 2.503 GB, free: 80.24 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003682/5.206, allocations: 1.193 MB / 2.504 GB, free: 79.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002954/5.206, allocations: 1.338 MB / 2.505 GB, free: 77.62 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/5.206, allocations: 4 kB / 2.505 GB, free: 77.61 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005426/5.207, allocations: 140.6 kB / 2.505 GB, free: 77.47 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005697/5.207, allocations: 159.8 kB / 2.505 GB, free: 77.32 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004999/5.208, allocations: 0.6772 MB / 2.506 GB, free: 76.61 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/5.209, allocations: 167 kB / 2.506 GB, free: 76.45 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/5.209, allocations: 35.98 kB / 2.506 GB, free: 76.41 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.308e-06/5.209, allocations: 4 kB / 2.506 GB, free: 76.41 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003451/5.213, allocations: 1.048 MB / 2.507 GB, free: 75.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/5.213, allocations: 7.984 kB / 2.507 GB, free: 75.35 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004126/5.213, allocations: 133 kB / 2.507 GB, free: 75.21 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/5.214, allocations: 155.8 kB / 2.508 GB, free: 75.06 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004502/5.214, allocations: 0.6889 MB / 2.508 GB, free: 74.35 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001315/5.216, allocations: 143.2 kB / 2.508 GB, free: 74.21 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/5.216, allocations: 39.97 kB / 2.508 GB, free: 74.17 MB / 1.151 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 () * 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.000219/5.216, allocations: 144.8 kB / 2.509 GB, free: 74.02 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/5.216, allocations: 138.3 kB / 2.509 GB, free: 73.88 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/5.217, allocations: 0.7784 MB / 2.51 GB, free: 73.09 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.347e-05/5.218, allocations: 11.98 kB / 2.51 GB, free: 73.08 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/5.218, allocations: 0 / 2.51 GB, free: 73.08 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008079/5.218, allocations: 0.6666 MB / 2.51 GB, free: 72.38 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/5.224, allocations: 2.523 MB / 2.513 GB, free: 69.75 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/5.224, allocations: 8 kB / 2.513 GB, free: 69.74 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004562/5.224, allocations: 119.9 kB / 2.513 GB, free: 69.62 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/5.225, allocations: 128.7 kB / 2.513 GB, free: 69.5 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.224e-05/5.225, allocations: 19.98 kB / 2.513 GB, free: 69.48 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004215/5.225, allocations: 0.6772 MB / 2.514 GB, free: 68.77 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/5.225, allocations: 4 kB / 2.514 GB, free: 68.77 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003985/5.229, allocations: 1.793 MB / 2.515 GB, free: 66.79 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000719/5.23, allocations: 335 kB / 2.516 GB, free: 66.45 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/5.23, allocations: 19.98 kB / 2.516 GB, free: 66.43 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007991/5.231, allocations: 87.94 kB / 2.516 GB, free: 66.34 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001162/5.231, allocations: 48.31 kB / 2.516 GB, free: 66.29 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/5.231, allocations: 35.92 kB / 2.516 GB, free: 66.26 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001241/5.232, allocations: 0.8801 MB / 2.517 GB, free: 65.38 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.7e-07/5.232, allocations: 0 / 2.517 GB, free: 65.38 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002269/5.235, allocations: 0.7759 MB / 2.517 GB, free: 64.6 MB / 1.151 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 () * 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.00139/5.236, allocations: 0.7569 MB / 2.518 GB, free: 63.84 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001685/5.238, allocations: 0.9363 MB / 2.519 GB, free: 62.91 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/5.238, allocations: 0 / 2.519 GB, free: 62.91 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0005236/5.238, allocations: 331.8 kB / 2.519 GB, free: 62.59 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003437/5.242, allocations: 0.7645 MB / 2.52 GB, free: 61.84 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/5.245, allocations: 1.772 MB / 2.522 GB, free: 60 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007328/5.246, allocations: 1.206 MB / 2.523 GB, free: 58.76 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.00199/5.248, allocations: 389.4 kB / 2.523 GB, free: 58.38 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/5.248, allocations: 75.42 kB / 2.524 GB, free: 58.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.283e-06/5.248, allocations: 0 / 2.524 GB, free: 58.3 MB / 1.151 GB Notification: Performance of Templates: time 0.05624/5.305, allocations: 35.8 MB / 2.558 GB, free: 22.79 MB / 1.151 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