Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 87.58 kB / 20.45 MB, free: 4.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001501/0.001501, allocations: 165 kB / 23.82 MB, free: 0.7422 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9844/0.9844, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.887/1.887, allocations: 377.8 MB / 0.6236 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") translateModel(Buildings.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|senHeaFlo.Q_flow|heaFloRat.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.334e-06/2.334e-06, allocations: 0 / 0.8116 GB, free: 1.711 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.607e-05/2.84e-05, allocations: 3.219 kB / 0.8116 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.008834/0.008863, allocations: 8.774 MB / 0.8201 GB, free: 8.926 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.003997/0.01286, allocations: 3.296 MB / 0.8233 GB, free: 5.645 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003742/0.01323, allocations: 41.62 kB / 0.8234 GB, free: 5.605 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005428/0.01378, allocations: 186.6 kB / 0.8236 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0009687/0.01475, allocations: 0.6574 MB / 0.8242 GB, free: 4.766 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008543/0.0156, allocations: 0.6435 MB / 0.8248 GB, free: 4.125 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001294/0.01689, allocations: 1.633 MB / 0.8264 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004538/0.01735, allocations: 404.6 kB / 0.8268 GB, free: 2.082 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008747/0.01822, allocations: 0.7229 MB / 0.8275 GB, free: 1.363 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004041/0.01863, allocations: 408.6 kB / 0.8279 GB, free: 0.9648 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.841e-05/0.01868, allocations: 48 kB / 0.828 GB, free: 0.918 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003773/0.01906, allocations: 271.3 kB / 0.8282 GB, free: 0.6523 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.01918, allocations: 147.4 kB / 0.8284 GB, free: 0.5078 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.01936, allocations: 223.4 kB / 0.8286 GB, free: 296 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007379/0.0201, allocations: 0.6312 MB / 0.8292 GB, free: 15.66 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.0201, allocations: 4 kB / 0.8292 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of FrontEnd: time 3.356e-06/0.0201, allocations: 4 kB / 0.8292 GB, free: 15.65 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.02011, allocations: 0 / 0.8292 GB, free: 15.65 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001066/0.02118, allocations: 0.9082 MB / 0.8301 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.951e-05/0.02123, allocations: 8.031 kB / 0.8301 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002282/0.02146, allocations: 104.5 kB / 0.8302 GB, free: 14.59 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007501/0.02221, allocations: 0.5337 MB / 0.8307 GB, free: 14.04 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.977e-05/0.02223, allocations: 29.38 kB / 0.8307 GB, free: 14.01 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.793e-05/0.0223, allocations: 40.38 kB / 0.8308 GB, free: 13.97 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004687/0.02277, allocations: 423.9 kB / 0.8312 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.02279, allocations: 0 / 0.8312 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/0.02282, allocations: 16 kB / 0.8312 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.02287, allocations: 16 kB / 0.8312 GB, free: 13.48 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000253/0.02312, allocations: 161.8 kB / 0.8314 GB, free: 13.32 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.02489, allocations: 1.605 MB / 0.8329 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003766/0.02527, allocations: 155.3 kB / 0.8331 GB, free: 11.49 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.49e-05/0.02537, allocations: 63.64 kB / 0.8331 GB, free: 11.42 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.0256, allocations: 71.92 kB / 0.8332 GB, free: 11.35 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.02564, allocations: 41.39 kB / 0.8332 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=26): time 2.054e-06/0.02564, allocations: 0 / 0.8332 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.0004547/0.0261, allocations: 244.4 kB / 0.8335 GB, free: 11.06 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.02614, allocations: 55.41 kB / 0.8335 GB, free: 10.99 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003324/0.02647, allocations: 418.7 kB / 0.8339 GB, free: 10.57 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.02649, allocations: 33.64 kB / 0.834 GB, free: 10.53 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/0.02666, allocations: 327.1 kB / 0.8343 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.965e-05/0.02672, allocations: 103.2 kB / 0.8344 GB, free: 10.11 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.0268, allocations: 71.67 kB / 0.8344 GB, free: 10.03 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.02696, allocations: 0.5235 MB / 0.835 GB, free: 9.492 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.02704, allocations: 44.62 kB / 0.835 GB, free: 9.449 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.0272, allocations: 219.8 kB / 0.8352 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002209/0.02742, allocations: 202.3 kB / 0.8354 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.02742, allocations: 0 / 0.8354 GB, free: 8.953 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003414/0.02776, allocations: 273.3 kB / 0.8357 GB, free: 8.68 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.02778, allocations: 8.031 kB / 0.8357 GB, free: 8.672 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.02779, allocations: 4 kB / 0.8357 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.02781, allocations: 0 / 0.8357 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.02798, allocations: 71.91 kB / 0.8357 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.02798, allocations: 0 / 0.8357 GB, free: 8.598 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001128/0.0281, allocations: 31.77 kB / 0.8358 GB, free: 8.566 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.02812, allocations: 16 kB / 0.8358 GB, free: 8.551 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.02823, allocations: 180.5 kB / 0.836 GB, free: 8.363 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/0.02829, allocations: 47.72 kB / 0.836 GB, free: 8.316 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.02874, allocations: 330.7 kB / 0.8363 GB, free: 7.988 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.02874, allocations: 4 kB / 0.8363 GB, free: 7.984 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.02875, allocations: 3.938 kB / 0.8363 GB, free: 7.98 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002982/0.02905, allocations: 439.7 kB / 0.8367 GB, free: 7.484 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009458/0.02999, allocations: 0.8507 MB / 0.8376 GB, free: 6.566 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.03, allocations: 7.938 kB / 0.8376 GB, free: 6.559 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001509/0.03015, allocations: 51.91 kB / 0.8376 GB, free: 6.508 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.799e-06/0.03015, allocations: 4 kB / 0.8376 GB, free: 6.504 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.03018, allocations: 15.92 kB / 0.8377 GB, free: 6.488 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.03018, allocations: 4 kB / 0.8377 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.03018, allocations: 0 / 0.8377 GB, free: 6.484 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004539/0.03063, allocations: 0.5075 MB / 0.8382 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.03074, allocations: 79.56 kB / 0.8382 GB, free: 5.855 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.879e-05/0.03078, allocations: 15.92 kB / 0.8382 GB, free: 5.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.0309, allocations: 11.94 kB / 0.8383 GB, free: 5.828 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.866e-05/0.03094, allocations: 27.95 kB / 0.8383 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.03096, allocations: 19.94 kB / 0.8383 GB, free: 5.781 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0002371/0.0312, allocations: 279 kB / 0.8386 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.0312, allocations: 0 / 0.8386 GB, free: 5.508 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003605/0.03156, allocations: 179.6 kB / 0.8387 GB, free: 5.332 MB / 0.7917 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003123/0.03187, allocations: 198.9 kB / 0.8389 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002818/0.03215, allocations: 188.5 kB / 0.8391 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.03215, allocations: 0 / 0.8391 GB, free: 4.938 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0001217/0.03227, allocations: 99.52 kB / 0.8392 GB, free: 4.836 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007216/0.033, allocations: 273.7 kB / 0.8395 GB, free: 4.578 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.03457, allocations: 0.9359 MB / 0.8404 GB, free: 3.586 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.03467, allocations: 125.8 kB / 0.8405 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002353/0.03491, allocations: 104.2 kB / 0.8406 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.461e-05/0.035, allocations: 48.48 kB / 0.8406 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of SimCode: time 8.22e-07/0.035, allocations: 7.938 kB / 0.8407 GB, free: 3.281 MB / 0.7917 GB Notification: Performance of Templates: time 0.01385/0.04885, allocations: 9.622 MB / 0.85 GB, free: 9.926 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.585922967176884]