Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009817/0.0009817, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.001049/0.001049, allocations: 181 kB / 23.36 MB, free: 1.133 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.9027/0.9027, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.349/2.349, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.333e-06/1.333e-06, allocations: 3.938 kB / 0.8386 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.019e-05/2.152e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.007536/0.007557, allocations: 8.701 MB / 0.8471 GB, free: 5.395 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005071/0.01263, allocations: 3.333 MB / 0.8504 GB, free: 2.055 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007502/0.01338, allocations: 35.69 kB / 0.8504 GB, free: 2.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0006627/0.01404, allocations: 182.6 kB / 0.8506 GB, free: 1.84 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.0155, allocations: 0.6563 MB / 0.8512 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001324/0.01683, allocations: 0.643 MB / 0.8518 GB, free: 0.5352 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001686/0.01851, allocations: 1.605 MB / 0.8534 GB, free: 14.93 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000607/0.01912, allocations: 398.2 kB / 0.8538 GB, free: 14.54 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001295/0.02042, allocations: 0.7587 MB / 0.8545 GB, free: 13.79 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005255/0.02094, allocations: 386.8 kB / 0.8549 GB, free: 13.41 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 6.752e-05/0.02101, allocations: 44 kB / 0.8549 GB, free: 13.37 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004753/0.02149, allocations: 263.4 kB / 0.8552 GB, free: 13.11 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.0216, allocations: 151.4 kB / 0.8553 GB, free: 12.96 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001876/0.02179, allocations: 219.5 kB / 0.8555 GB, free: 12.75 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0007891/0.02258, allocations: 0.619 MB / 0.8561 GB, free: 12.12 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.02258, allocations: 4 kB / 0.8562 GB, free: 12.12 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.052e-06/0.02258, allocations: 0 / 0.8562 GB, free: 12.12 MB / 0.823 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.02259, allocations: 0 / 0.8562 GB, free: 12.12 MB / 0.823 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.0009169/0.02351, allocations: 0.7635 MB / 0.8569 GB, free: 11.33 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.02354, allocations: 8.625 kB / 0.8569 GB, free: 11.32 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.02374, allocations: 80.81 kB / 0.857 GB, free: 11.25 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.02425, allocations: 415.1 kB / 0.8574 GB, free: 10.81 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.206e-05/0.02427, allocations: 33.36 kB / 0.8574 GB, free: 10.78 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.687e-05/0.02432, allocations: 36.38 kB / 0.8574 GB, free: 10.74 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/0.02465, allocations: 396.5 kB / 0.8578 GB, free: 10.31 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.269e-05/0.02467, allocations: 0 / 0.8578 GB, free: 10.31 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.683e-05/0.02469, allocations: 20 kB / 0.8578 GB, free: 10.29 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.02472, allocations: 15.98 kB / 0.8579 GB, free: 10.27 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001516/0.02487, allocations: 117.7 kB / 0.858 GB, free: 10.16 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001234/0.02611, allocations: 1.126 MB / 0.8591 GB, free: 9 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000239/0.02634, allocations: 186.9 kB / 0.8592 GB, free: 8.805 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.0264, allocations: 55.59 kB / 0.8593 GB, free: 8.746 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001762/0.02658, allocations: 71.94 kB / 0.8594 GB, free: 8.676 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.387e-05/0.0266, allocations: 30.56 kB / 0.8594 GB, free: 8.637 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 1.443e-06/0.0266, allocations: 0 / 0.8594 GB, free: 8.637 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.0002393/0.02684, allocations: 161.5 kB / 0.8596 GB, free: 8.473 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.02687, allocations: 55.41 kB / 0.8596 GB, free: 8.406 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002291/0.0271, allocations: 360.9 kB / 0.8599 GB, free: 8.039 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.229e-05/0.02712, allocations: 29.7 kB / 0.86 GB, free: 8.004 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001034/0.02722, allocations: 233.4 kB / 0.8602 GB, free: 7.773 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.007e-05/0.02727, allocations: 99.14 kB / 0.8603 GB, free: 7.676 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.866e-05/0.02734, allocations: 65.95 kB / 0.8604 GB, free: 7.605 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 9.644e-05/0.02744, allocations: 370.5 kB / 0.8607 GB, free: 7.234 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.946e-05/0.02749, allocations: 39.45 kB / 0.8607 GB, free: 7.195 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.0276, allocations: 169.2 kB / 0.8609 GB, free: 6.988 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.02775, allocations: 164.2 kB / 0.8611 GB, free: 6.801 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.806e-06/0.02775, allocations: 0 / 0.8611 GB, free: 6.801 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002076/0.02796, allocations: 196.2 kB / 0.8613 GB, free: 6.602 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.02797, allocations: 4 kB / 0.8613 GB, free: 6.598 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.02798, allocations: 4.219 kB / 0.8613 GB, free: 6.594 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.02799, allocations: 8 kB / 0.8613 GB, free: 6.586 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/0.02813, allocations: 63.91 kB / 0.8613 GB, free: 6.523 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.571e-06/0.02814, allocations: 7.984 kB / 0.8613 GB, free: 6.516 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000109/0.02825, allocations: 27.78 kB / 0.8614 GB, free: 6.488 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.25e-05/0.02827, allocations: 12 kB / 0.8614 GB, free: 6.477 MB / 0.823 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.0001004/0.02837, allocations: 136.5 kB / 0.8615 GB, free: 6.332 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.486e-05/0.02842, allocations: 31.95 kB / 0.8615 GB, free: 6.301 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.02876, allocations: 274.7 kB / 0.8618 GB, free: 6.027 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.833e-06/0.02877, allocations: 4 kB / 0.8618 GB, free: 6.023 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.02877, allocations: 0 / 0.8618 GB, free: 6.023 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001982/0.02897, allocations: 386.9 kB / 0.8622 GB, free: 5.578 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.02974, allocations: 0.6964 MB / 0.8629 GB, free: 4.836 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.02975, allocations: 4 kB / 0.8629 GB, free: 4.832 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000117/0.02986, allocations: 43.92 kB / 0.8629 GB, free: 4.789 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.02987, allocations: 4 kB / 0.8629 GB, free: 4.785 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.02989, allocations: 11.98 kB / 0.8629 GB, free: 4.773 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.487e-06/0.02989, allocations: 4 kB / 0.8629 GB, free: 4.77 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.02989, allocations: 3.938 kB / 0.8629 GB, free: 4.766 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003232/0.03021, allocations: 411 kB / 0.8633 GB, free: 4.324 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.815e-05/0.0303, allocations: 59.75 kB / 0.8634 GB, free: 4.266 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.28e-05/0.03034, allocations: 15.98 kB / 0.8634 GB, free: 4.25 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001107/0.03045, allocations: 12 kB / 0.8634 GB, free: 4.238 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.03048, allocations: 23.89 kB / 0.8634 GB, free: 4.215 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.0305, allocations: 12 kB / 0.8634 GB, free: 4.203 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001176/0.03062, allocations: 155.5 kB / 0.8636 GB, free: 4.047 MB / 0.823 GB Notification: Performance of sort global known variables: time 6e-08/0.03062, allocations: 0 / 0.8636 GB, free: 4.047 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0003765/0.03099, allocations: 191.4 kB / 0.8638 GB, free: 3.859 MB / 0.823 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.0002662/0.03126, allocations: 176.2 kB / 0.8639 GB, free: 3.676 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001987/0.03146, allocations: 145.4 kB / 0.8641 GB, free: 3.531 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 7.944e-06/0.03147, allocations: 8 kB / 0.8641 GB, free: 3.523 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 8.666e-05/0.03155, allocations: 88.19 kB / 0.8642 GB, free: 3.438 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005901/0.03214, allocations: 249.1 kB / 0.8644 GB, free: 3.203 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00115/0.03329, allocations: 0.8722 MB / 0.8652 GB, free: 2.277 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.587e-05/0.03337, allocations: 125.7 kB / 0.8654 GB, free: 2.137 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000206/0.03358, allocations: 88.11 kB / 0.8655 GB, free: 2.047 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000352/0.03393, allocations: 235 kB / 0.8657 GB, free: 1.816 MB / 0.823 GB Notification: Performance of SimCode: time 1.032e-06/0.03393, allocations: 0 / 0.8657 GB, free: 1.816 MB / 0.823 GB Notification: Performance of Templates: time 0.01254/0.04647, allocations: 10.69 MB / 0.8761 GB, free: 7.379 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.48285435186699]