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.001686/0.001686, allocations: 103.6 kB / 18.95 MB, free: 2.812 MB / 14.72 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.002723/0.002723, allocations: 211.4 kB / 22.24 MB, free: 5.105 MB / 14.72 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.631/1.631, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] 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 3.436/3.436, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002108/0.002108, allocations: 75.14 kB / 1.186 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4036/0.4057, allocations: 181.9 MB / 1.364 GB, free: 13.59 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.028/0.4337, allocations: 21.64 MB / 1.385 GB, free: 7.852 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008865/0.4426, allocations: 4.746 MB / 1.39 GB, free: 3.094 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.4434, allocations: 35.69 kB / 1.39 GB, free: 3.059 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.0009777/0.4444, allocations: 282 kB / 1.39 GB, free: 2.781 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002496/0.4469, allocations: 0.8358 MB / 1.391 GB, free: 1.941 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002129/0.449, allocations: 0.7863 MB / 1.392 GB, free: 1.16 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.002168/0.4512, allocations: 1.637 MB / 1.393 GB, free: 15.52 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006525/0.4518, allocations: 390.1 kB / 1.393 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001961/0.4538, allocations: 0.7394 MB / 1.394 GB, free: 14.39 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006803/0.4545, allocations: 450 kB / 1.395 GB, free: 13.95 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 8.494e-05/0.4546, allocations: 47.94 kB / 1.395 GB, free: 13.9 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001032/0.4556, allocations: 415.2 kB / 1.395 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0001827/0.4558, allocations: 143.4 kB / 1.395 GB, free: 13.36 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.0003144/0.4561, allocations: 254.9 kB / 1.395 GB, free: 13.11 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.001482/0.4576, allocations: 0.9342 MB / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.4576, allocations: 0 / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.453e-06/0.4576, allocations: 0 / 1.396 GB, free: 12.17 MB / 1.092 GB Notification: Performance of Transformations before backend: time 1.035e-05/0.4576, allocations: 3.938 kB / 1.396 GB, free: 12.16 MB / 1.092 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.001551/0.4592, allocations: 0.8315 MB / 1.397 GB, free: 11.3 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.4592, allocations: 12.03 kB / 1.397 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002525/0.4594, allocations: 68.52 kB / 1.397 GB, free: 11.22 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001152/0.4606, allocations: 0.5115 MB / 1.398 GB, free: 10.68 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.4606, allocations: 32.94 kB / 1.398 GB, free: 10.65 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.421e-05/0.4607, allocations: 39.95 kB / 1.398 GB, free: 10.61 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007934/0.4615, allocations: 0.5018 MB / 1.398 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.058e-05/0.4615, allocations: 4 kB / 1.398 GB, free: 10.07 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.4616, allocations: 16 kB / 1.398 GB, free: 10.05 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.631e-05/0.4616, allocations: 15.94 kB / 1.398 GB, free: 10.04 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005558/0.4621, allocations: 303.8 kB / 1.399 GB, free: 9.738 MB / 1.092 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002691/0.4648, allocations: 1.435 MB / 1.4 GB, free: 8.258 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000559/0.4654, allocations: 251.9 kB / 1.4 GB, free: 8.004 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001913/0.4656, allocations: 116.8 kB / 1.4 GB, free: 7.887 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004853/0.4661, allocations: 99.89 kB / 1.4 GB, free: 7.789 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/0.4661, allocations: 38.56 kB / 1.401 GB, free: 7.742 MB / 1.092 GB Notification: Performance of pre-optimization done (n=26): time 1.583e-06/0.4661, allocations: 0 / 1.401 GB, free: 7.742 MB / 1.092 GB Notification: Performance of matching and sorting (n=26): time 0.0007447/0.4669, allocations: 363.4 kB / 1.401 GB, free: 7.383 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.4669, allocations: 59.34 kB / 1.401 GB, free: 7.312 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005465/0.4675, allocations: 409.7 kB / 1.401 GB, free: 6.906 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 3.695e-05/0.4675, allocations: 33.7 kB / 1.401 GB, free: 6.867 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002473/0.4678, allocations: 284.4 kB / 1.402 GB, free: 6.582 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 9.7e-05/0.4678, allocations: 95.17 kB / 1.402 GB, free: 6.488 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001386/0.468, allocations: 66.03 kB / 1.402 GB, free: 6.418 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001999/0.4682, allocations: 350.8 kB / 1.402 GB, free: 6.066 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.4684, allocations: 96.61 kB / 1.402 GB, free: 5.973 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000309/0.4687, allocations: 245.2 kB / 1.402 GB, free: 5.691 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000451/0.4691, allocations: 279.2 kB / 1.403 GB, free: 5.395 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.4691, allocations: 0 / 1.403 GB, free: 5.395 MB / 1.092 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006336/0.4698, allocations: 365.1 kB / 1.403 GB, free: 5.031 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.4698, allocations: 11.94 kB / 1.403 GB, free: 5.02 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.4698, allocations: 0 / 1.403 GB, free: 5.02 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.173e-05/0.4698, allocations: 8.219 kB / 1.403 GB, free: 5.012 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000278/0.4701, allocations: 71.91 kB / 1.403 GB, free: 4.941 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.643e-05/0.4701, allocations: 11.92 kB / 1.403 GB, free: 4.93 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.4704, allocations: 31.78 kB / 1.403 GB, free: 4.898 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.641e-05/0.4704, allocations: 16 kB / 1.403 GB, free: 4.883 MB / 1.092 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.0002515/0.4707, allocations: 177.8 kB / 1.403 GB, free: 4.699 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.95e-05/0.4708, allocations: 47.72 kB / 1.403 GB, free: 4.652 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009143/0.4717, allocations: 480.4 kB / 1.404 GB, free: 4.176 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.219e-05/0.4717, allocations: 4 kB / 1.404 GB, free: 4.172 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.4717, allocations: 3.938 kB / 1.404 GB, free: 4.168 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006911/0.4724, allocations: 0.5687 MB / 1.404 GB, free: 3.531 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001789/0.4742, allocations: 0.9555 MB / 1.405 GB, free: 2.52 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4742, allocations: 7.875 kB / 1.405 GB, free: 2.512 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002281/0.4744, allocations: 55.91 kB / 1.405 GB, free: 2.457 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/0.4744, allocations: 4 kB / 1.405 GB, free: 2.453 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.425e-05/0.4744, allocations: 8 kB / 1.405 GB, free: 2.445 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.749e-06/0.4744, allocations: 4 kB / 1.405 GB, free: 2.441 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.4745, allocations: 4.172 kB / 1.405 GB, free: 2.438 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.4755, allocations: 0.6766 MB / 1.406 GB, free: 1.727 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001977/0.4757, allocations: 91.56 kB / 1.406 GB, free: 1.637 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.783e-05/0.4757, allocations: 8 kB / 1.406 GB, free: 1.629 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002515/0.476, allocations: 15.92 kB / 1.406 GB, free: 1.613 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.706e-05/0.476, allocations: 27.95 kB / 1.406 GB, free: 1.586 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.41e-05/0.4761, allocations: 16 kB / 1.406 GB, free: 1.57 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0003542/0.4764, allocations: 279.1 kB / 1.407 GB, free: 1.301 MB / 1.092 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4764, allocations: 0 / 1.407 GB, free: 1.301 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0006793/0.4771, allocations: 207.5 kB / 1.407 GB, free: 1.098 MB / 1.092 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005063/0.4776, allocations: 278.8 kB / 1.407 GB, free: 0.8164 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.0005453/0.4781, allocations: 283.9 kB / 1.407 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.4781, allocations: 0 / 1.407 GB, free: 0.5391 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0002573/0.4784, allocations: 165.2 kB / 1.407 GB, free: 388 kB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001229/0.4796, allocations: 256.2 kB / 1.408 GB, free: 140 kB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.4814, allocations: 1.079 MB / 1.409 GB, free: 15.01 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002901/0.4817, allocations: 262.2 kB / 1.409 GB, free: 14.73 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.000322/0.482, allocations: 108.2 kB / 1.409 GB, free: 14.62 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001183/0.4821, allocations: 63.34 kB / 1.409 GB, free: 14.56 MB / 1.107 GB Notification: Performance of SimCode: time 4.41e-07/0.4821, allocations: 0 / 1.409 GB, free: 14.56 MB / 1.107 GB Notification: Performance of Templates: time 0.02137/0.5035, allocations: 11.54 MB / 1.42 GB, free: 3.254 MB / 1.107 GB " [Timeout remaining time 299] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sensors.Examples.HeatMeter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.991449050605297]