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.0009075/0.0009075, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001103/0.00201, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007024/0.0007024, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000976/0.001678, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.967/0.967, allocations: 177.2 MB / 189.7 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08793/1.055, allocations: 53.66 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.387/2.387, allocations: 447.1 MB / 0.675 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2349/2.622, allocations: 146 MB / 0.8176 GB, free: 3.855 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.293e-06/1.293e-06, allocations: 0 / 0.819 GB, free: 2.5 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.234e-05/2.363e-05, allocations: 2.312 kB / 0.819 GB, free: 2.496 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.008328/0.008352, allocations: 8.787 MB / 0.8275 GB, free: 9.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.01321, allocations: 3.346 MB / 0.8308 GB, free: 6.305 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006351/0.01384, allocations: 39.69 kB / 0.8308 GB, free: 6.266 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.01457, allocations: 186.6 kB / 0.831 GB, free: 6.082 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.0158, allocations: 0.6523 MB / 0.8317 GB, free: 5.426 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/0.01699, allocations: 0.6274 MB / 0.8323 GB, free: 4.797 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001751/0.01874, allocations: 1.602 MB / 0.8338 GB, free: 3.191 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008778/0.01962, allocations: 420.7 kB / 0.8342 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009404/0.02056, allocations: 0.7999 MB / 0.835 GB, free: 1.984 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004048/0.02096, allocations: 390.7 kB / 0.8354 GB, free: 1.602 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.777e-05/0.02102, allocations: 48 kB / 0.8354 GB, free: 1.555 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000512/0.02153, allocations: 263.5 kB / 0.8357 GB, free: 1.297 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001046/0.02164, allocations: 119.5 kB / 0.8358 GB, free: 1.18 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.000148/0.02178, allocations: 179.6 kB / 0.836 GB, free: 1.004 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0006882/0.02247, allocations: 0.5646 MB / 0.8365 GB, free: 448 kB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.534e-05/0.02249, allocations: 0 / 0.8365 GB, free: 448 kB / 0.8073 GB Notification: Performance of FrontEnd: time 1.573e-06/0.02249, allocations: 4 kB / 0.8365 GB, free: 444 kB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.553e-05/0.0225, allocations: 3.938 kB / 0.8365 GB, free: 440 kB / 0.8073 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.0009859/0.02349, allocations: 0.8951 MB / 0.8374 GB, free: 15.5 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.02353, allocations: 12.03 kB / 0.8374 GB, free: 15.49 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002353/0.02376, allocations: 169.8 kB / 0.8376 GB, free: 15.31 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006321/0.0244, allocations: 411.1 kB / 0.838 GB, free: 14.88 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.02442, allocations: 33.31 kB / 0.838 GB, free: 14.84 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.833e-05/0.02448, allocations: 41.88 kB / 0.838 GB, free: 14.8 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003761/0.02486, allocations: 392.5 kB / 0.8384 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.525e-05/0.02487, allocations: 0 / 0.8384 GB, free: 14.38 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.315e-05/0.02491, allocations: 16 kB / 0.8384 GB, free: 14.36 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.115e-05/0.02495, allocations: 12 kB / 0.8384 GB, free: 14.35 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001699/0.02512, allocations: 125.6 kB / 0.8386 GB, free: 14.23 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001361/0.02648, allocations: 1.115 MB / 0.8397 GB, free: 13.08 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002622/0.02674, allocations: 186.8 kB / 0.8398 GB, free: 12.89 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.0268, allocations: 66.66 kB / 0.8399 GB, free: 12.82 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001778/0.02697, allocations: 67.92 kB / 0.84 GB, free: 12.75 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.027, allocations: 38.5 kB / 0.84 GB, free: 12.71 MB / 0.823 GB Notification: Performance of pre-optimization done (n=26): time 1.553e-06/0.027, allocations: 0 / 0.84 GB, free: 12.71 MB / 0.823 GB Notification: Performance of matching and sorting (n=26): time 0.0002432/0.02725, allocations: 165.5 kB / 0.8402 GB, free: 12.54 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.511e-05/0.02727, allocations: 55.41 kB / 0.8402 GB, free: 12.47 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.02751, allocations: 360.9 kB / 0.8406 GB, free: 12.11 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.02753, allocations: 37.7 kB / 0.8406 GB, free: 12.06 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.02763, allocations: 229.4 kB / 0.8408 GB, free: 11.83 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 5.707e-05/0.02769, allocations: 99.09 kB / 0.8409 GB, free: 11.73 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.841e-05/0.02775, allocations: 69.98 kB / 0.841 GB, free: 11.66 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.02786, allocations: 358.7 kB / 0.8413 GB, free: 11.3 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.478e-05/0.0279, allocations: 31.47 kB / 0.8413 GB, free: 11.27 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.028, allocations: 181.1 kB / 0.8415 GB, free: 11.05 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001473/0.02815, allocations: 168.3 kB / 0.8417 GB, free: 10.86 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.02815, allocations: 0 / 0.8417 GB, free: 10.86 MB / 0.823 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001911/0.02834, allocations: 184.2 kB / 0.8419 GB, free: 10.67 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.02836, allocations: 11.92 kB / 0.8419 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.02837, allocations: 0 / 0.8419 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.02838, allocations: 4.219 kB / 0.8419 GB, free: 10.66 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.02857, allocations: 91.89 kB / 0.842 GB, free: 10.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.02857, allocations: 7.938 kB / 0.842 GB, free: 10.56 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.02869, allocations: 23.84 kB / 0.842 GB, free: 10.54 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.101e-05/0.02872, allocations: 15.98 kB / 0.842 GB, free: 10.52 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.00011/0.02883, allocations: 132.5 kB / 0.8421 GB, free: 10.38 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.648e-05/0.02887, allocations: 35.97 kB / 0.8422 GB, free: 10.34 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003631/0.02924, allocations: 273.2 kB / 0.8424 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.02925, allocations: 4 kB / 0.8424 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.02925, allocations: 0 / 0.8424 GB, free: 10.07 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002578/0.02951, allocations: 394.3 kB / 0.8428 GB, free: 9.613 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001182/0.03069, allocations: 0.6886 MB / 0.8435 GB, free: 8.879 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.451e-06/0.03069, allocations: 8.031 kB / 0.8435 GB, free: 8.871 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000191/0.03089, allocations: 55.91 kB / 0.8435 GB, free: 8.816 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.03099, allocations: 63.62 kB / 0.8436 GB, free: 8.754 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.915e-06/0.031, allocations: 7.984 kB / 0.8436 GB, free: 8.746 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.921e-05/0.03102, allocations: 8 kB / 0.8436 GB, free: 8.738 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.03102, allocations: 0 / 0.8436 GB, free: 8.738 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.03102, allocations: 4 kB / 0.8436 GB, free: 8.734 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003906/0.03141, allocations: 418.7 kB / 0.844 GB, free: 8.289 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.03146, allocations: 15.98 kB / 0.844 GB, free: 8.273 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.03162, allocations: 8 kB / 0.844 GB, free: 8.266 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-05/0.03165, allocations: 23.95 kB / 0.8441 GB, free: 8.242 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.413e-05/0.03168, allocations: 11.94 kB / 0.8441 GB, free: 8.23 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001514/0.03183, allocations: 151.5 kB / 0.8442 GB, free: 8.086 MB / 0.823 GB Notification: Performance of sort global known variables: time 7e-08/0.03183, allocations: 0 / 0.8442 GB, free: 8.086 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004997/0.03233, allocations: 179.6 kB / 0.8444 GB, free: 7.91 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.0003268/0.03265, allocations: 187.1 kB / 0.8446 GB, free: 7.723 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.0329, allocations: 154.2 kB / 0.8447 GB, free: 7.57 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-05/0.03291, allocations: 16.03 kB / 0.8447 GB, free: 7.555 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001572/0.03307, allocations: 110.1 kB / 0.8448 GB, free: 7.445 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001247/0.03432, allocations: 1.511 MB / 0.8463 GB, free: 5.652 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005331/0.03965, allocations: 0.8692 MB / 0.8472 GB, free: 4.727 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.03976, allocations: 125.8 kB / 0.8473 GB, free: 4.578 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0003061/0.04006, allocations: 88.2 kB / 0.8474 GB, free: 4.492 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004297/0.04049, allocations: 231.1 kB / 0.8476 GB, free: 4.266 MB / 0.823 GB Notification: Performance of SimCode: time 1.563e-06/0.0405, allocations: 0 / 0.8476 GB, free: 4.266 MB / 0.823 GB Notification: Performance of Templates: time 0.01718/0.05767, allocations: 11.17 MB / 0.8585 GB, free: 9.355 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.418261921033263]