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.0009812/0.0009812, allocations: 92.22 kB / 19.65 MB, free: 276 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.0009661/0.0009661, allocations: 173 kB / 23.03 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 0.9699/0.9699, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.007/2.007, allocations: 429.5 MB / 0.6732 GB, free: 4.059 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 1.644e-06/1.644e-06, allocations: 0 / 0.8782 GB, free: 6.285 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.559e-05/2.723e-05, allocations: 6.297 kB / 0.8782 GB, free: 6.281 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.007898/0.007925, allocations: 8.775 MB / 0.8868 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.004432/0.01236, allocations: 3.277 MB / 0.89 GB, free: 10.21 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007319/0.01309, allocations: 35.69 kB / 0.89 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005896/0.01368, allocations: 182.6 kB / 0.8902 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001486/0.01516, allocations: 0.668 MB / 0.8908 GB, free: 9.324 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.0163, allocations: 0.6391 MB / 0.8914 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001699/0.018, allocations: 1.605 MB / 0.893 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006618/0.01866, allocations: 393.6 kB / 0.8934 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001355/0.02001, allocations: 0.752 MB / 0.8941 GB, free: 5.945 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006056/0.02062, allocations: 406.7 kB / 0.8945 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.863e-05/0.0207, allocations: 48 kB / 0.8946 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005586/0.02126, allocations: 263.4 kB / 0.8948 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001212/0.02138, allocations: 143.4 kB / 0.8949 GB, free: 5.102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001978/0.02158, allocations: 215.5 kB / 0.8952 GB, free: 4.891 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000932/0.02251, allocations: 0.619 MB / 0.8958 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.02251, allocations: 3.938 kB / 0.8958 GB, free: 4.266 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.132e-06/0.02251, allocations: 4 kB / 0.8958 GB, free: 4.262 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.003e-05/0.02252, allocations: 4 kB / 0.8958 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.001087/0.02361, allocations: 0.8961 MB / 0.8966 GB, free: 3.324 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.02365, allocations: 8.031 kB / 0.8966 GB, free: 3.316 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000238/0.02389, allocations: 108.5 kB / 0.8968 GB, free: 3.211 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.02446, allocations: 481.7 kB / 0.8972 GB, free: 2.711 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.446e-05/0.02448, allocations: 29.38 kB / 0.8972 GB, free: 2.684 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.148e-05/0.02453, allocations: 44.33 kB / 0.8973 GB, free: 2.641 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000442/0.02497, allocations: 423.9 kB / 0.8977 GB, free: 2.18 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.02499, allocations: 3.938 kB / 0.8977 GB, free: 2.176 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.98e-05/0.02502, allocations: 19.98 kB / 0.8977 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.431e-05/0.02505, allocations: 11.98 kB / 0.8977 GB, free: 2.145 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.02528, allocations: 157.8 kB / 0.8979 GB, free: 1.992 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001687/0.02697, allocations: 1.594 MB / 0.8994 GB, free: 348 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003295/0.0273, allocations: 167.2 kB / 0.8996 GB, free: 168 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.02738, allocations: 71.59 kB / 0.8997 GB, free: 92 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002081/0.02759, allocations: 71.92 kB / 0.8997 GB, free: 20 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.577e-05/0.02763, allocations: 33.39 kB / 0.8998 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 2.405e-06/0.02763, allocations: 0 / 0.8998 GB, free: 15.98 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.000402/0.02803, allocations: 253.2 kB / 0.9 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.822e-05/0.02806, allocations: 51.41 kB / 0.9 GB, free: 15.66 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002967/0.02836, allocations: 422.6 kB / 0.9004 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.864e-05/0.02839, allocations: 33.7 kB / 0.9005 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001869/0.02857, allocations: 311.2 kB / 0.9008 GB, free: 14.89 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.432e-05/0.02863, allocations: 103.1 kB / 0.9009 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.077e-05/0.02871, allocations: 83.62 kB / 0.901 GB, free: 14.7 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.02884, allocations: 0.5195 MB / 0.9015 GB, free: 14.16 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.546e-05/0.02892, allocations: 44.62 kB / 0.9015 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001457/0.02906, allocations: 219.8 kB / 0.9017 GB, free: 13.86 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.02926, allocations: 190.1 kB / 0.9019 GB, free: 13.64 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.317e-06/0.02927, allocations: 4 kB / 0.9019 GB, free: 13.63 MB / 0.8698 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000308/0.02957, allocations: 265.7 kB / 0.9022 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.02959, allocations: 8 kB / 0.9022 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.0296, allocations: 0 / 0.9022 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.02961, allocations: 4.219 kB / 0.9022 GB, free: 13.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001599/0.02977, allocations: 71.91 kB / 0.9022 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.606e-06/0.02978, allocations: 7.984 kB / 0.9022 GB, free: 13.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001216/0.0299, allocations: 31.8 kB / 0.9023 GB, free: 13.25 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.712e-05/0.02993, allocations: 12 kB / 0.9023 GB, free: 13.23 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.0001128/0.03004, allocations: 184.4 kB / 0.9025 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.805e-05/0.0301, allocations: 55.69 kB / 0.9025 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004139/0.03051, allocations: 330.2 kB / 0.9028 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.377e-06/0.03052, allocations: 11.94 kB / 0.9028 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.03053, allocations: 3.984 kB / 0.9028 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002718/0.0308, allocations: 436.3 kB / 0.9033 GB, free: 12.15 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001012/0.03181, allocations: 0.8484 MB / 0.9041 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.03182, allocations: 8.031 kB / 0.9041 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/0.03194, allocations: 43.92 kB / 0.9041 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.03194, allocations: 4 kB / 0.9041 GB, free: 11.18 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.03197, allocations: 15.92 kB / 0.9042 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.03197, allocations: 4 kB / 0.9042 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.03197, allocations: 7.938 kB / 0.9042 GB, free: 11.15 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004407/0.03241, allocations: 0.4995 MB / 0.9047 GB, free: 10.61 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.973e-05/0.03251, allocations: 87.59 kB / 0.9047 GB, free: 10.52 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/0.03255, allocations: 15.94 kB / 0.9048 GB, free: 10.51 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.03267, allocations: 12 kB / 0.9048 GB, free: 10.5 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.452e-05/0.0327, allocations: 23.89 kB / 0.9048 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.275e-05/0.03273, allocations: 19.98 kB / 0.9048 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001803/0.03291, allocations: 275.1 kB / 0.9051 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 3.31e-07/0.03291, allocations: 0 / 0.9051 GB, free: 10.18 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004183/0.03333, allocations: 179.6 kB / 0.9052 GB, free: 10.01 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.0002988/0.03362, allocations: 206.8 kB / 0.9054 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002807/0.03391, allocations: 179.8 kB / 0.9056 GB, free: 9.613 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.03391, allocations: 4.125 kB / 0.9056 GB, free: 9.609 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000112/0.03402, allocations: 107.4 kB / 0.9057 GB, free: 9.5 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006623/0.03468, allocations: 256.5 kB / 0.906 GB, free: 9.254 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.03598, allocations: 0.9086 MB / 0.9068 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.049e-05/0.03606, allocations: 133.7 kB / 0.907 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.000226/0.03629, allocations: 100.1 kB / 0.9071 GB, free: 8.027 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.651e-05/0.03636, allocations: 52.48 kB / 0.9071 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of SimCode: time 7.51e-07/0.03636, allocations: 0 / 0.9071 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of Templates: time 0.01255/0.04892, allocations: 10.78 MB / 0.9176 GB, free: 13.43 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.495880558155477]