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.324/2.324, allocations: 390.5 MB / 398 MB, free: 10.97 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.001177/0.001178, allocations: 178.8 kB / 491.2 MB, free: 1.566 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.513/1.513, allocations: 221.5 MB / 0.7868 GB, free: 13.35 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.001083/0.001083, allocations: 99.5 kB / 0.9269 GB, free: 13.84 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.932e-05/1.908e-05, allocations: 6.312 kB / 1.073 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2773/0.2774, allocations: 143 MB / 1.212 GB, free: 39.55 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.491, allocations: 430.7 MB / 1.633 GB, free: 0.6484 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002584/1.491, allocations: 89.45 kB / 1.633 GB, free: 0.6055 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 3.349/4.84, allocations: 0.8715 GB / 2.504 GB, free: 126.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.284e-06/4.84, allocations: 0 / 2.504 GB, free: 126.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0002807/4.84, allocations: 38.5 kB / 2.504 GB, free: 126 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.00543/4.845, allocations: 1.728 MB / 2.506 GB, free: 124.2 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/4.845, allocations: 12.03 kB / 2.506 GB, free: 124.2 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001461/4.847, allocations: 240.9 kB / 2.506 GB, free: 124 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004719/4.852, allocations: 1.71 MB / 2.508 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.54e-05/4.852, allocations: 32 kB / 2.508 GB, free: 122.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003556/4.852, allocations: 67.94 kB / 2.508 GB, free: 122.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001753/4.854, allocations: 0.6952 MB / 2.509 GB, free: 121.5 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001753/4.856, allocations: 0.8756 MB / 2.51 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.258e-05/4.856, allocations: 11.84 kB / 2.51 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.478e-05/4.856, allocations: 0 / 2.51 GB, free: 120.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.802e-05/4.856, allocations: 41.98 kB / 2.51 GB, free: 120.5 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.006084/4.862, allocations: 4.499 MB / 2.514 GB, free: 115.9 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008166/4.863, allocations: 0.4887 MB / 2.515 GB, free: 115.4 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000293/4.863, allocations: 250.4 kB / 2.515 GB, free: 115.2 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005228/4.864, allocations: 0.8272 MB / 2.516 GB, free: 114.1 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.025e-05/4.864, allocations: 47.11 kB / 2.516 GB, free: 114.1 MB / 1.151 GB Notification: Performance of pre-optimization done (n=59): time 3.316e-06/4.864, allocations: 0 / 2.516 GB, free: 114.1 MB / 1.151 GB Notification: Performance of matching and sorting (n=59): time 0.003958/4.868, allocations: 0.9938 MB / 2.517 GB, free: 113.1 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.247e-05/4.868, allocations: 59.97 kB / 2.517 GB, free: 113 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001477/4.869, allocations: 0.8873 MB / 2.518 GB, free: 112.1 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001806/4.869, allocations: 29.7 kB / 2.518 GB, free: 112.1 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004715/4.87, allocations: 0.6287 MB / 2.518 GB, free: 111.4 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002069/4.87, allocations: 197.1 kB / 2.518 GB, free: 111.3 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.209e-05/4.87, allocations: 0 / 2.518 GB, free: 111.3 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 0.000104/4.87, allocations: 334 kB / 2.519 GB, free: 110.9 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/4.871, allocations: 193.5 kB / 2.519 GB, free: 110.7 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004217/4.871, allocations: 417.5 kB / 2.519 GB, free: 110.2 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007313/4.872, allocations: 277.9 kB / 2.52 GB, free: 110 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.484e-06/4.872, allocations: 4 kB / 2.52 GB, free: 110 MB / 1.151 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003944/4.876, allocations: 1.131 MB / 2.521 GB, free: 108.8 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003477/4.876, allocations: 1.417 MB / 2.522 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/4.876, allocations: 4 kB / 2.522 GB, free: 107.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003876/4.876, allocations: 100.8 kB / 2.522 GB, free: 107.2 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005731/4.877, allocations: 159.8 kB / 2.522 GB, free: 107 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009929/4.878, allocations: 0.7552 MB / 2.523 GB, free: 106.3 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/4.879, allocations: 119.3 kB / 2.523 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.507e-05/4.879, allocations: 31.98 kB / 2.523 GB, free: 106.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/4.879, allocations: 11.94 kB / 2.523 GB, free: 106.1 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00359/4.883, allocations: 0.978 MB / 2.524 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/4.883, allocations: 4 kB / 2.524 GB, free: 105.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002832/4.883, allocations: 116.9 kB / 2.524 GB, free: 105 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005216/4.884, allocations: 155.8 kB / 2.524 GB, free: 104.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008671/4.885, allocations: 0.7515 MB / 2.525 GB, free: 104.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001241/4.886, allocations: 111.4 kB / 2.525 GB, free: 104 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/4.886, allocations: 31.98 kB / 2.525 GB, free: 103.9 MB / 1.151 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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 () * 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.0002841/4.886, allocations: 136.7 kB / 2.525 GB, free: 103.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000186/4.887, allocations: 122.5 kB / 2.526 GB, free: 103.7 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003962/4.891, allocations: 1.097 MB / 2.527 GB, free: 102.6 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.26e-05/4.891, allocations: 11.98 kB / 2.527 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/4.891, allocations: 0 / 2.527 GB, free: 102.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003358/4.894, allocations: 1.025 MB / 2.528 GB, free: 101.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005693/4.9, allocations: 2.317 MB / 2.53 GB, free: 99.09 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/4.9, allocations: 4.031 kB / 2.53 GB, free: 99.09 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004817/4.9, allocations: 123.8 kB / 2.53 GB, free: 98.97 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002841/4.9, allocations: 100.8 kB / 2.53 GB, free: 98.87 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/4.901, allocations: 11.98 kB / 2.53 GB, free: 98.86 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003005/4.904, allocations: 2.182 MB / 2.532 GB, free: 96.55 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/4.904, allocations: 4 kB / 2.532 GB, free: 96.54 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/4.908, allocations: 1.679 MB / 2.534 GB, free: 94.75 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007816/4.909, allocations: 315.3 kB / 2.534 GB, free: 94.43 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001313/4.909, allocations: 8 kB / 2.534 GB, free: 94.42 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007567/4.91, allocations: 59.94 kB / 2.534 GB, free: 94.36 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001242/4.91, allocations: 60.3 kB / 2.534 GB, free: 94.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.328e-05/4.91, allocations: 31.94 kB / 2.534 GB, free: 94.27 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001016/4.911, allocations: 0.6815 MB / 2.535 GB, free: 93.58 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.4e-07/4.911, allocations: 0 / 2.535 GB, free: 93.58 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002586/4.914, allocations: 0.7832 MB / 2.536 GB, free: 92.8 MB / 1.151 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 () * 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.001436/4.915, allocations: 0.7904 MB / 2.537 GB, free: 92.09 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.002433/4.917, allocations: 1.026 MB / 2.538 GB, free: 91.07 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/4.917, allocations: 4 kB / 2.538 GB, free: 91.06 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0009801/4.918, allocations: 0.4885 MB / 2.538 GB, free: 90.57 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002524/4.921, allocations: 0.5562 MB / 2.539 GB, free: 90.04 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00315/4.924, allocations: 1.698 MB / 2.54 GB, free: 88.27 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005479/4.925, allocations: 1.199 MB / 2.541 GB, free: 87.04 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001432/4.926, allocations: 343.6 kB / 2.542 GB, free: 86.73 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/4.926, allocations: 79.34 kB / 2.542 GB, free: 86.65 MB / 1.151 GB Notification: Performance of SimCode: time 1.162e-06/4.926, allocations: 0 / 2.542 GB, free: 86.65 MB / 1.151 GB Notification: Performance of Templates: time 0.04527/4.972, allocations: 27.54 MB / 2.569 GB, free: 59.49 MB / 1.151 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