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.0009406/0.0009406, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001493/0.001493, allocations: 173.3 kB / 23.5 MB, free: 1.059 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.9183/0.9183, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.06/2.06, allocations: 429.5 MB / 0.6736 GB, free: 4.012 MB / 0.6355 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 2.324e-06/2.324e-06, allocations: 0 / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.334e-05/2.567e-05, allocations: 5.547 kB / 0.8782 GB, free: 6.605 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01788/0.01791, allocations: 24.12 MB / 0.9018 GB, free: 14.42 MB / 0.8698 GB Notification: Performance of NFInst.instExpressions: time 0.005047/0.02296, allocations: 5.169 MB / 0.9068 GB, free: 9.238 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000374/0.02333, allocations: 35.69 kB / 0.9069 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.02391, allocations: 293.9 kB / 0.9071 GB, free: 8.914 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.001207/0.02511, allocations: 0.8506 MB / 0.908 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001253/0.02637, allocations: 0.8023 MB / 0.9087 GB, free: 7.254 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.001232/0.0276, allocations: 1.625 MB / 0.9103 GB, free: 5.625 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004208/0.02802, allocations: 393.6 kB / 0.9107 GB, free: 5.238 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001116/0.02913, allocations: 0.9485 MB / 0.9116 GB, free: 4.297 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/0.02952, allocations: 398.8 kB / 0.912 GB, free: 3.906 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 5.412e-05/0.02958, allocations: 48 kB / 0.9121 GB, free: 3.859 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000473/0.03005, allocations: 415 kB / 0.9125 GB, free: 3.453 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001143/0.03016, allocations: 155.4 kB / 0.9126 GB, free: 3.301 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001695/0.03033, allocations: 215.5 kB / 0.9128 GB, free: 3.09 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007514/0.03108, allocations: 0.7281 MB / 0.9135 GB, free: 2.359 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.03109, allocations: 4 kB / 0.9135 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of FrontEnd: time 7.32e-07/0.03109, allocations: 0 / 0.9135 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.0311, allocations: 3.938 kB / 0.9135 GB, free: 2.352 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.0009009/0.032, allocations: 0.931 MB / 0.9144 GB, free: 1.383 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.03203, allocations: 8.031 kB / 0.9144 GB, free: 1.375 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002061/0.03224, allocations: 104.5 kB / 0.9145 GB, free: 1.273 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.03293, allocations: 0.5143 MB / 0.915 GB, free: 0.7344 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.03296, allocations: 41.31 kB / 0.9151 GB, free: 0.6914 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.05e-05/0.03301, allocations: 40.33 kB / 0.9151 GB, free: 0.6523 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004362/0.03344, allocations: 427.9 kB / 0.9155 GB, free: 196 kB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.371e-05/0.03346, allocations: 0 / 0.9155 GB, free: 196 kB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.684e-05/0.03348, allocations: 12 kB / 0.9155 GB, free: 184 kB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.632e-05/0.03351, allocations: 16 kB / 0.9156 GB, free: 168 kB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002627/0.03377, allocations: 165.7 kB / 0.9157 GB, free: 0 / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001555/0.03533, allocations: 1.594 MB / 0.9173 GB, free: 14.35 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003104/0.03564, allocations: 159.3 kB / 0.9174 GB, free: 14.18 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.084e-05/0.03573, allocations: 63.66 kB / 0.9175 GB, free: 14.11 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002223/0.03595, allocations: 103.9 kB / 0.9176 GB, free: 14.01 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.03597, allocations: 33.39 kB / 0.9176 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=26): time 1.493e-06/0.03597, allocations: 0 / 0.9176 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of matching and sorting (n=26): time 0.0003907/0.03636, allocations: 253.1 kB / 0.9179 GB, free: 13.71 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.7e-05/0.03639, allocations: 55.41 kB / 0.9179 GB, free: 13.65 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002922/0.03668, allocations: 418.6 kB / 0.9183 GB, free: 13.23 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.03671, allocations: 29.7 kB / 0.9183 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.03686, allocations: 319.2 kB / 0.9186 GB, free: 12.88 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002198/0.03708, allocations: 103.2 kB / 0.9187 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.86e-05/0.03716, allocations: 79.62 kB / 0.9188 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.0373, allocations: 0.5234 MB / 0.9193 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.643e-05/0.03737, allocations: 44.62 kB / 0.9194 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001465/0.03752, allocations: 215.8 kB / 0.9196 GB, free: 11.85 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/0.03773, allocations: 194.1 kB / 0.9198 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.03773, allocations: 0 / 0.9198 GB, free: 11.62 MB / 0.8855 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0003151/0.03804, allocations: 273.7 kB / 0.92 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.03806, allocations: 4 kB / 0.92 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.03806, allocations: 4 kB / 0.92 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.03808, allocations: 0 / 0.92 GB, free: 11.34 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/0.03823, allocations: 76.11 kB / 0.9201 GB, free: 11.27 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.426e-06/0.03824, allocations: 7.938 kB / 0.9201 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.03836, allocations: 35.73 kB / 0.9201 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.03838, allocations: 15.98 kB / 0.9202 GB, free: 11.21 MB / 0.8855 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.0001079/0.03849, allocations: 180.5 kB / 0.9203 GB, free: 11.02 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.866e-05/0.03855, allocations: 47.77 kB / 0.9204 GB, free: 10.98 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004404/0.03899, allocations: 341.4 kB / 0.9207 GB, free: 10.63 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/0.039, allocations: 11.98 kB / 0.9207 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.039, allocations: 0 / 0.9207 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002967/0.0393, allocations: 451.4 kB / 0.9211 GB, free: 10.11 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009209/0.04022, allocations: 0.8541 MB / 0.922 GB, free: 9.191 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.04022, allocations: 3.984 kB / 0.922 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001298/0.04035, allocations: 56.16 kB / 0.922 GB, free: 9.133 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.58e-06/0.04036, allocations: 7.984 kB / 0.922 GB, free: 9.125 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.256e-05/0.04038, allocations: 15.92 kB / 0.9221 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.04038, allocations: 4 kB / 0.9221 GB, free: 9.105 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.04038, allocations: 3.938 kB / 0.9221 GB, free: 9.102 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007638/0.04115, allocations: 0.5057 MB / 0.9226 GB, free: 8.551 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001007/0.04125, allocations: 87.59 kB / 0.9226 GB, free: 8.465 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.7e-05/0.04129, allocations: 11.94 kB / 0.9227 GB, free: 8.453 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001228/0.04141, allocations: 11.98 kB / 0.9227 GB, free: 8.441 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.342e-05/0.04144, allocations: 35.89 kB / 0.9227 GB, free: 8.406 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.04146, allocations: 8 kB / 0.9227 GB, free: 8.398 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001751/0.04164, allocations: 283 kB / 0.923 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of sort global known variables: time 8e-08/0.04164, allocations: 0 / 0.923 GB, free: 8.125 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003844/0.04202, allocations: 211.5 kB / 0.9232 GB, free: 7.918 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0003468/0.04237, allocations: 266.8 kB / 0.9234 GB, free: 7.645 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002703/0.04264, allocations: 188.4 kB / 0.9236 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.04264, allocations: 0 / 0.9236 GB, free: 7.457 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.04276, allocations: 119.4 kB / 0.9237 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006686/0.04343, allocations: 261.3 kB / 0.924 GB, free: 7.082 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.04464, allocations: 0.9258 MB / 0.9249 GB, free: 6.098 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.798e-05/0.04472, allocations: 125.8 kB / 0.925 GB, free: 5.957 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001882/0.04491, allocations: 100.2 kB / 0.9251 GB, free: 5.855 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.04499, allocations: 56.47 kB / 0.9252 GB, free: 5.801 MB / 0.8855 GB Notification: Performance of SimCode: time 8.32e-07/0.04499, allocations: 4 kB / 0.9252 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of Templates: time 0.01199/0.05698, allocations: 10.68 MB / 0.9356 GB, free: 11.35 MB / 0.9011 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.400316521991044]