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.001159/0.001159, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.00121/0.00121, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.9585/0.9585, allocations: 177.1 MB / 204.5 MB, free: 5.496 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.847/1.847, allocations: 377.9 MB / 0.6239 GB, free: 8.391 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.733e-06/1.733e-06, allocations: 0 / 0.812 GB, free: 1.398 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.271e-05/2.445e-05, allocations: 5.125 kB / 0.812 GB, free: 1.395 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.008216/0.008241, allocations: 8.678 MB / 0.8205 GB, free: 8.703 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.00477/0.01301, allocations: 3.284 MB / 0.8237 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007606/0.01377, allocations: 35.69 kB / 0.8237 GB, free: 5.402 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0005566/0.01433, allocations: 178.6 kB / 0.8239 GB, free: 5.227 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001425/0.01575, allocations: 0.6618 MB / 0.8246 GB, free: 4.566 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001238/0.01699, allocations: 0.6488 MB / 0.8252 GB, free: 3.922 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001748/0.01874, allocations: 1.632 MB / 0.8268 GB, free: 2.277 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006231/0.01936, allocations: 407.2 kB / 0.8272 GB, free: 1.875 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001381/0.02074, allocations: 0.757 MB / 0.8279 GB, free: 1.125 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006553/0.0214, allocations: 410.8 kB / 0.8283 GB, free: 0.7227 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 8.729e-05/0.02149, allocations: 45.03 kB / 0.8283 GB, free: 0.6797 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005598/0.02205, allocations: 259.4 kB / 0.8286 GB, free: 436 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001192/0.02216, allocations: 148.5 kB / 0.8287 GB, free: 288 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.02235, allocations: 223.4 kB / 0.8289 GB, free: 64 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008987/0.02325, allocations: 0.619 MB / 0.8296 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.02325, allocations: 1.219 kB / 0.8296 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.503e-06/0.02326, allocations: 0 / 0.8296 GB, free: 15.44 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.02326, allocations: 0 / 0.8296 GB, free: 15.44 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.0009949/0.02426, allocations: 0.9054 MB / 0.8304 GB, free: 14.5 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.0243, allocations: 9.219 kB / 0.8304 GB, free: 14.49 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002089/0.02451, allocations: 108.5 kB / 0.8306 GB, free: 14.39 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005417/0.02505, allocations: 484.7 kB / 0.831 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.445e-05/0.02507, allocations: 29.38 kB / 0.831 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.984e-05/0.02512, allocations: 40.38 kB / 0.8311 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.0255, allocations: 395.8 kB / 0.8315 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.718e-05/0.02552, allocations: 7.984 kB / 0.8315 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.642e-05/0.02555, allocations: 16 kB / 0.8315 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.866e-05/0.02558, allocations: 8.719 kB / 0.8315 GB, free: 13.36 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.02575, allocations: 136.5 kB / 0.8316 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00152/0.02727, allocations: 1.52 MB / 0.8331 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002593/0.02753, allocations: 151.4 kB / 0.8332 GB, free: 11.5 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.041e-05/0.02759, allocations: 58.06 kB / 0.8333 GB, free: 11.44 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001986/0.02779, allocations: 83.75 kB / 0.8334 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.02781, allocations: 41.38 kB / 0.8334 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.02782, allocations: 0 / 0.8334 GB, free: 11.31 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.0003277/0.02814, allocations: 213.3 kB / 0.8336 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.832e-05/0.02817, allocations: 55.41 kB / 0.8337 GB, free: 11.03 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002781/0.02845, allocations: 414.5 kB / 0.8341 GB, free: 10.61 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.02847, allocations: 37.64 kB / 0.8341 GB, free: 10.56 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.02863, allocations: 319.1 kB / 0.8344 GB, free: 10.25 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.641e-05/0.02869, allocations: 107.1 kB / 0.8345 GB, free: 10.14 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.02877, allocations: 79.59 kB / 0.8346 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.02891, allocations: 0.5312 MB / 0.8351 GB, free: 9.512 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.287e-05/0.02897, allocations: 32.62 kB / 0.8351 GB, free: 9.48 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000128/0.02909, allocations: 211.7 kB / 0.8353 GB, free: 9.223 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/0.02926, allocations: 182.3 kB / 0.8355 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.02927, allocations: 0 / 0.8355 GB, free: 9.012 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000282/0.02955, allocations: 245.2 kB / 0.8358 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.02957, allocations: 8.609 kB / 0.8358 GB, free: 8.758 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.02957, allocations: 4 kB / 0.8358 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.02959, allocations: 4 kB / 0.8358 GB, free: 8.75 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.02974, allocations: 76.06 kB / 0.8358 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.02974, allocations: 0 / 0.8358 GB, free: 8.676 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001251/0.02987, allocations: 31.78 kB / 0.8359 GB, free: 8.645 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.228e-05/0.02989, allocations: 15.98 kB / 0.8359 GB, free: 8.629 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.0001203/0.03001, allocations: 176.5 kB / 0.8361 GB, free: 8.445 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.907e-05/0.03007, allocations: 55.72 kB / 0.8361 GB, free: 8.391 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003824/0.03045, allocations: 298.7 kB / 0.8364 GB, free: 8.09 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.03046, allocations: 12 kB / 0.8364 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.03046, allocations: 0 / 0.8364 GB, free: 8.078 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002283/0.03069, allocations: 427.6 kB / 0.8368 GB, free: 7.594 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008351/0.03153, allocations: 0.7536 MB / 0.8375 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.03153, allocations: 0 / 0.8375 GB, free: 6.781 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001181/0.03165, allocations: 60.09 kB / 0.8376 GB, free: 6.723 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.03165, allocations: 4 kB / 0.8376 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.556e-05/0.03167, allocations: 8.047 kB / 0.8376 GB, free: 6.711 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.858e-06/0.03167, allocations: 4 kB / 0.8376 GB, free: 6.707 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/0.03168, allocations: 7.922 kB / 0.8376 GB, free: 6.699 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003759/0.03205, allocations: 483.4 kB / 0.8381 GB, free: 6.184 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 9.786e-05/0.03215, allocations: 87.52 kB / 0.8382 GB, free: 6.098 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.24e-05/0.03218, allocations: 8 kB / 0.8382 GB, free: 6.09 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.0323, allocations: 11.98 kB / 0.8382 GB, free: 6.078 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.764e-05/0.03232, allocations: 27.91 kB / 0.8382 GB, free: 6.051 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.111e-05/0.03235, allocations: 19.98 kB / 0.8382 GB, free: 6.031 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001491/0.0325, allocations: 266.9 kB / 0.8385 GB, free: 5.777 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6e-08/0.0325, allocations: 0 / 0.8385 GB, free: 5.777 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0004217/0.03292, allocations: 183.5 kB / 0.8387 GB, free: 5.598 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.0002927/0.03321, allocations: 202.8 kB / 0.8389 GB, free: 5.387 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002179/0.03343, allocations: 162.9 kB / 0.839 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.03343, allocations: 448 / 0.839 GB, free: 5.227 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.514e-05/0.03352, allocations: 99.5 kB / 0.8391 GB, free: 5.125 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006822/0.03421, allocations: 255.5 kB / 0.8394 GB, free: 4.879 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001254/0.03546, allocations: 0.9179 MB / 0.8402 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.273e-05/0.03554, allocations: 133.8 kB / 0.8404 GB, free: 3.75 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002349/0.03578, allocations: 88.22 kB / 0.8405 GB, free: 3.66 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003792/0.03616, allocations: 278 kB / 0.8407 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of SimCode: time 9.42e-07/0.03616, allocations: 0 / 0.8407 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of Templates: time 0.01426/0.05042, allocations: 10.87 MB / 0.8513 GB, free: 8.797 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.348194579128176]