Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.QEva_flow|heaPum.QCon_flow|heaPum.P|heaPum.dp1|heaPum.dp2|heaPum.COP_nominal|heaPum.COP",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.374/2.374, allocations: 393.5 MB / 408.4 MB, free: 10.96 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.001281/0.001281, allocations: 180 kB / 0.4902 GB, free: 2.211 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.566/1.566, allocations: 223.2 MB / 0.7992 GB, free: 14.73 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.001/0.001, allocations: 104.2 kB / 0.9396 GB, free: 1.883 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004407/0.0004407, allocations: 10.16 kB / 1.09 GB, free: 216.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3139, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.451, allocations: 431.4 MB / 1.651 GB, free: 14.79 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/1.451, allocations: 99.25 kB / 1.651 GB, free: 14.74 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.162/4.613, allocations: 0.878 GB / 2.529 GB, free: 227.5 MB / 1.167 GB Notification: Performance of FrontEnd: time 2.575e-06/4.613, allocations: 0 / 2.529 GB, free: 227.5 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0001593/4.614, allocations: 45.39 kB / 2.529 GB, free: 227.5 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.00491/4.619, allocations: 2.014 MB / 2.531 GB, free: 226.2 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.939e-05/4.619, allocations: 7.562 kB / 2.531 GB, free: 226.2 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008527/4.619, allocations: 239.8 kB / 2.531 GB, free: 226.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/4.623, allocations: 1.724 MB / 2.533 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/4.623, allocations: 76.45 kB / 2.533 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/4.623, allocations: 102 kB / 2.533 GB, free: 224.8 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002027/4.625, allocations: 1.097 MB / 2.534 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.292e-05/4.625, allocations: 7.719 kB / 2.534 GB, free: 224.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.15e-05/4.625, allocations: 47.75 kB / 2.534 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/4.625, allocations: 36.53 kB / 2.534 GB, free: 224 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001708/4.627, allocations: 0.9126 MB / 2.535 GB, free: 223.6 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.006425/4.634, allocations: 4.724 MB / 2.539 GB, free: 219.7 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/4.635, allocations: 0.6217 MB / 2.54 GB, free: 219.4 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005558/4.635, allocations: 0.8244 MB / 2.541 GB, free: 218.4 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/4.636, allocations: 38.94 kB / 2.541 GB, free: 218.4 MB / 1.167 GB Notification: Performance of pre-optimization done (n=59): time 3.467e-06/4.636, allocations: 0 / 2.541 GB, free: 218.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=59): time 0.007048/4.643, allocations: 1.841 MB / 2.543 GB, free: 217.6 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/4.643, allocations: 62.72 kB / 2.543 GB, free: 217.5 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/4.644, allocations: 1.111 MB / 2.544 GB, free: 216.9 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001326/4.645, allocations: 49.38 kB / 2.544 GB, free: 216.8 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000483/4.645, allocations: 0.6306 MB / 2.544 GB, free: 216.3 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.000207/4.645, allocations: 208 kB / 2.545 GB, free: 216.1 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.166e-05/4.645, allocations: 11.94 kB / 2.545 GB, free: 216.1 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.045e-05/4.645, allocations: 333.2 kB / 2.545 GB, free: 215.8 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000564/4.646, allocations: 274.6 kB / 2.545 GB, free: 215.7 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006971/4.647, allocations: 0.5052 MB / 2.546 GB, free: 215.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006635/4.647, allocations: 334.6 kB / 2.546 GB, free: 215.1 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/4.647, allocations: 0 / 2.546 GB, free: 215.1 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004481/4.652, allocations: 1.351 MB / 2.547 GB, free: 214.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003753/4.652, allocations: 1.426 MB / 2.549 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/4.652, allocations: 4 kB / 2.549 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/4.653, allocations: 138.8 kB / 2.549 GB, free: 212.4 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006036/4.654, allocations: 167.5 kB / 2.549 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000757/4.654, allocations: 0.7126 MB / 2.55 GB, free: 211.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00152/4.656, allocations: 161.2 kB / 2.55 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.771e-05/4.656, allocations: 31.98 kB / 2.55 GB, free: 211.3 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/4.656, allocations: 4.625 kB / 2.55 GB, free: 211.3 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004164/4.66, allocations: 1.196 MB / 2.551 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/4.66, allocations: 7.953 kB / 2.551 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004809/4.661, allocations: 146.1 kB / 2.551 GB, free: 210 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005713/4.661, allocations: 154.5 kB / 2.551 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006868/4.662, allocations: 0.7149 MB / 2.552 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/4.663, allocations: 144.1 kB / 2.552 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.223e-05/4.664, allocations: 35.98 kB / 2.552 GB, free: 209 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (72): * Single equations (assignments): 71 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.000882/4.664, allocations: 427.5 kB / 2.553 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000253/4.665, allocations: 130.4 kB / 2.553 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004412/4.669, allocations: 1.335 MB / 2.554 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.519e-05/4.669, allocations: 8 kB / 2.554 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/4.669, allocations: 0 / 2.554 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003909/4.673, allocations: 1.213 MB / 2.555 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006908/4.68, allocations: 2.659 MB / 2.558 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/4.68, allocations: 7.938 kB / 2.558 GB, free: 203.2 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000508/4.681, allocations: 119.9 kB / 2.558 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004751/4.681, allocations: 150.4 kB / 2.558 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.579e-05/4.681, allocations: 16 kB / 2.558 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004351/4.685, allocations: 2.558 MB / 2.561 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.408e-06/4.685, allocations: 3.797 kB / 2.561 GB, free: 200.3 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/4.691, allocations: 1.99 MB / 2.563 GB, free: 198.1 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/4.692, allocations: 331.1 kB / 2.563 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001558/4.692, allocations: 16 kB / 2.563 GB, free: 197.8 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000827/4.693, allocations: 84.83 kB / 2.563 GB, free: 197.7 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/4.693, allocations: 63.09 kB / 2.563 GB, free: 197.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.755e-05/4.693, allocations: 27.98 kB / 2.563 GB, free: 197.6 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001285/4.694, allocations: 0.8898 MB / 2.564 GB, free: 196.7 MB / 1.167 GB Notification: Performance of sort global known variables: time 3.41e-07/4.694, allocations: 0 / 2.564 GB, free: 196.7 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002341/4.697, allocations: 0.8032 MB / 2.565 GB, free: 195.9 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001409/4.698, allocations: 0.7905 MB / 2.565 GB, free: 195.3 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002385/4.7, allocations: 1.089 MB / 2.567 GB, free: 194.2 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/4.7, allocations: 0 / 2.567 GB, free: 194.2 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001353/4.702, allocations: 0.5917 MB / 2.567 GB, free: 193.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003458/4.705, allocations: 0.7541 MB / 2.568 GB, free: 192.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004192/4.709, allocations: 2.768 MB / 2.571 GB, free: 190 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005948/4.71, allocations: 1.198 MB / 2.572 GB, free: 188.8 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001452/4.711, allocations: 304.3 kB / 2.572 GB, free: 188.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002415/4.712, allocations: 107.4 kB / 2.572 GB, free: 188.4 MB / 1.167 GB Notification: Performance of SimCode: time 1.393e-06/4.712, allocations: 4 kB / 2.572 GB, free: 188.4 MB / 1.167 GB Notification: Performance of Templates: time 0.04892/4.761, allocations: 33.4 MB / 2.605 GB, free: 156.1 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaCar.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches