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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001888/0.001888, allocations: 105.8 kB / 18.84 MB, free: 3.043 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002803/0.002803, allocations: 188 kB / 22.1 MB, free: 5.152 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.489/1.489, allocations: 225.6 MB / 250.8 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.318/3.318, allocations: 495.8 MB / 0.783 GB, free: 33.59 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.00208/0.00208, allocations: 66.23 kB / 1.137 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3549, allocations: 173.6 MB / 1.307 GB, free: 1.867 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02845/0.3834, allocations: 23.46 MB / 1.33 GB, free: 10.32 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.008828/0.3922, allocations: 5.097 MB / 1.335 GB, free: 5.211 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001007/0.3932, allocations: 35.69 kB / 1.335 GB, free: 5.176 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009113/0.3941, allocations: 286 kB / 1.335 GB, free: 4.895 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.002486/0.3966, allocations: 0.8396 MB / 1.336 GB, free: 4.051 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002122/0.3987, allocations: 0.8092 MB / 1.337 GB, free: 3.246 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.002545/0.4013, allocations: 1.652 MB / 1.338 GB, free: 1.59 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007075/0.402, allocations: 394.1 kB / 1.339 GB, free: 1.199 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002053/0.404, allocations: 0.727 MB / 1.339 GB, free: 484 kB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0008329/0.4049, allocations: 474 kB / 1.34 GB, free: 8 kB / 1.029 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001454/0.405, allocations: 44.05 kB / 1.34 GB, free: 15.96 MB / 1.045 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001435/0.4065, allocations: 419.2 kB / 1.34 GB, free: 15.55 MB / 1.045 GB
Notification: Performance of NFScalarize.scalarize: time 0.0002499/0.4067, allocations: 143.4 kB / 1.34 GB, free: 15.41 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.000514/0.4072, allocations: 314.5 kB / 1.341 GB, free: 15.11 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.002128/0.4093, allocations: 0.907 MB / 1.341 GB, free: 14.2 MB / 1.045 GB
Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.4094, allocations: 0 / 1.341 GB, free: 14.2 MB / 1.045 GB
Notification: Performance of FrontEnd: time 3.787e-06/0.4094, allocations: 0 / 1.341 GB, free: 14.2 MB / 1.045 GB
Notification: Performance of Transformations before backend: time 2.386e-05/0.4094, allocations: 3.938 kB / 1.341 GB, free: 14.19 MB / 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.00196/0.4113, allocations: 0.8295 MB / 1.342 GB, free: 13.33 MB / 1.045 GB
Notification: Performance of prepare preOptimizeDAE: time 5.806e-05/0.4114, allocations: 8.031 kB / 1.342 GB, free: 13.32 MB / 1.045 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003321/0.4117, allocations: 68.56 kB / 1.342 GB, free: 13.26 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.4131, allocations: 0.5114 MB / 1.343 GB, free: 12.72 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.272e-05/0.4132, allocations: 32.94 kB / 1.343 GB, free: 12.69 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.754e-05/0.4133, allocations: 40 kB / 1.343 GB, free: 12.65 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008117/0.4141, allocations: 444.6 kB / 1.343 GB, free: 12.2 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.163e-05/0.4141, allocations: 3.953 kB / 1.343 GB, free: 12.19 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.569e-05/0.4141, allocations: 16 kB / 1.343 GB, free: 12.18 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.443e-05/0.4142, allocations: 12 kB / 1.343 GB, free: 12.16 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005787/0.4147, allocations: 307.8 kB / 1.344 GB, free: 11.86 MB / 1.045 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.003012/0.4178, allocations: 1.77 MB / 1.345 GB, free: 10 MB / 1.045 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005833/0.4183, allocations: 254.7 kB / 1.346 GB, free: 9.742 MB / 1.045 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/0.4185, allocations: 116.7 kB / 1.346 GB, free: 9.625 MB / 1.045 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005347/0.4191, allocations: 99.89 kB / 1.346 GB, free: 9.527 MB / 1.045 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.4191, allocations: 38.56 kB / 1.346 GB, free: 9.48 MB / 1.045 GB
Notification: Performance of pre-optimization done (n=26): time 1.924e-06/0.4191, allocations: 0 / 1.346 GB, free: 9.48 MB / 1.045 GB
Notification: Performance of matching and sorting (n=26): time 0.0007925/0.4199, allocations: 375.6 kB / 1.346 GB, free: 9.109 MB / 1.045 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.42, allocations: 59.34 kB / 1.346 GB, free: 9.039 MB / 1.045 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006456/0.4206, allocations: 482 kB / 1.347 GB, free: 8.555 MB / 1.045 GB
Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.4207, allocations: 29.7 kB / 1.347 GB, free: 8.52 MB / 1.045 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.4209, allocations: 260.5 kB / 1.347 GB, free: 8.262 MB / 1.045 GB
Notification: Performance of collectInitialBindings (initialization): time 9.789e-05/0.421, allocations: 99.11 kB / 1.347 GB, free: 8.164 MB / 1.045 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001339/0.4211, allocations: 77.97 kB / 1.347 GB, free: 8.082 MB / 1.045 GB
Notification: Performance of setup shared object (initialization): time 0.0001886/0.4213, allocations: 358.8 kB / 1.348 GB, free: 7.723 MB / 1.045 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/0.4215, allocations: 100.6 kB / 1.348 GB, free: 7.625 MB / 1.045 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002999/0.4218, allocations: 168 kB / 1.348 GB, free: 7.438 MB / 1.045 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0005032/0.4223, allocations: 283.2 kB / 1.348 GB, free: 7.137 MB / 1.045 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/0.4223, allocations: 0 / 1.348 GB, free: 7.137 MB / 1.045 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.00071/0.423, allocations: 369 kB / 1.348 GB, free: 6.77 MB / 1.045 GB
Notification: Performance of prepare postOptimizeDAE: time 2.46e-05/0.423, allocations: 13.19 kB / 1.348 GB, free: 6.758 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4231, allocations: 0 / 1.348 GB, free: 6.758 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.4231, allocations: 4 kB / 1.348 GB, free: 6.754 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003123/0.4234, allocations: 79.83 kB / 1.349 GB, free: 6.676 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.4234, allocations: 4 kB / 1.349 GB, free: 6.672 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003135/0.4237, allocations: 39.95 kB / 1.349 GB, free: 6.633 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.613e-05/0.4238, allocations: 19.98 kB / 1.349 GB, free: 6.613 MB / 1.045 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.000254/0.424, allocations: 173.8 kB / 1.349 GB, free: 6.434 MB / 1.045 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.4241, allocations: 51.67 kB / 1.349 GB, free: 6.383 MB / 1.045 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009468/0.4251, allocations: 484.8 kB / 1.349 GB, free: 5.902 MB / 1.045 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-05/0.4251, allocations: 15.92 kB / 1.349 GB, free: 5.887 MB / 1.045 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.4251, allocations: 0 / 1.349 GB, free: 5.887 MB / 1.045 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007191/0.4258, allocations: 0.5662 MB / 1.35 GB, free: 5.254 MB / 1.045 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.4279, allocations: 1.076 MB / 1.351 GB, free: 4.109 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.007e-05/0.4279, allocations: 11.98 kB / 1.351 GB, free: 4.098 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002585/0.4282, allocations: 43.92 kB / 1.351 GB, free: 4.055 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (simulation): time 7.734e-06/0.4282, allocations: 4 kB / 1.351 GB, free: 4.051 MB / 1.045 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.751e-05/0.4282, allocations: 11.98 kB / 1.351 GB, free: 4.039 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.468e-06/0.4282, allocations: 4.188 kB / 1.351 GB, free: 4.035 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.4282, allocations: 8 kB / 1.351 GB, free: 4.027 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001069/0.4293, allocations: 0.6882 MB / 1.352 GB, free: 3.305 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.000223/0.4295, allocations: 99.53 kB / 1.352 GB, free: 3.207 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.535e-05/0.4296, allocations: 8 kB / 1.352 GB, free: 3.199 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002837/0.4299, allocations: 8 kB / 1.352 GB, free: 3.191 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.4299, allocations: 31.89 kB / 1.352 GB, free: 3.16 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.059e-05/0.43, allocations: 23.92 kB / 1.352 GB, free: 3.137 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.0004877/0.4305, allocations: 342.9 kB / 1.352 GB, free: 2.805 MB / 1.045 GB
Notification: Performance of sort global known variables: time 9e-08/0.4305, allocations: 0 / 1.352 GB, free: 2.805 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.000736/0.4312, allocations: 203.6 kB / 1.352 GB, free: 2.605 MB / 1.045 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.000714/0.4319, allocations: 293.6 kB / 1.353 GB, free: 2.32 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.0006032/0.4325, allocations: 279.8 kB / 1.353 GB, free: 2.047 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.4325, allocations: 0 / 1.353 GB, free: 2.047 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.0003048/0.4328, allocations: 159.5 kB / 1.353 GB, free: 1.895 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.4345, allocations: 327.1 kB / 1.353 GB, free: 1.574 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.4367, allocations: 1.095 MB / 1.354 GB, free: 440 kB / 1.045 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.4373, allocations: 0.8666 MB / 1.355 GB, free: 15.53 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0004977/0.4378, allocations: 120.6 kB / 1.355 GB, free: 15.41 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001494/0.438, allocations: 51.42 kB / 1.355 GB, free: 15.37 MB / 1.061 GB
Notification: Performance of SimCode: time 2.675e-06/0.438, allocations: 0 / 1.355 GB, free: 15.37 MB / 1.061 GB
Notification: Performance of Templates: time 0.02689/0.4649, allocations: 12.55 MB / 1.368 GB, free: 3.004 MB / 1.061 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=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: 9.670566623099148]