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.357/2.357, allocations: 390.3 MB / 402.8 MB, free: 6.711 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.001134/0.001134, allocations: 176.4 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.484/1.484, allocations: 221.3 MB / 0.7915 GB, free: 5.473 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.0008892/0.0008892, allocations: 83.97 kB / 0.9317 GB, free: 5.789 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.548e-05, allocations: 4 kB / 1.079 GB, free: 140.6 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2975/0.2975, allocations: 143 MB / 1.219 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.216/1.514, allocations: 431.4 MB / 1.64 GB, free: 3.145 MB / 1.089 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003118/1.514, allocations: 91.95 kB / 1.64 GB, free: 3.055 MB / 1.089 GB Notification: Performance of FrontEnd - DAE generated: time 3.397/4.911, allocations: 0.8754 GB / 2.516 GB, free: 22.06 MB / 1.135 GB Notification: Performance of FrontEnd: time 1.683e-06/4.911, allocations: 4 kB / 2.516 GB, free: 22.06 MB / 1.135 GB Notification: Performance of Transformations before backend: time 0.0001434/4.911, allocations: 39.98 kB / 2.516 GB, free: 22.02 MB / 1.135 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.003786/4.915, allocations: 1.734 MB / 2.517 GB, free: 20.22 MB / 1.135 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/4.915, allocations: 8.031 kB / 2.517 GB, free: 20.21 MB / 1.135 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008912/4.916, allocations: 243.9 kB / 2.518 GB, free: 19.98 MB / 1.135 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003245/4.919, allocations: 1.704 MB / 2.519 GB, free: 18.22 MB / 1.135 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.887e-05/4.919, allocations: 74 kB / 2.519 GB, free: 18.14 MB / 1.135 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/4.92, allocations: 108 kB / 2.519 GB, free: 18.04 MB / 1.135 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001598/4.921, allocations: 1.015 MB / 2.52 GB, free: 16.99 MB / 1.135 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.637e-05/4.921, allocations: 3.938 kB / 2.52 GB, free: 16.99 MB / 1.135 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-05/4.921, allocations: 36 kB / 2.52 GB, free: 16.95 MB / 1.135 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.272e-05/4.921, allocations: 45.98 kB / 2.52 GB, free: 16.91 MB / 1.135 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001119/4.923, allocations: 0.7615 MB / 2.521 GB, free: 16.14 MB / 1.135 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.005919/4.928, allocations: 4.742 MB / 2.526 GB, free: 11.16 MB / 1.135 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009728/4.929, allocations: 0.5352 MB / 2.526 GB, free: 10.62 MB / 1.135 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003723/4.93, allocations: 268.5 kB / 2.527 GB, free: 10.36 MB / 1.135 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005984/4.93, allocations: 0.8394 MB / 2.527 GB, free: 9.336 MB / 1.135 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/4.931, allocations: 39.12 kB / 2.527 GB, free: 9.285 MB / 1.135 GB Notification: Performance of pre-optimization done (n=60): time 5.19e-06/4.931, allocations: 0 / 2.527 GB, free: 9.285 MB / 1.135 GB Notification: Performance of matching and sorting (n=60): time 0.004118/4.935, allocations: 1.041 MB / 2.528 GB, free: 8.234 MB / 1.135 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/4.935, allocations: 59.97 kB / 2.529 GB, free: 8.164 MB / 1.135 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/4.936, allocations: 1.097 MB / 2.53 GB, free: 7.055 MB / 1.135 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/4.937, allocations: 41.7 kB / 2.53 GB, free: 7.008 MB / 1.135 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/4.937, allocations: 0.6378 MB / 2.53 GB, free: 6.363 MB / 1.135 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001902/4.937, allocations: 205 kB / 2.53 GB, free: 6.16 MB / 1.135 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-05/4.937, allocations: 16 kB / 2.53 GB, free: 6.145 MB / 1.135 GB Notification: Performance of setup shared object (initialization): time 7.816e-05/4.937, allocations: 337.9 kB / 2.531 GB, free: 5.809 MB / 1.135 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003111/4.938, allocations: 197.5 kB / 2.531 GB, free: 5.617 MB / 1.135 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004464/4.938, allocations: 446.2 kB / 2.531 GB, free: 5.09 MB / 1.135 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003809/4.938, allocations: 273.2 kB / 2.532 GB, free: 4.824 MB / 1.135 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/4.938, allocations: 0 / 2.532 GB, free: 4.824 MB / 1.135 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00383/4.942, allocations: 1.193 MB / 2.533 GB, free: 3.617 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002977/4.943, allocations: 1.333 MB / 2.534 GB, free: 2.207 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.123e-05/4.943, allocations: 4 kB / 2.534 GB, free: 2.203 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005298/4.943, allocations: 136.6 kB / 2.534 GB, free: 2.066 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000586/4.944, allocations: 155.8 kB / 2.534 GB, free: 1.914 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005236/4.944, allocations: 0.685 MB / 2.535 GB, free: 1.203 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001487/4.946, allocations: 163 kB / 2.535 GB, free: 1.043 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.63e-05/4.946, allocations: 35.98 kB / 2.535 GB, free: 1.008 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 1.203e-05/4.946, allocations: 6.031 kB / 2.535 GB, free: 1.004 MB / 1.135 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003594/4.95, allocations: 1.04 MB / 2.536 GB, free: 15.95 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/4.95, allocations: 4 kB / 2.536 GB, free: 15.95 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004553/4.95, allocations: 125.1 kB / 2.536 GB, free: 15.82 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006271/4.951, allocations: 159.8 kB / 2.537 GB, free: 15.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006269/4.951, allocations: 0.6887 MB / 2.537 GB, free: 14.96 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/4.953, allocations: 151.2 kB / 2.537 GB, free: 14.81 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.411e-05/4.953, allocations: 31.98 kB / 2.537 GB, free: 14.78 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.000287/4.953, allocations: 141.9 kB / 2.538 GB, free: 14.63 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002658/4.954, allocations: 138.3 kB / 2.538 GB, free: 14.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004428/4.958, allocations: 1.188 MB / 2.539 GB, free: 13.3 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.069e-05/4.958, allocations: 8 kB / 2.539 GB, free: 13.29 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/4.958, allocations: 0 / 2.539 GB, free: 13.29 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003789/4.962, allocations: 1.068 MB / 2.54 GB, free: 12.18 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007465/4.969, allocations: 2.531 MB / 2.542 GB, free: 9.551 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.24e-05/4.969, allocations: 12.03 kB / 2.542 GB, free: 9.539 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005201/4.97, allocations: 123.8 kB / 2.542 GB, free: 9.418 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004652/4.97, allocations: 124.7 kB / 2.543 GB, free: 9.293 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.894e-05/4.97, allocations: 19.98 kB / 2.543 GB, free: 9.273 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006212/4.971, allocations: 0.6774 MB / 2.543 GB, free: 8.57 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/4.971, allocations: 4 kB / 2.543 GB, free: 8.566 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004894/4.976, allocations: 1.778 MB / 2.545 GB, free: 6.598 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/4.977, allocations: 339 kB / 2.545 GB, free: 6.246 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001644/4.977, allocations: 16 kB / 2.545 GB, free: 6.23 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008965/4.978, allocations: 87.88 kB / 2.545 GB, free: 6.145 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/4.978, allocations: 56.25 kB / 2.545 GB, free: 6.09 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.987e-05/4.978, allocations: 27.98 kB / 2.546 GB, free: 6.062 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.001557/4.98, allocations: 0.8803 MB / 2.546 GB, free: 5.18 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.8e-07/4.98, allocations: 0 / 2.546 GB, free: 5.18 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002398/4.982, allocations: 0.7837 MB / 2.547 GB, free: 4.395 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.001594/4.984, allocations: 0.7908 MB / 2.548 GB, free: 3.605 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001932/4.986, allocations: 0.941 MB / 2.549 GB, free: 2.668 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 7.544e-06/4.986, allocations: 4 kB / 2.549 GB, free: 2.664 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006465/4.987, allocations: 334.3 kB / 2.549 GB, free: 2.336 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00393/4.991, allocations: 0.7543 MB / 2.55 GB, free: 1.594 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003833/4.994, allocations: 1.783 MB / 2.552 GB, free: 15.74 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008164/4.995, allocations: 1.202 MB / 2.553 GB, free: 14.51 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001996/4.997, allocations: 386.9 kB / 2.553 GB, free: 14.13 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002028/4.997, allocations: 83.36 kB / 2.553 GB, free: 14.05 MB / 1.167 GB Notification: Performance of SimCode: time 2.996e-06/4.997, allocations: 0 / 2.553 GB, free: 14.05 MB / 1.167 GB Notification: Performance of Templates: time 0.9407/5.938, allocations: 36.25 MB / 2.589 GB, free: 234.9 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