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.0009676/0.0009676, allocations: 81.95 kB / 19.87 MB, free: 4.621 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.001558/0.001558, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9255/0.9255, allocations: 177.1 MB / 203.7 MB, free: 5.512 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.314/2.314, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.523e-06/1.523e-06, allocations: 0 / 0.8898 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.406e-05/1.558e-05, allocations: 9.125 kB / 0.8898 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.007095/0.00711, allocations: 8.677 MB / 0.8983 GB, free: 1.02 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003348/0.01046, allocations: 3.252 MB / 0.9014 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.01078, allocations: 39.69 kB / 0.9015 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0004061/0.01119, allocations: 178.6 kB / 0.9016 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001057/0.01224, allocations: 0.6601 MB / 0.9023 GB, free: 12.88 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.01301, allocations: 0.6508 MB / 0.9029 GB, free: 12.23 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001095/0.0141, allocations: 1.593 MB / 0.9045 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000387/0.01449, allocations: 397.6 kB / 0.9049 GB, free: 10.24 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008981/0.01539, allocations: 0.7438 MB / 0.9056 GB, free: 9.496 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003845/0.01577, allocations: 410.7 kB / 0.906 GB, free: 9.094 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.563e-05/0.01583, allocations: 44 kB / 0.906 GB, free: 9.051 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003274/0.01616, allocations: 263.5 kB / 0.9063 GB, free: 8.793 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001073/0.01626, allocations: 147.4 kB / 0.9064 GB, free: 8.648 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001534/0.01642, allocations: 215.5 kB / 0.9066 GB, free: 8.438 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.000629/0.01705, allocations: 0.619 MB / 0.9072 GB, free: 7.816 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.155e-06/0.01705, allocations: 4 kB / 0.9072 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.01705, allocations: 0 / 0.9072 GB, free: 7.812 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.01706, allocations: 0 / 0.9072 GB, free: 7.812 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: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.0008574/0.01791, allocations: 0.9038 MB / 0.9081 GB, free: 6.867 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.13e-05/0.01795, allocations: 12.62 kB / 0.9081 GB, free: 6.855 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001823/0.01814, allocations: 100.5 kB / 0.9082 GB, free: 6.758 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004626/0.0186, allocations: 485.5 kB / 0.9087 GB, free: 6.254 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.01862, allocations: 29.38 kB / 0.9087 GB, free: 6.223 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.599e-05/0.01868, allocations: 40.38 kB / 0.9087 GB, free: 6.184 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003712/0.01905, allocations: 399.9 kB / 0.9091 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.01906, allocations: 3.938 kB / 0.9091 GB, free: 5.746 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.531e-05/0.01909, allocations: 19.94 kB / 0.9091 GB, free: 5.727 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.441e-05/0.01911, allocations: 8 kB / 0.9092 GB, free: 5.719 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001575/0.01927, allocations: 130.8 kB / 0.9093 GB, free: 5.59 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001755/0.02103, allocations: 1.52 MB / 0.9108 GB, free: 4.023 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002363/0.02126, allocations: 149.4 kB / 0.9109 GB, free: 3.867 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.862e-05/0.02132, allocations: 55.64 kB / 0.911 GB, free: 3.809 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001815/0.0215, allocations: 83.86 kB / 0.911 GB, free: 3.727 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.291e-05/0.02153, allocations: 45.33 kB / 0.9111 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.02153, allocations: 0 / 0.9111 GB, free: 3.672 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0003035/0.02183, allocations: 217.2 kB / 0.9113 GB, free: 3.457 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.02185, allocations: 55.41 kB / 0.9113 GB, free: 3.391 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.02209, allocations: 414.4 kB / 0.9117 GB, free: 2.969 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.959e-05/0.02211, allocations: 29.7 kB / 0.9118 GB, free: 2.934 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001355/0.02224, allocations: 319.2 kB / 0.9121 GB, free: 2.617 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.198e-05/0.02229, allocations: 107.1 kB / 0.9122 GB, free: 2.512 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002468/0.02254, allocations: 79.59 kB / 0.9122 GB, free: 2.426 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001295/0.02267, allocations: 0.5312 MB / 0.9128 GB, free: 1.883 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.637e-05/0.02272, allocations: 32.62 kB / 0.9128 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/0.02283, allocations: 207.8 kB / 0.913 GB, free: 1.598 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.02298, allocations: 177.4 kB / 0.9132 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.02298, allocations: 0 / 0.9132 GB, free: 1.391 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002374/0.02322, allocations: 249.1 kB / 0.9134 GB, free: 1.141 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.02323, allocations: 8 kB / 0.9134 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.02323, allocations: 272 / 0.9134 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.02324, allocations: 11.98 kB / 0.9134 GB, free: 1.121 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.02338, allocations: 75.83 kB / 0.9135 GB, free: 1.047 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.02339, allocations: 4 kB / 0.9135 GB, free: 1.043 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.02349, allocations: 27.84 kB / 0.9135 GB, free: 1.016 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.956e-05/0.02351, allocations: 11.98 kB / 0.9135 GB, free: 1.004 MB / 0.8698 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.0001036/0.02362, allocations: 184.4 kB / 0.9137 GB, free: 0.8125 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.299e-05/0.02367, allocations: 51.72 kB / 0.9138 GB, free: 0.7617 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003334/0.024, allocations: 298.8 kB / 0.914 GB, free: 468 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.702e-06/0.02401, allocations: 4 kB / 0.914 GB, free: 464 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-06/0.02401, allocations: 3.938 kB / 0.9141 GB, free: 460 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002238/0.02423, allocations: 423 kB / 0.9145 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007506/0.02498, allocations: 0.7691 MB / 0.9152 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.02499, allocations: 4 kB / 0.9152 GB, free: 15.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.0251, allocations: 55.91 kB / 0.9153 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.0251, allocations: 4 kB / 0.9153 GB, free: 15.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.02512, allocations: 8 kB / 0.9153 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.02512, allocations: 4 kB / 0.9153 GB, free: 15.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.548e-06/0.02512, allocations: 7.938 kB / 0.9153 GB, free: 15.06 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005713/0.0257, allocations: 475.5 kB / 0.9157 GB, free: 14.55 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.02578, allocations: 87.73 kB / 0.9158 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.925e-05/0.02581, allocations: 12 kB / 0.9158 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001122/0.02593, allocations: 8 kB / 0.9158 GB, free: 14.45 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.69e-05/0.02595, allocations: 27.89 kB / 0.9159 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.861e-05/0.02597, allocations: 15.98 kB / 0.9159 GB, free: 14.4 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001327/0.0261, allocations: 263 kB / 0.9161 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.8e-07/0.0261, allocations: 0 / 0.9161 GB, free: 14.14 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003268/0.02643, allocations: 183.5 kB / 0.9163 GB, free: 13.96 MB / 0.8855 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.0002286/0.02666, allocations: 202.8 kB / 0.9165 GB, free: 13.76 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001877/0.02685, allocations: 160.1 kB / 0.9167 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.02685, allocations: 0 / 0.9167 GB, free: 13.6 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.908e-05/0.02694, allocations: 99.44 kB / 0.9168 GB, free: 13.5 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006009/0.02754, allocations: 249.2 kB / 0.917 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.02856, allocations: 0.9046 MB / 0.9179 GB, free: 12.29 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.425e-05/0.02863, allocations: 137.7 kB / 0.918 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001622/0.02879, allocations: 84.06 kB / 0.9181 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003426/0.02914, allocations: 278 kB / 0.9183 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of SimCode: time 6.71e-07/0.02914, allocations: 8 kB / 0.9184 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of Templates: time 0.01171/0.04085, allocations: 10.7 MB / 0.9288 GB, free: 1.324 MB / 0.8855 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.387634016107768]