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.001717/0.001717, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002101/0.002101, allocations: 216.7 kB / 22.99 MB, free: 4.945 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.172/3.172, allocations: 0.4892 GB / 0.7951 GB, free: 35.52 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.002093/0.002093, allocations: 69.33 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3991/0.4011, allocations: 176.1 MB / 1.326 GB, free: 1.816 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.03482/0.436, allocations: 21.65 MB / 1.347 GB, free: 12.08 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01252/0.4485, allocations: 4.727 MB / 1.352 GB, free: 7.344 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001513/0.45, allocations: 43.62 kB / 1.352 GB, free: 7.301 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.001531/0.4515, allocations: 286 kB / 1.352 GB, free: 7.02 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003869/0.4554, allocations: 0.8358 MB / 1.353 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.003331/0.4587, allocations: 0.7713 MB / 1.354 GB, free: 5.414 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00362/0.4624, allocations: 1.633 MB / 1.356 GB, free: 3.777 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001188/0.4635, allocations: 406.1 kB / 1.356 GB, free: 3.371 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.4666, allocations: 0.7456 MB / 1.357 GB, free: 2.625 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001362/0.4679, allocations: 438 kB / 1.357 GB, free: 2.195 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0001939/0.4681, allocations: 48 kB / 1.357 GB, free: 2.148 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001781/0.4699, allocations: 411.2 kB / 1.358 GB, free: 1.746 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.0004148/0.4703, allocations: 147.4 kB / 1.358 GB, free: 1.602 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0008152/0.4711, allocations: 258.9 kB / 1.358 GB, free: 1.348 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.002961/0.4741, allocations: 0.9303 MB / 1.359 GB, free: 424 kB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.4741, allocations: 0 / 1.359 GB, free: 424 kB / 1.045 GB Notification: Performance of FrontEnd: time 1.944e-06/0.4741, allocations: 0 / 1.359 GB, free: 424 kB / 1.045 GB Notification: Performance of Transformations before backend: time 3.367e-05/0.4741, allocations: 4 kB / 1.359 GB, free: 420 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.002569/0.4767, allocations: 0.8353 MB / 1.36 GB, free: 15.54 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.4e-05/0.4768, allocations: 8.031 kB / 1.36 GB, free: 15.53 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/0.4772, allocations: 68.56 kB / 1.36 GB, free: 15.46 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00181/0.479, allocations: 0.5115 MB / 1.36 GB, free: 14.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.561e-05/0.479, allocations: 36.92 kB / 1.36 GB, free: 14.89 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.4792, allocations: 40 kB / 1.36 GB, free: 14.86 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001396/0.4806, allocations: 0.5017 MB / 1.361 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.4806, allocations: 0 / 1.361 GB, free: 14.31 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.729e-05/0.4806, allocations: 23.92 kB / 1.361 GB, free: 14.29 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.31e-05/0.4807, allocations: 12 kB / 1.361 GB, free: 14.28 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008564/0.4815, allocations: 303.8 kB / 1.361 GB, free: 13.98 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.00391/0.4854, allocations: 1.443 MB / 1.363 GB, free: 12.49 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008513/0.4863, allocations: 250.7 kB / 1.363 GB, free: 12.24 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002773/0.4866, allocations: 112.8 kB / 1.363 GB, free: 12.12 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006321/0.4872, allocations: 99.89 kB / 1.363 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.829e-05/0.4872, allocations: 34.56 kB / 1.363 GB, free: 11.98 MB / 1.061 GB Notification: Performance of pre-optimization done (n=26): time 2.976e-06/0.4872, allocations: 0 / 1.363 GB, free: 11.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=26): time 0.001163/0.4884, allocations: 370.8 kB / 1.363 GB, free: 11.62 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.4885, allocations: 59.41 kB / 1.363 GB, free: 11.55 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.4895, allocations: 409.8 kB / 1.364 GB, free: 11.14 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.753e-05/0.4896, allocations: 29.7 kB / 1.364 GB, free: 11.11 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.4899, allocations: 268.4 kB / 1.364 GB, free: 10.84 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001402/0.49, allocations: 103.2 kB / 1.364 GB, free: 10.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001728/0.4902, allocations: 73.97 kB / 1.364 GB, free: 10.66 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0003245/0.4905, allocations: 354.8 kB / 1.365 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.4908, allocations: 96.61 kB / 1.365 GB, free: 10.21 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004347/0.4912, allocations: 241.2 kB / 1.365 GB, free: 9.93 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008259/0.492, allocations: 278.7 kB / 1.365 GB, free: 9.633 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/0.492, allocations: 0 / 1.365 GB, free: 9.633 MB / 1.061 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009475/0.493, allocations: 369.1 kB / 1.366 GB, free: 9.266 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.493, allocations: 10.25 kB / 1.366 GB, free: 9.258 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.493, allocations: 4 kB / 1.366 GB, free: 9.254 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.38e-05/0.493, allocations: 4.047 kB / 1.366 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004278/0.4935, allocations: 71.89 kB / 1.366 GB, free: 9.18 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.363e-05/0.4935, allocations: 11.92 kB / 1.366 GB, free: 9.168 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003922/0.4939, allocations: 27.78 kB / 1.366 GB, free: 9.141 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.607e-05/0.4939, allocations: 16 kB / 1.366 GB, free: 9.125 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.0003402/0.4943, allocations: 178.4 kB / 1.366 GB, free: 8.941 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001601/0.4944, allocations: 43.72 kB / 1.366 GB, free: 8.898 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001285/0.4957, allocations: 489 kB / 1.366 GB, free: 8.414 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.585e-05/0.4957, allocations: 4 kB / 1.366 GB, free: 8.41 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.4957, allocations: 3.938 kB / 1.366 GB, free: 8.406 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009501/0.4967, allocations: 0.5687 MB / 1.367 GB, free: 7.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002242/0.4989, allocations: 0.9516 MB / 1.368 GB, free: 6.762 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.19e-05/0.4989, allocations: 7.938 kB / 1.368 GB, free: 6.754 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003334/0.4993, allocations: 47.91 kB / 1.368 GB, free: 6.707 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.664e-06/0.4993, allocations: 4 kB / 1.368 GB, free: 6.703 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.4993, allocations: 12 kB / 1.368 GB, free: 6.691 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/0.4993, allocations: 8.188 kB / 1.368 GB, free: 6.684 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.4993, allocations: 4 kB / 1.368 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.5004, allocations: 0.6832 MB / 1.369 GB, free: 5.961 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000225/0.5006, allocations: 91.58 kB / 1.369 GB, free: 5.871 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.52e-05/0.5007, allocations: 8 kB / 1.369 GB, free: 5.863 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002626/0.501, allocations: 19.86 kB / 1.369 GB, free: 5.844 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.501, allocations: 27.91 kB / 1.369 GB, free: 5.816 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.38e-05/0.501, allocations: 11.98 kB / 1.369 GB, free: 5.805 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003583/0.5014, allocations: 283.1 kB / 1.369 GB, free: 5.527 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.5014, allocations: 4 kB / 1.369 GB, free: 5.523 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0007028/0.5021, allocations: 211.4 kB / 1.369 GB, free: 5.316 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.0005943/0.5027, allocations: 274.8 kB / 1.369 GB, free: 5.039 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0005927/0.5033, allocations: 284.7 kB / 1.37 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.5033, allocations: 448 / 1.37 GB, free: 4.762 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0002663/0.5036, allocations: 162.4 kB / 1.37 GB, free: 4.605 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001326/0.5049, allocations: 261.3 kB / 1.37 GB, free: 4.359 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002267/0.5071, allocations: 1.093 MB / 1.371 GB, free: 3.215 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/0.5075, allocations: 262.2 kB / 1.371 GB, free: 2.93 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000134/0.5076, allocations: 51.42 kB / 1.371 GB, free: 2.883 MB / 1.061 GB Notification: Performance of SimCode: time 4.41e-07/0.5076, allocations: 3.938 kB / 1.372 GB, free: 2.879 MB / 1.061 GB Notification: Performance of Templates: time 0.01612/0.5237, allocations: 9.183 MB / 1.38 GB, free: 9.762 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/jenkins1/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: 12.876870315056294]