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.0009853/0.0009853, allocations: 93.06 kB / 19.65 MB, free: 272 kB / 13.93 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.001009/0.001009, allocations: 169 kB / 23.02 MB, free: 1.543 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 1.016/1.016, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.136/2.136, allocations: 429.5 MB / 0.6732 GB, free: 4.008 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.024e-06/2.024e-06, allocations: 0 / 0.8782 GB, free: 6.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.769e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.254 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.009522/0.00955, allocations: 8.781 MB / 0.8868 GB, free: 13.46 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004948/0.0145, allocations: 3.269 MB / 0.89 GB, free: 10.19 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007313/0.01523, allocations: 35.69 kB / 0.89 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007683/0.016, allocations: 186.6 kB / 0.8902 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.01741, allocations: 0.6602 MB / 0.8908 GB, free: 9.309 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001246/0.01866, allocations: 0.643 MB / 0.8914 GB, free: 8.664 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001744/0.0204, allocations: 1.597 MB / 0.893 GB, free: 7.062 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004526/0.02086, allocations: 393.5 kB / 0.8934 GB, free: 6.676 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000921/0.02178, allocations: 0.7242 MB / 0.8941 GB, free: 5.965 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004345/0.02221, allocations: 402.8 kB / 0.8945 GB, free: 5.57 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/0.02227, allocations: 51.94 kB / 0.8945 GB, free: 5.52 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004388/0.02271, allocations: 271.4 kB / 0.8948 GB, free: 5.254 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001234/0.02284, allocations: 151.4 kB / 0.8949 GB, free: 5.105 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001781/0.02301, allocations: 215.5 kB / 0.8951 GB, free: 4.895 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007678/0.02378, allocations: 0.6307 MB / 0.8957 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.02379, allocations: 0 / 0.8957 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.605e-06/0.02379, allocations: 0 / 0.8957 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.0238, allocations: 4 kB / 0.8957 GB, free: 4.258 MB / 0.8542 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.0009566/0.02475, allocations: 0.9078 MB / 0.8966 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.02479, allocations: 12.03 kB / 0.8966 GB, free: 3.301 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/0.02499, allocations: 100.5 kB / 0.8967 GB, free: 3.203 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006632/0.02565, allocations: 0.5298 MB / 0.8973 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.02568, allocations: 29.38 kB / 0.8973 GB, free: 2.613 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.735e-05/0.02574, allocations: 40.38 kB / 0.8973 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004371/0.02617, allocations: 423.9 kB / 0.8977 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.02619, allocations: 0 / 0.8977 GB, free: 2.117 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.87e-05/0.02622, allocations: 19.98 kB / 0.8978 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.843e-05/0.02625, allocations: 12 kB / 0.8978 GB, free: 2.086 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002437/0.02649, allocations: 165.8 kB / 0.8979 GB, free: 1.922 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001492/0.02798, allocations: 1.602 MB / 0.8995 GB, free: 272 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00032/0.0283, allocations: 163.3 kB / 0.8996 GB, free: 96 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.536e-05/0.02839, allocations: 71.59 kB / 0.8997 GB, free: 20 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002705/0.02866, allocations: 63.94 kB / 0.8998 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.02868, allocations: 41.38 kB / 0.8998 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.282e-06/0.02869, allocations: 0 / 0.8998 GB, free: 15.91 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0004166/0.0291, allocations: 245.2 kB / 0.9 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.8e-05/0.02913, allocations: 55.41 kB / 0.9001 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.02944, allocations: 418.6 kB / 0.9005 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.72e-05/0.02947, allocations: 37.7 kB / 0.9005 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001553/0.02962, allocations: 311.2 kB / 0.9008 GB, free: 14.82 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.903e-05/0.02968, allocations: 103.2 kB / 0.9009 GB, free: 14.72 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.54e-05/0.02977, allocations: 75.62 kB / 0.901 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.02994, allocations: 0.5274 MB / 0.9015 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.415e-05/0.03002, allocations: 40.62 kB / 0.9016 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001505/0.03017, allocations: 219.8 kB / 0.9018 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002011/0.03037, allocations: 194.1 kB / 0.9019 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.03037, allocations: 0 / 0.9019 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002991/0.03067, allocations: 265.7 kB / 0.9022 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.03069, allocations: 4 kB / 0.9022 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.03069, allocations: 7.984 kB / 0.9022 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.03071, allocations: 4.219 kB / 0.9022 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001636/0.03087, allocations: 75.91 kB / 0.9023 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.03088, allocations: 4 kB / 0.9023 GB, free: 13.21 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001107/0.03099, allocations: 27.78 kB / 0.9023 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.528e-05/0.03102, allocations: 19.98 kB / 0.9023 GB, free: 13.16 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.0001041/0.03112, allocations: 180.4 kB / 0.9025 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.767e-05/0.03118, allocations: 59.69 kB / 0.9026 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000445/0.03162, allocations: 330.2 kB / 0.9029 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.03163, allocations: 0 / 0.9029 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.03163, allocations: 4 kB / 0.9029 GB, free: 12.58 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002792/0.03191, allocations: 440.3 kB / 0.9033 GB, free: 12.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009031/0.03281, allocations: 0.8523 MB / 0.9041 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.03282, allocations: 0 / 0.9041 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.03294, allocations: 55.91 kB / 0.9042 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.03295, allocations: 4 kB / 0.9042 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.123e-05/0.03297, allocations: 11.94 kB / 0.9042 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.03297, allocations: 4 kB / 0.9042 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.03298, allocations: 3.938 kB / 0.9042 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004458/0.03342, allocations: 0.5034 MB / 0.9047 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.03352, allocations: 83.59 kB / 0.9048 GB, free: 10.46 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.243e-05/0.03356, allocations: 15.97 kB / 0.9048 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.03368, allocations: 11.98 kB / 0.9048 GB, free: 10.43 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.802e-05/0.03371, allocations: 31.89 kB / 0.9048 GB, free: 10.4 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.03374, allocations: 16 kB / 0.9049 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001827/0.03392, allocations: 279 kB / 0.9051 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.03392, allocations: 0 / 0.9051 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003538/0.03427, allocations: 179.5 kB / 0.9053 GB, free: 9.938 MB / 0.8698 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.0002952/0.03457, allocations: 198.9 kB / 0.9055 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002738/0.03484, allocations: 175.8 kB / 0.9057 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.03484, allocations: 8.125 kB / 0.9057 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001161/0.03496, allocations: 115.4 kB / 0.9058 GB, free: 9.43 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006557/0.03562, allocations: 260 kB / 0.906 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/0.03695, allocations: 0.9047 MB / 0.9069 GB, free: 8.215 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.021e-05/0.03703, allocations: 129.8 kB / 0.907 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001866/0.03722, allocations: 100.1 kB / 0.9071 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.531e-05/0.03729, allocations: 52.42 kB / 0.9072 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of SimCode: time 1.382e-06/0.0373, allocations: 0 / 0.9072 GB, free: 7.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.01129/0.04859, allocations: 9.484 MB / 0.9164 GB, free: 14.66 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.828125058207661]