Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.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.HeatPumps.Validation.Carnot_y_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL,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|heaPum.etaPL",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.294/2.294, allocations: 393.5 MB / 408.4 MB, free: 11.07 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.00151/0.00151, allocations: 183.1 kB / 0.4902 GB, free: 2.27 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.554/1.554, allocations: 223.2 MB / 0.7992 GB, free: 14.71 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.0009192/0.0009189, allocations: 96.27 kB / 0.9396 GB, free: 1.914 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.000429, allocations: 12.09 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3147/0.3152, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.127/1.442, allocations: 431.4 MB / 1.651 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002801/1.442, allocations: 96.08 kB / 1.651 GB, free: 14.81 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.174/4.616, allocations: 0.8781 GB / 2.529 GB, free: 227.9 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.362e-06/4.616, allocations: 0 / 2.529 GB, free: 227.9 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.000162/4.616, allocations: 42.67 kB / 2.529 GB, free: 227.9 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.004812/4.621, allocations: 2.012 MB / 2.531 GB, free: 226.5 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/4.621, allocations: 11.12 kB / 2.531 GB, free: 226.5 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008283/4.622, allocations: 243.7 kB / 2.531 GB, free: 226.4 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00345/4.626, allocations: 1.717 MB / 2.533 GB, free: 225.2 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.586e-05/4.626, allocations: 75.53 kB / 2.533 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001459/4.626, allocations: 100.4 kB / 2.533 GB, free: 225.1 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/4.628, allocations: 1.103 MB / 2.534 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.087e-05/4.628, allocations: 7.938 kB / 2.534 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.214e-05/4.628, allocations: 41.75 kB / 2.534 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/4.628, allocations: 44.33 kB / 2.534 GB, free: 224.4 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002029/4.63, allocations: 0.9122 MB / 2.535 GB, free: 224 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.006217/4.636, allocations: 4.741 MB / 2.54 GB, free: 220.1 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001263/4.637, allocations: 0.6308 MB / 2.54 GB, free: 219.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005175/4.638, allocations: 0.8329 MB / 2.541 GB, free: 218.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.416e-05/4.638, allocations: 42.09 kB / 2.541 GB, free: 218.7 MB / 1.167 GB Notification: Performance of pre-optimization done (n=60): time 2.325e-06/4.638, allocations: 0 / 2.541 GB, free: 218.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=60): time 0.007536/4.646, allocations: 1.941 MB / 2.543 GB, free: 217.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.489e-05/4.646, allocations: 62.25 kB / 2.543 GB, free: 217.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001654/4.647, allocations: 1.111 MB / 2.544 GB, free: 217.2 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001229/4.647, allocations: 37.64 kB / 2.544 GB, free: 217.2 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004476/4.648, allocations: 0.6407 MB / 2.545 GB, free: 216.6 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001754/4.648, allocations: 205.1 kB / 2.545 GB, free: 216.4 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/4.648, allocations: 15.66 kB / 2.545 GB, free: 216.4 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/4.648, allocations: 325.5 kB / 2.545 GB, free: 216.1 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005886/4.649, allocations: 281.2 kB / 2.545 GB, free: 216 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006856/4.65, allocations: 0.5013 MB / 2.546 GB, free: 215.6 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006402/4.65, allocations: 337.7 kB / 2.546 GB, free: 215.4 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/4.65, allocations: 0 / 2.546 GB, free: 215.4 MB / 1.167 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004386/4.655, allocations: 1.35 MB / 2.548 GB, free: 214.1 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002857/4.655, allocations: 1.338 MB / 2.549 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/4.655, allocations: 6.25 kB / 2.549 GB, free: 212.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006578/4.656, allocations: 169.1 kB / 2.549 GB, free: 212.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005899/4.656, allocations: 154.1 kB / 2.549 GB, free: 212.3 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007572/4.657, allocations: 0.7381 MB / 2.55 GB, free: 211.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/4.658, allocations: 160.5 kB / 2.55 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/4.659, allocations: 35.98 kB / 2.55 GB, free: 211.4 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/4.659, allocations: 7.094 kB / 2.55 GB, free: 211.4 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004036/4.663, allocations: 1.197 MB / 2.551 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/4.663, allocations: 6.156 kB / 2.551 GB, free: 210.2 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/4.663, allocations: 165.1 kB / 2.551 GB, free: 210.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005541/4.664, allocations: 159.9 kB / 2.552 GB, free: 209.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006994/4.664, allocations: 0.7323 MB / 2.552 GB, free: 209.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00145/4.666, allocations: 144.8 kB / 2.552 GB, free: 209 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.868e-05/4.666, allocations: 43.97 kB / 2.553 GB, free: 209 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.0009082/4.667, allocations: 421.1 kB / 2.553 GB, free: 208.6 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002186/4.667, allocations: 134.4 kB / 2.553 GB, free: 208.4 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004213/4.671, allocations: 1.346 MB / 2.554 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.53e-05/4.671, allocations: 15.92 kB / 2.554 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.484e-06/4.671, allocations: 0 / 2.554 GB, free: 207.1 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003852/4.675, allocations: 1.221 MB / 2.556 GB, free: 205.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006797/4.682, allocations: 2.7 MB / 2.558 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.686e-06/4.682, allocations: 4 kB / 2.558 GB, free: 203.1 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004844/4.683, allocations: 122 kB / 2.558 GB, free: 203 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005532/4.683, allocations: 153.2 kB / 2.558 GB, free: 202.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.861e-05/4.683, allocations: 22.66 kB / 2.559 GB, free: 202.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006969/4.684, allocations: 0.7364 MB / 2.559 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/4.684, allocations: 4 kB / 2.559 GB, free: 202.1 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005026/4.689, allocations: 2.014 MB / 2.561 GB, free: 199.9 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008364/4.69, allocations: 335.1 kB / 2.562 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003787/4.69, allocations: 19.98 kB / 2.562 GB, free: 199.6 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001044/4.691, allocations: 78.34 kB / 2.562 GB, free: 199.5 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/4.691, allocations: 60.14 kB / 2.562 GB, free: 199.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.683e-05/4.691, allocations: 31.98 kB / 2.562 GB, free: 199.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.001367/4.693, allocations: 0.8898 MB / 2.563 GB, free: 198.5 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.4e-07/4.693, allocations: 2.562 kB / 2.563 GB, free: 198.5 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002365/4.695, allocations: 0.7914 MB / 2.563 GB, free: 197.7 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001385/4.697, allocations: 0.7864 MB / 2.564 GB, free: 197.1 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.002373/4.699, allocations: 1.109 MB / 2.565 GB, free: 196 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/4.699, allocations: 0 / 2.565 GB, free: 196 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.0008134/4.7, allocations: 400.8 kB / 2.566 GB, free: 195.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003313/4.703, allocations: 0.7544 MB / 2.566 GB, free: 194.9 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004397/4.708, allocations: 2.775 MB / 2.569 GB, free: 192.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000586/4.708, allocations: 1.2 MB / 2.57 GB, free: 190.9 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001293/4.709, allocations: 298.4 kB / 2.57 GB, free: 190.6 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002338/4.71, allocations: 103.4 kB / 2.571 GB, free: 190.5 MB / 1.167 GB Notification: Performance of SimCode: time 1.333e-06/4.71, allocations: 0 / 2.571 GB, free: 190.5 MB / 1.167 GB Notification: Performance of Templates: time 0.05164/4.761, allocations: 33.16 MB / 2.603 GB, free: 158.4 MB / 1.167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatPumps_Validation_Carnot_y_etaPL.csv","../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaPL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches