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.001585/0.001585, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002078/0.002078, allocations: 212.7 kB / 22.24 MB, free: 5.262 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.554/1.554, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.354/3.354, allocations: 0.4892 GB / 0.7943 GB, free: 35.6 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: 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.002487/0.002487, allocations: 69.8 kB / 1.154 GB, free: 25.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4036, allocations: 176.1 MB / 1.326 GB, free: 1.863 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02911/0.4328, allocations: 21.64 MB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.008952/0.4417, allocations: 4.736 MB / 1.351 GB, free: 7.395 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008611/0.4426, allocations: 43.62 kB / 1.351 GB, free: 7.352 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0009293/0.4435, allocations: 274.1 kB / 1.352 GB, free: 7.082 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002333/0.4458, allocations: 0.8425 MB / 1.352 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002246/0.4481, allocations: 0.772 MB / 1.353 GB, free: 5.469 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00245/0.4505, allocations: 1.634 MB / 1.355 GB, free: 3.828 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007187/0.4513, allocations: 398.1 kB / 1.355 GB, free: 3.43 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.4533, allocations: 0.7492 MB / 1.356 GB, free: 2.68 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006828/0.454, allocations: 438 kB / 1.356 GB, free: 2.25 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.194e-05/0.4541, allocations: 48 kB / 1.356 GB, free: 2.203 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.4552, allocations: 415.2 kB / 1.357 GB, free: 1.797 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0001771/0.4554, allocations: 147.4 kB / 1.357 GB, free: 1.652 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0003393/0.4558, allocations: 258.9 kB / 1.357 GB, free: 1.398 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001693/0.4575, allocations: 0.9342 MB / 1.358 GB, free: 472 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.4575, allocations: 4 kB / 1.358 GB, free: 468 kB / 1.045 GB Notification: Performance of FrontEnd: time 2.755e-06/0.4575, allocations: 0 / 1.358 GB, free: 468 kB / 1.045 GB Notification: Performance of Transformations before backend: time 1.742e-05/0.4575, allocations: 0 / 1.358 GB, free: 468 kB / 1.045 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.001576/0.4591, allocations: 0.8353 MB / 1.359 GB, free: 15.59 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.4591, allocations: 8.031 kB / 1.359 GB, free: 15.58 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002361/0.4593, allocations: 68.56 kB / 1.359 GB, free: 15.51 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001157/0.4605, allocations: 0.5076 MB / 1.359 GB, free: 14.98 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.966e-05/0.4605, allocations: 32.94 kB / 1.359 GB, free: 14.95 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.314e-05/0.4606, allocations: 44 kB / 1.36 GB, free: 14.91 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000908/0.4615, allocations: 0.5017 MB / 1.36 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.815e-05/0.4615, allocations: 0 / 1.36 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.4616, allocations: 16 kB / 1.36 GB, free: 14.35 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.401e-05/0.4616, allocations: 15.98 kB / 1.36 GB, free: 14.33 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005466/0.4622, allocations: 303.8 kB / 1.36 GB, free: 14.04 MB / 1.061 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.00276/0.4649, allocations: 1.443 MB / 1.362 GB, free: 12.55 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.4655, allocations: 252.1 kB / 1.362 GB, free: 12.29 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002001/0.4657, allocations: 116.7 kB / 1.362 GB, free: 12.18 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004923/0.4662, allocations: 103.9 kB / 1.362 GB, free: 12.07 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.648e-05/0.4662, allocations: 34.56 kB / 1.362 GB, free: 12.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 1.403e-06/0.4662, allocations: 4 kB / 1.362 GB, free: 12.03 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.000803/0.467, allocations: 367.3 kB / 1.363 GB, free: 11.66 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4671, allocations: 55.41 kB / 1.363 GB, free: 11.6 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006212/0.4677, allocations: 405.8 kB / 1.363 GB, free: 11.2 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4677, allocations: 29.7 kB / 1.363 GB, free: 11.16 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.4681, allocations: 276.4 kB / 1.363 GB, free: 10.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.4682, allocations: 95.17 kB / 1.363 GB, free: 10.79 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001158/0.4683, allocations: 77.97 kB / 1.363 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002989/0.4686, allocations: 350.8 kB / 1.364 GB, free: 10.36 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001804/0.4688, allocations: 96.61 kB / 1.364 GB, free: 10.26 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002969/0.4691, allocations: 241.2 kB / 1.364 GB, free: 9.984 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.4695, allocations: 278.8 kB / 1.364 GB, free: 9.688 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4695, allocations: 0 / 1.364 GB, free: 9.688 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006113/0.4701, allocations: 369.1 kB / 1.365 GB, free: 9.32 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.827e-05/0.4701, allocations: 4 kB / 1.365 GB, free: 9.316 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4701, allocations: 4 kB / 1.365 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.4701, allocations: 4 kB / 1.365 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000277/0.4704, allocations: 71.89 kB / 1.365 GB, free: 9.238 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.346e-05/0.4704, allocations: 12.16 kB / 1.365 GB, free: 9.227 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002368/0.4707, allocations: 31.78 kB / 1.365 GB, free: 9.195 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.544e-05/0.4707, allocations: 15.98 kB / 1.365 GB, free: 9.18 MB / 1.061 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.0002431/0.4709, allocations: 178.4 kB / 1.365 GB, free: 8.996 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.244e-05/0.471, allocations: 43.72 kB / 1.365 GB, free: 8.953 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001099/0.4721, allocations: 493 kB / 1.366 GB, free: 8.465 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-05/0.4722, allocations: 4 kB / 1.366 GB, free: 8.461 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4722, allocations: 3.938 kB / 1.366 GB, free: 8.457 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000695/0.4729, allocations: 0.5687 MB / 1.366 GB, free: 7.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001919/0.4748, allocations: 0.9555 MB / 1.367 GB, free: 6.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.446e-06/0.4748, allocations: 11.88 kB / 1.367 GB, free: 6.797 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002296/0.475, allocations: 47.91 kB / 1.367 GB, free: 6.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.205e-06/0.475, allocations: 4 kB / 1.367 GB, free: 6.746 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.699e-05/0.475, allocations: 8 kB / 1.367 GB, free: 6.738 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.959e-06/0.4751, allocations: 7.984 kB / 1.367 GB, free: 6.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.4751, allocations: 4 kB / 1.367 GB, free: 6.727 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.4761, allocations: 0.6793 MB / 1.368 GB, free: 6.012 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002618/0.4764, allocations: 95.77 kB / 1.368 GB, free: 5.918 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.4764, allocations: 8 kB / 1.368 GB, free: 5.91 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002613/0.4767, allocations: 15.92 kB / 1.368 GB, free: 5.895 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.846e-05/0.4767, allocations: 27.89 kB / 1.368 GB, free: 5.867 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.4768, allocations: 12 kB / 1.368 GB, free: 5.855 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003906/0.4772, allocations: 279.1 kB / 1.368 GB, free: 5.582 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4772, allocations: 4 kB / 1.368 GB, free: 5.578 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0008311/0.478, allocations: 211.4 kB / 1.368 GB, free: 5.371 MB / 1.061 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.0006875/0.4787, allocations: 278.7 kB / 1.369 GB, free: 5.09 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0006236/0.4793, allocations: 280.8 kB / 1.369 GB, free: 4.816 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4793, allocations: 0 / 1.369 GB, free: 4.816 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002792/0.4796, allocations: 159.8 kB / 1.369 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001284/0.4809, allocations: 259.6 kB / 1.369 GB, free: 4.41 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.4831, allocations: 1.068 MB / 1.37 GB, free: 3.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003135/0.4834, allocations: 262.2 kB / 1.371 GB, free: 3.016 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0003725/0.4837, allocations: 104.2 kB / 1.371 GB, free: 2.91 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.4839, allocations: 51.41 kB / 1.371 GB, free: 2.859 MB / 1.061 GB Notification: Performance of SimCode: time 4.2e-07/0.4839, allocations: 7.938 kB / 1.371 GB, free: 2.852 MB / 1.061 GB Notification: Performance of Templates: time 0.02431/0.5082, allocations: 11.56 MB / 1.382 GB, free: 7.539 MB / 1.076 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.080183643847704]