Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|norQSta.qNor|norQSta.canMelt|norQSta.SOC",fileNamePrefix="Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.42/2.42, allocations: 390.3 MB / 405.3 MB, free: 13.45 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.001499/0.001499, allocations: 181 kB / 498.1 MB, free: 5.738 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.723/1.723, allocations: 223.2 MB / 0.7948 GB, free: 17.88 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.0008717/0.0008716, allocations: 94.83 kB / 0.9346 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.000382, allocations: 6.969 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.3393, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2143/0.5537, allocations: 152 MB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002708/0.554, allocations: 95.88 kB / 1.371 GB, free: 9.957 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.008977/0.563, allocations: 3.046 MB / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.615e-06/0.563, allocations: 0 / 1.374 GB, free: 6.898 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.865e-05/0.563, allocations: 4 kB / 1.374 GB, free: 6.895 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.0007406/0.5638, allocations: 0.5101 MB / 1.375 GB, free: 6.332 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/0.5638, allocations: 8.031 kB / 1.375 GB, free: 6.324 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001469/0.5653, allocations: 215.4 kB / 1.375 GB, free: 6.113 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000479/0.5658, allocations: 318.3 kB / 1.375 GB, free: 5.762 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001195/0.5659, allocations: 79.61 kB / 1.376 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.014e-05/0.566, allocations: 12 kB / 1.376 GB, free: 5.66 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000851/0.5668, allocations: 354 kB / 1.376 GB, free: 5.312 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.5669, allocations: 3.938 kB / 1.376 GB, free: 5.309 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.074e-05/0.5669, allocations: 7.984 kB / 1.376 GB, free: 5.301 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.5669, allocations: 8 kB / 1.376 GB, free: 5.293 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001178/0.5681, allocations: 480.3 kB / 1.376 GB, free: 4.824 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.57, allocations: 0.9362 MB / 1.377 GB, free: 3.832 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006505/0.5706, allocations: 262.4 kB / 1.377 GB, free: 3.566 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.5707, allocations: 4 kB / 1.378 GB, free: 3.562 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.5707, allocations: 34.5 kB / 1.378 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=7): time 1.784e-06/0.5707, allocations: 0 / 1.378 GB, free: 3.52 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7): time 0.001875/0.5726, allocations: 0.6884 MB / 1.378 GB, free: 2.824 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.739e-05/0.5727, allocations: 55.36 kB / 1.378 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003049/0.573, allocations: 273.8 kB / 1.379 GB, free: 2.477 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.573, allocations: 25.7 kB / 1.379 GB, free: 2.445 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.5732, allocations: 160.3 kB / 1.379 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.989e-05/0.5732, allocations: 23.7 kB / 1.379 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.5732, allocations: 0 / 1.379 GB, free: 2.258 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5734, allocations: 330.8 kB / 1.379 GB, free: 1.926 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005822/0.574, allocations: 223.8 kB / 1.379 GB, free: 1.707 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000557/0.5746, allocations: 231.7 kB / 1.379 GB, free: 1.48 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005179/0.5751, allocations: 183.8 kB / 1.38 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5751, allocations: 0 / 1.38 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.001251/0.5763, allocations: 485 kB / 1.38 GB, free: 0.8203 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.5764, allocations: 4 kB / 1.38 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.633e-06/0.5764, allocations: 0 / 1.38 GB, free: 0.8164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.844e-05/0.5764, allocations: 4 kB / 1.38 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004099/0.5768, allocations: 63.91 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.5769, allocations: 0.5469 kB / 1.38 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002862/0.5771, allocations: 47.84 kB / 1.38 GB, free: 0.7031 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.814e-05/0.5772, allocations: 23.97 kB / 1.38 GB, free: 0.6797 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (norQSta.canFreeze) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001923/0.5774, allocations: 145.8 kB / 1.38 GB, free: 0.5273 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.5775, allocations: 19.72 kB / 1.38 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.58e-05/0.5775, allocations: 25.7 kB / 1.38 GB, free: 496 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.321e-06/0.5776, allocations: 7.938 kB / 1.38 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.5776, allocations: 0 / 1.38 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.457e-06/0.5776, allocations: 0 / 1.38 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005441/0.5781, allocations: 424.3 kB / 1.381 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5781, allocations: 0 / 1.381 GB, free: 16 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003632/0.5785, allocations: 67.91 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.5785, allocations: 3.938 kB / 1.381 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.13e-05/0.5786, allocations: 11.98 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.5786, allocations: 0 / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.558e-06/0.5786, allocations: 4 kB / 1.381 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00128/0.5799, allocations: 0.5769 MB / 1.381 GB, free: 15.34 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 9.002e-05/0.58, allocations: 96.91 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.796e-05/0.58, allocations: 4 kB / 1.382 GB, free: 15.22 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002927/0.5803, allocations: 35.95 kB / 1.382 GB, free: 15.18 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.926e-05/0.5804, allocations: 11.98 kB / 1.382 GB, free: 15.17 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.096e-05/0.5804, allocations: 19.97 kB / 1.382 GB, free: 15.15 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002182/0.5806, allocations: 217.9 kB / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of sort global known variables: time 3.3e-07/0.5807, allocations: 0 / 1.382 GB, free: 14.94 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003198/0.581, allocations: 55.84 kB / 1.382 GB, free: 14.89 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (norQSta.canFreeze) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000209/0.5812, allocations: 111 kB / 1.382 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001182/0.5824, allocations: 0.4996 MB / 1.383 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.5824, allocations: 0 / 1.383 GB, free: 14.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000558/0.583, allocations: 267.8 kB / 1.383 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002151/0.5832, allocations: 12.56 kB / 1.383 GB, free: 14 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001202/0.5844, allocations: 0.6262 MB / 1.383 GB, free: 13.34 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004481/0.5849, allocations: 0.7555 MB / 1.384 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002392/0.5851, allocations: 73.42 kB / 1.384 GB, free: 12.49 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.5853, allocations: 27.41 kB / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of SimCode: time 6.12e-07/0.5853, allocations: 0 / 1.384 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of Templates: time 0.005763/0.591, allocations: 2.457 MB / 1.387 GB, free: 10.01 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.makefile (rm -f Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; mkfifo Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe >> ../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.sim & ./Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_NormalizedHeatFlowRate.csv","../files/Buildings_9_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.NormalizedHeatFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches