Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|senDyn.port_a.m_flow|senDyn.V_flow|senSteSta.V_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.185/1.185, allocations: 249.4 MB / 256.7 MB, free: 7.02 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009437/0.0009437, allocations: 197.1 kB / 316 MB, free: 3.598 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.048/1.048, allocations: 205.2 MB / 0.5667 GB, free: 15.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008131/0.0008131, allocations: 99.27 kB / 0.671 GB, free: 4.84 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.953e-06/6.983e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1446, allocations: 106.3 MB / 0.8846 GB, free: 12.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 3.2/3.345, allocations: 2.18 GB / 3.064 GB, free: 225.7 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/3.345, allocations: 83.95 kB / 3.064 GB, free: 225.6 MB / 0.8698 GB Notification: Performance of FrontEnd: time 0.7291/4.075, allocations: 235 MB / 3.294 GB, free: 240 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.447e-05/4.075, allocations: 15 kB / 3.294 GB, free: 240 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0008961/4.076, allocations: 0.6306 MB / 3.294 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.752e-05/4.076, allocations: 11.22 kB / 3.294 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001147/4.077, allocations: 158.2 kB / 3.295 GB, free: 239.6 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005012/4.077, allocations: 347.1 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/4.077, allocations: 6.156 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/4.077, allocations: 14.31 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003056/4.078, allocations: 207 kB / 3.295 GB, free: 239.4 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000322/4.078, allocations: 260.2 kB / 3.295 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/4.078, allocations: 0 / 3.295 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/4.078, allocations: 0 / 3.295 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/4.078, allocations: 9.719 kB / 3.295 GB, free: 239.3 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001159/4.079, allocations: 1.091 MB / 3.296 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/4.079, allocations: 209.8 kB / 3.297 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001156/4.08, allocations: 105.2 kB / 3.297 GB, free: 238.7 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004803/4.08, allocations: 479.3 kB / 3.297 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/4.08, allocations: 34.5 kB / 3.297 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=19): time 1.373e-06/4.08, allocations: 2.875 kB / 3.297 GB, free: 238.2 MB / 0.8698 GB Notification: Performance of matching and sorting (n=19): time 0.0008285/4.081, allocations: 248.7 kB / 3.298 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.789e-05/4.081, allocations: 54.41 kB / 3.298 GB, free: 238.1 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001453/4.081, allocations: 196.2 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/4.081, allocations: 28.98 kB / 3.298 GB, free: 238 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.028e-05/4.081, allocations: 140.1 kB / 3.298 GB, free: 237.9 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.67e-05/4.081, allocations: 72.59 kB / 3.298 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.685e-06/4.081, allocations: 0 / 3.298 GB, free: 237.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 5.013e-05/4.081, allocations: 336 kB / 3.298 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/4.081, allocations: 41.22 kB / 3.298 GB, free: 237.5 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/4.082, allocations: 115.1 kB / 3.298 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/4.082, allocations: 94.7 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/4.082, allocations: 0 / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003501/4.082, allocations: 226.8 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/4.082, allocations: 3.625 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/4.082, allocations: 7.125 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/4.082, allocations: 2.469 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000197/4.082, allocations: 51.94 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/4.082, allocations: 2.938 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001889/4.083, allocations: 33.05 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/4.083, allocations: 13.75 kB / 3.299 GB, free: 237.4 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 5.493e-05/4.083, allocations: 110.1 kB / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.977e-05/4.083, allocations: 21.94 kB / 3.299 GB, free: 237.3 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003922/4.083, allocations: 230.8 kB / 3.299 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/4.083, allocations: 3.844 kB / 3.299 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/4.083, allocations: 0 / 3.299 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/4.083, allocations: 2.219 kB / 3.299 GB, free: 237.2 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000825/4.084, allocations: 0.6991 MB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.317e-06/4.084, allocations: 3.906 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000184/4.084, allocations: 43.73 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/4.084, allocations: 3.781 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.607e-05/4.084, allocations: 6 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/4.084, allocations: 5.281 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/4.084, allocations: 7.156 kB / 3.3 GB, free: 236.9 MB / 0.8698 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000484/4.085, allocations: 0.5692 MB / 3.301 GB, free: 236.5 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.502e-05/4.085, allocations: 118.2 kB / 3.301 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.813e-05/4.085, allocations: 12.03 kB / 3.301 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002007/4.085, allocations: 18.94 kB / 3.301 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.775e-05/4.085, allocations: 22.2 kB / 3.301 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/4.085, allocations: 10.62 kB / 3.301 GB, free: 236.4 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8.21e-05/4.085, allocations: 153.8 kB / 3.301 GB, free: 236.3 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004946/4.086, allocations: 149.6 kB / 3.301 GB, free: 236.3 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.001121/4.087, allocations: 1.188 MB / 3.302 GB, free: 236 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002135/4.087, allocations: 138.2 kB / 3.302 GB, free: 236 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/4.087, allocations: 1.875 kB / 3.302 GB, free: 236 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/4.087, allocations: 78.45 kB / 3.302 GB, free: 236 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006023/4.088, allocations: 124.9 kB / 3.302 GB, free: 236 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006578/4.088, allocations: 446.1 kB / 3.303 GB, free: 235.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002428/4.089, allocations: 0.8126 MB / 3.304 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of SimCode: time 2.3e-07/4.089, allocations: 0 / 3.304 GB, free: 235.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.01382/4.103, allocations: 10.31 MB / 3.314 GB, free: 234.9 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Sensors_Examples_VolumeFlowRate.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches