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.001062/0.001062, allocations: 80.3 kB / 21.47 MB, free: 3.02 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.001344/0.001344, allocations: 166 kB / 24.86 MB, free: 8.875 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.9866/0.9866, allocations: 177.1 MB / 205.3 MB, free: 5.504 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.838/1.838, allocations: 377.9 MB / 0.6247 GB, free: 8.387 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.853e-06/1.853e-06, allocations: 0 / 0.8128 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.792e-05/2.978e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.402 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01198/0.01201, allocations: 8.681 MB / 0.8213 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.006436/0.01845, allocations: 3.269 MB / 0.8245 GB, free: 5.461 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001091/0.01954, allocations: 39.69 kB / 0.8245 GB, free: 5.422 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0007014/0.02024, allocations: 175.2 kB / 0.8247 GB, free: 5.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001853/0.02209, allocations: 0.6669 MB / 0.8253 GB, free: 4.586 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001639/0.02373, allocations: 0.65 MB / 0.826 GB, free: 3.938 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00246/0.02619, allocations: 1.629 MB / 0.8276 GB, free: 2.297 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007867/0.02698, allocations: 409.2 kB / 0.828 GB, free: 1.895 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00198/0.02896, allocations: 0.7568 MB / 0.8287 GB, free: 1.145 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007347/0.02969, allocations: 410.7 kB / 0.8291 GB, free: 0.7422 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.382e-05/0.02977, allocations: 50.19 kB / 0.8291 GB, free: 0.6953 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006027/0.03037, allocations: 259.4 kB / 0.8294 GB, free: 452 kB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0001262/0.0305, allocations: 147.4 kB / 0.8295 GB, free: 304 kB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001983/0.03069, allocations: 219.5 kB / 0.8297 GB, free: 84 kB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0008333/0.03153, allocations: 0.619 MB / 0.8303 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.03153, allocations: 0.5 kB / 0.8303 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.282e-06/0.03153, allocations: 0 / 0.8303 GB, free: 15.46 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.03154, allocations: 1.562 kB / 0.8303 GB, free: 15.46 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.0009377/0.03248, allocations: 0.9097 MB / 0.8312 GB, free: 14.52 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.03251, allocations: 8.031 kB / 0.8312 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001913/0.0327, allocations: 104.5 kB / 0.8313 GB, free: 14.41 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005142/0.03322, allocations: 490.1 kB / 0.8318 GB, free: 13.9 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.03324, allocations: 33.36 kB / 0.8318 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.938e-05/0.03329, allocations: 44.38 kB / 0.8319 GB, free: 13.83 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003477/0.03364, allocations: 387.9 kB / 0.8322 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.03365, allocations: 0 / 0.8322 GB, free: 13.4 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.643e-05/0.03368, allocations: 19.94 kB / 0.8323 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.001e-05/0.03371, allocations: 15.98 kB / 0.8323 GB, free: 13.37 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.03388, allocations: 126.8 kB / 0.8324 GB, free: 13.24 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.03522, allocations: 1.524 MB / 0.8339 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.03545, allocations: 151.3 kB / 0.834 GB, free: 11.51 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.77e-05/0.03551, allocations: 55.66 kB / 0.8341 GB, free: 11.45 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001775/0.03569, allocations: 67.92 kB / 0.8341 GB, free: 11.38 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.03571, allocations: 37.39 kB / 0.8342 GB, free: 11.34 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.03571, allocations: 3.938 kB / 0.8342 GB, free: 11.33 MB / 0.7917 GB Notification: Performance of matching and sorting (n=26): time 0.0003023/0.03601, allocations: 216.1 kB / 0.8344 GB, free: 11.12 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.03604, allocations: 59.41 kB / 0.8344 GB, free: 11.05 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000252/0.03629, allocations: 410.5 kB / 0.8348 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.03631, allocations: 37.7 kB / 0.8349 GB, free: 10.59 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001433/0.03646, allocations: 319.1 kB / 0.8352 GB, free: 10.27 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 5.429e-05/0.03651, allocations: 103.1 kB / 0.8353 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.748e-05/0.03659, allocations: 83.59 kB / 0.8354 GB, free: 10.08 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.03673, allocations: 0.5273 MB / 0.8359 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.211e-05/0.03678, allocations: 36.62 kB / 0.8359 GB, free: 9.504 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.03695, allocations: 215.6 kB / 0.8361 GB, free: 9.242 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001603/0.03711, allocations: 182.4 kB / 0.8363 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.03711, allocations: 0 / 0.8363 GB, free: 9.031 MB / 0.7917 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002669/0.03737, allocations: 249.1 kB / 0.8365 GB, free: 8.781 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.03739, allocations: 4 kB / 0.8365 GB, free: 8.777 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.03739, allocations: 4 kB / 0.8365 GB, free: 8.773 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/0.0374, allocations: 8.219 kB / 0.8365 GB, free: 8.766 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001536/0.03755, allocations: 71.91 kB / 0.8366 GB, free: 8.695 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.03756, allocations: 7.938 kB / 0.8366 GB, free: 8.688 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000114/0.03767, allocations: 31.77 kB / 0.8366 GB, free: 8.656 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.138e-05/0.03769, allocations: 12 kB / 0.8367 GB, free: 8.645 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.000111/0.0378, allocations: 176.5 kB / 0.8368 GB, free: 8.461 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.967e-05/0.03786, allocations: 51.72 kB / 0.8369 GB, free: 8.41 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003786/0.03824, allocations: 302.7 kB / 0.8372 GB, free: 8.105 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.03825, allocations: 4 kB / 0.8372 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.03825, allocations: 0 / 0.8372 GB, free: 8.102 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002263/0.03848, allocations: 427.6 kB / 0.8376 GB, free: 7.617 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007953/0.03927, allocations: 0.7576 MB / 0.8383 GB, free: 6.801 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.138e-06/0.03928, allocations: 4 kB / 0.8383 GB, free: 6.797 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001204/0.0394, allocations: 51.91 kB / 0.8384 GB, free: 6.746 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.0394, allocations: 4 kB / 0.8384 GB, free: 6.742 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.03942, allocations: 8 kB / 0.8384 GB, free: 6.734 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.03942, allocations: 4 kB / 0.8384 GB, free: 6.73 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.03942, allocations: 3.938 kB / 0.8384 GB, free: 6.727 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003628/0.03979, allocations: 479.4 kB / 0.8388 GB, free: 6.215 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.03989, allocations: 91.52 kB / 0.8389 GB, free: 6.125 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.324e-05/0.03992, allocations: 12.06 kB / 0.8389 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001214/0.04004, allocations: 19.98 kB / 0.839 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.693e-05/0.04007, allocations: 23.91 kB / 0.839 GB, free: 6.07 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.963e-05/0.04009, allocations: 15.98 kB / 0.839 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0001432/0.04023, allocations: 267 kB / 0.8393 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.04023, allocations: 0 / 0.8393 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0003542/0.04058, allocations: 179.5 kB / 0.8394 GB, free: 5.625 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.0002635/0.04085, allocations: 202.9 kB / 0.8396 GB, free: 5.414 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0002094/0.04106, allocations: 164.8 kB / 0.8398 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.04106, allocations: 0 / 0.8398 GB, free: 5.25 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 9.55e-05/0.04115, allocations: 99.48 kB / 0.8399 GB, free: 5.148 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006791/0.04183, allocations: 261.2 kB / 0.8401 GB, free: 4.898 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.04294, allocations: 0.9218 MB / 0.841 GB, free: 3.918 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.833e-05/0.04301, allocations: 129.8 kB / 0.8411 GB, free: 3.77 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0001833/0.0432, allocations: 88.22 kB / 0.8412 GB, free: 3.68 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/0.04355, allocations: 278 kB / 0.8415 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of SimCode: time 6.62e-07/0.04355, allocations: 0 / 0.8415 GB, free: 3.406 MB / 0.7917 GB Notification: Performance of Templates: time 0.01237/0.05592, allocations: 11.01 MB / 0.8522 GB, free: 8.691 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.364588017575443]