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.0007515/0.0007515, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001781, allocations: 449.7 kB / 10.37 MB, free: 328 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.001052/0.001052, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001329/0.002381, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9483/0.9483, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09335/1.042, allocations: 53.64 MB / 243.3 MB, free: 15.58 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.901/1.901, allocations: 378.2 MB / 0.6076 GB, free: 7.816 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5634/2.464, allocations: 123.3 MB / 0.728 GB, free: 5.812 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.013e-06/2.013e-06, allocations: 0 / 0.7293 GB, free: 4.5 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.456e-05, allocations: 6.25 kB / 0.7294 GB, free: 4.492 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.01085/0.01088, allocations: 8.799 MB / 0.7379 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.006569/0.01745, allocations: 3.362 MB / 0.7412 GB, free: 8.359 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001065/0.01851, allocations: 41 kB / 0.7413 GB, free: 8.32 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0006424/0.01916, allocations: 186.6 kB / 0.7414 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.001847/0.021, allocations: 0.6561 MB / 0.7421 GB, free: 7.484 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.001477/0.02248, allocations: 0.6301 MB / 0.7427 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.002013/0.02449, allocations: 1.621 MB / 0.7443 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.02568, allocations: 437.8 kB / 0.7447 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001289/0.02697, allocations: 0.8093 MB / 0.7455 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006065/0.02757, allocations: 378.8 kB / 0.7459 GB, free: 3.645 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 9.795e-05/0.02767, allocations: 44 kB / 0.7459 GB, free: 3.602 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007291/0.0284, allocations: 275.4 kB / 0.7462 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001404/0.02854, allocations: 119.5 kB / 0.7463 GB, free: 3.215 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0002755/0.02882, allocations: 179.7 kB / 0.7464 GB, free: 3.039 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0009963/0.02981, allocations: 0.5627 MB / 0.747 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.007e-05/0.02983, allocations: 0 / 0.747 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.894e-06/0.02984, allocations: 0 / 0.747 GB, free: 2.477 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 2.089e-05/0.02986, allocations: 0 / 0.747 GB, free: 2.477 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.001255/0.03111, allocations: 0.909 MB / 0.7479 GB, free: 1.543 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.03115, allocations: 12.03 kB / 0.7479 GB, free: 1.531 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002844/0.03143, allocations: 166.8 kB / 0.7481 GB, free: 1.352 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006855/0.03212, allocations: 425.3 kB / 0.7485 GB, free: 0.9102 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.292e-05/0.03215, allocations: 33.38 kB / 0.7485 GB, free: 0.8789 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.612e-05/0.03222, allocations: 44.38 kB / 0.7485 GB, free: 0.8359 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004516/0.03267, allocations: 392.5 kB / 0.7489 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.688e-05/0.03269, allocations: 2 kB / 0.7489 GB, free: 420 kB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.083e-05/0.03272, allocations: 16 kB / 0.7489 GB, free: 404 kB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.314e-05/0.03275, allocations: 8 kB / 0.7489 GB, free: 396 kB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002229/0.03297, allocations: 121.7 kB / 0.749 GB, free: 272 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001715/0.03469, allocations: 1.126 MB / 0.7501 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003235/0.03501, allocations: 183.5 kB / 0.7503 GB, free: 14.92 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.851e-05/0.03509, allocations: 56.25 kB / 0.7504 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002237/0.03531, allocations: 65.42 kB / 0.7504 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.03535, allocations: 38.56 kB / 0.7505 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 2.755e-06/0.03535, allocations: 1.125 kB / 0.7505 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=26): time 0.0003297/0.03568, allocations: 167.9 kB / 0.7506 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.03572, allocations: 56.16 kB / 0.7507 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002969/0.03602, allocations: 353 kB / 0.751 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.03604, allocations: 34.36 kB / 0.7511 GB, free: 14.12 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001256/0.03617, allocations: 233.3 kB / 0.7513 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.03624, allocations: 99.91 kB / 0.7514 GB, free: 13.79 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.752e-05/0.03633, allocations: 66 kB / 0.7514 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.03647, allocations: 364.2 kB / 0.7518 GB, free: 13.35 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.482e-05/0.03653, allocations: 35.41 kB / 0.7518 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.03666, allocations: 177.2 kB / 0.752 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001937/0.03686, allocations: 159.5 kB / 0.7521 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.03686, allocations: 0 / 0.7521 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002765/0.03714, allocations: 191 kB / 0.7523 GB, free: 12.73 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.978e-05/0.03716, allocations: 8 kB / 0.7523 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.03716, allocations: 0 / 0.7523 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.03718, allocations: 4 kB / 0.7523 GB, free: 12.72 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/0.03745, allocations: 87.89 kB / 0.7524 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.03746, allocations: 6.562 kB / 0.7524 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001599/0.03762, allocations: 35.72 kB / 0.7525 GB, free: 12.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.882e-05/0.03765, allocations: 15.94 kB / 0.7525 GB, free: 12.58 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 0.0001167/0.03776, allocations: 128.5 kB / 0.7526 GB, free: 12.44 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.407e-05/0.03783, allocations: 39.95 kB / 0.7526 GB, free: 12.4 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004501/0.03828, allocations: 261.1 kB / 0.7529 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.325e-05/0.03829, allocations: 7.984 kB / 0.7529 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.03829, allocations: 5.125 kB / 0.7529 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003132/0.03861, allocations: 380.1 kB / 0.7533 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009846/0.03959, allocations: 0.6823 MB / 0.7539 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.0396, allocations: 5.969 kB / 0.7539 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002145/0.03981, allocations: 63.89 kB / 0.754 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001245/0.03994, allocations: 75.5 kB / 0.7541 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.742e-06/0.03994, allocations: 4 kB / 0.7541 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.03996, allocations: 8.938 kB / 0.7541 GB, free: 10.82 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.03997, allocations: 11.86 kB / 0.7541 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.03997, allocations: 4 kB / 0.7541 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.04039, allocations: 412.4 kB / 0.7545 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.871e-05/0.04044, allocations: 8 kB / 0.7545 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.04062, allocations: 9.188 kB / 0.7545 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.892e-05/0.04066, allocations: 27.89 kB / 0.7545 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.04068, allocations: 11.98 kB / 0.7545 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001696/0.04085, allocations: 152.8 kB / 0.7547 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.04085, allocations: 0 / 0.7547 GB, free: 10.16 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005307/0.04138, allocations: 175.6 kB / 0.7549 GB, free: 9.988 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.0003644/0.04175, allocations: 197.7 kB / 0.755 GB, free: 9.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.04201, allocations: 158.2 kB / 0.7552 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.421e-05/0.04202, allocations: 7.984 kB / 0.7552 GB, free: 9.629 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001168/0.04214, allocations: 84.2 kB / 0.7553 GB, free: 9.547 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000928/0.04307, allocations: 327.6 kB / 0.7556 GB, free: 9.25 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005949/0.04902, allocations: 0.8729 MB / 0.7564 GB, free: 8.328 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001117/0.04913, allocations: 125.7 kB / 0.7566 GB, free: 8.184 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004665/0.0496, allocations: 84.69 kB / 0.7566 GB, free: 8.105 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005266/0.05012, allocations: 236 kB / 0.7569 GB, free: 7.875 MB / 0.7292 GB Notification: Performance of SimCode: time 1.373e-06/0.05012, allocations: 3.938 kB / 0.7569 GB, free: 7.871 MB / 0.7292 GB Notification: Performance of Templates: time 0.01576/0.06589, allocations: 11.25 MB / 0.7679 GB, free: 12.95 MB / 0.7448 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.237603856250644]