Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.000775/0.000775, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001912, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006745/0.0006745, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009443/0.001619, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9522/0.9522, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08348/1.036, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.834/1.834, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4929/2.326, allocations: 123.3 MB / 0.7284 GB, free: 5.719 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/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_12_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_12_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.7297 GB, free: 4.379 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.441e-05/2.673e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01057/0.0106, allocations: 8.803 MB / 0.7383 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004476/0.01507, allocations: 3.37 MB / 0.7416 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005851/0.01566, allocations: 35.69 kB / 0.7416 GB, free: 8.203 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000394/0.01605, allocations: 179.2 kB / 0.7418 GB, free: 8.027 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001189/0.01724, allocations: 0.6553 MB / 0.7424 GB, free: 7.375 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001116/0.01836, allocations: 0.6443 MB / 0.743 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001561/0.01992, allocations: 1.613 MB / 0.7446 GB, free: 5.113 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008837/0.0208, allocations: 436.3 kB / 0.745 GB, free: 4.699 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.02184, allocations: 0.8046 MB / 0.7458 GB, free: 3.906 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005109/0.02235, allocations: 378.8 kB / 0.7462 GB, free: 3.535 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 6.483e-05/0.02241, allocations: 44 kB / 0.7462 GB, free: 3.492 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005432/0.02296, allocations: 279.4 kB / 0.7465 GB, free: 3.219 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001095/0.02307, allocations: 125.1 kB / 0.7466 GB, free: 3.098 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001593/0.02323, allocations: 179.7 kB / 0.7468 GB, free: 2.922 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0007298/0.02396, allocations: 0.5606 MB / 0.7473 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.178e-05/0.02397, allocations: 0 / 0.7473 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.483e-06/0.02397, allocations: 1.062 kB / 0.7473 GB, free: 2.359 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.428e-05/0.02398, allocations: 4 kB / 0.7473 GB, free: 2.355 MB / 0.7136 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.0009476/0.02493, allocations: 0.9132 MB / 0.7482 GB, free: 1.418 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.02496, allocations: 8.031 kB / 0.7482 GB, free: 1.41 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002116/0.02517, allocations: 162.5 kB / 0.7484 GB, free: 1.234 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005003/0.02567, allocations: 421.8 kB / 0.7488 GB, free: 0.7969 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.041e-05/0.02569, allocations: 29.38 kB / 0.7488 GB, free: 0.7695 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.849e-05/0.02574, allocations: 44.38 kB / 0.7489 GB, free: 0.7266 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003184/0.02606, allocations: 392.5 kB / 0.7492 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.02607, allocations: 0.5938 kB / 0.7492 GB, free: 308 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.428e-05/0.0261, allocations: 17.5 kB / 0.7493 GB, free: 292 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.607e-05/0.02612, allocations: 12 kB / 0.7493 GB, free: 280 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001487/0.02627, allocations: 125.7 kB / 0.7494 GB, free: 152 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001256/0.02753, allocations: 1.119 MB / 0.7505 GB, free: 15 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002483/0.02778, allocations: 182.9 kB / 0.7507 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.472e-05/0.02783, allocations: 55.66 kB / 0.7507 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.02799, allocations: 62.03 kB / 0.7508 GB, free: 14.69 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.02801, allocations: 38.56 kB / 0.7508 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.633e-06/0.02801, allocations: 0 / 0.7508 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.0002301/0.02824, allocations: 170.3 kB / 0.751 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.02827, allocations: 55.41 kB / 0.751 GB, free: 14.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002221/0.02849, allocations: 353 kB / 0.7514 GB, free: 14.05 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.02851, allocations: 33.7 kB / 0.7514 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001041/0.02861, allocations: 245.3 kB / 0.7516 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.02866, allocations: 91.17 kB / 0.7517 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.907e-05/0.02873, allocations: 65.98 kB / 0.7518 GB, free: 13.61 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.893e-05/0.02882, allocations: 364.3 kB / 0.7521 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.55e-05/0.02886, allocations: 35.47 kB / 0.7521 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.829e-05/0.02896, allocations: 177.2 kB / 0.7523 GB, free: 12.99 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001428/0.0291, allocations: 163.2 kB / 0.7525 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.02911, allocations: 2.75 kB / 0.7525 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0001929/0.0293, allocations: 196.7 kB / 0.7527 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.02931, allocations: 8 kB / 0.7527 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.02932, allocations: 0 / 0.7527 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.02933, allocations: 6.938 kB / 0.7527 GB, free: 12.6 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001804/0.02951, allocations: 87.89 kB / 0.7528 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.02952, allocations: 0 / 0.7528 GB, free: 12.51 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.02963, allocations: 35.73 kB / 0.7528 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.002e-05/0.02965, allocations: 15.98 kB / 0.7528 GB, free: 12.46 MB / 0.7292 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 9.011e-05/0.02974, allocations: 137.1 kB / 0.7529 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/0.02978, allocations: 31.97 kB / 0.753 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003073/0.03008, allocations: 264.6 kB / 0.7532 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.894e-06/0.03009, allocations: 4.75 kB / 0.7532 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.393e-06/0.03009, allocations: 0 / 0.7532 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001793/0.03027, allocations: 383.8 kB / 0.7536 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007184/0.03099, allocations: 0.6872 MB / 0.7543 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.031, allocations: 1.594 kB / 0.7543 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001421/0.03114, allocations: 59.91 kB / 0.7543 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.634e-05/0.03122, allocations: 83.5 kB / 0.7544 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.03123, allocations: 4 kB / 0.7544 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.03124, allocations: 4.969 kB / 0.7544 GB, free: 10.7 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.03125, allocations: 7.938 kB / 0.7544 GB, free: 10.69 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.03125, allocations: 7.938 kB / 0.7544 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003195/0.03157, allocations: 409.4 kB / 0.7548 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.171e-05/0.0316, allocations: 8 kB / 0.7548 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001106/0.03171, allocations: 8.094 kB / 0.7548 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.03174, allocations: 35.81 kB / 0.7549 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.88e-05/0.03176, allocations: 12 kB / 0.7549 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001154/0.03188, allocations: 153 kB / 0.755 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.03188, allocations: 0 / 0.755 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003694/0.03225, allocations: 179.6 kB / 0.7552 GB, free: 9.859 MB / 0.7292 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.0002768/0.03252, allocations: 188.2 kB / 0.7554 GB, free: 9.676 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.03273, allocations: 157.8 kB / 0.7555 GB, free: 9.52 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/0.03274, allocations: 8.906 kB / 0.7555 GB, free: 9.512 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.03286, allocations: 121.5 kB / 0.7557 GB, free: 9.391 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009649/0.03383, allocations: 1.577 MB / 0.7572 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003598/0.03742, allocations: 0.8736 MB / 0.758 GB, free: 6.613 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.515e-05/0.0375, allocations: 121.8 kB / 0.7582 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002226/0.03772, allocations: 87.53 kB / 0.7582 GB, free: 6.391 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000336/0.03806, allocations: 236.1 kB / 0.7585 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of SimCode: time 1.183e-06/0.03806, allocations: 0 / 0.7585 GB, free: 6.16 MB / 0.7292 GB Notification: Performance of Templates: time 0.01322/0.05128, allocations: 11.34 MB / 0.7695 GB, free: 11.16 MB / 0.7449 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter/Buildings_12_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.2440012358129025]