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.001234/0.001234, allocations: 114.2 kB / 18.94 MB, free: 2.785 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.001316/0.001316, allocations: 193.7 kB / 22.23 MB, free: 5.227 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.347/1.347, allocations: 225.6 MB / 251 MB, free: 13 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 2.917/2.917, allocations: 496 MB / 0.7835 GB, free: 33.76 MB / 0.6231 GB
"
[Timeout remaining time 177]
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.001987/0.001987, allocations: 64.36 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3266/0.3286, allocations: 173.6 MB / 1.307 GB, free: 1.762 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02482/0.3535, allocations: 23.67 MB / 1.33 GB, free: 10 MB / 1.029 GB
Notification: Performance of NFInst.instExpressions: time 0.008435/0.3619, allocations: 5.147 MB / 1.335 GB, free: 4.844 MB / 1.029 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3629, allocations: 35.69 kB / 1.335 GB, free: 4.809 MB / 1.029 GB
Notification: Performance of NFTyping.typeComponents: time 0.0009079/0.3638, allocations: 290 kB / 1.336 GB, free: 4.523 MB / 1.029 GB
Notification: Performance of NFTyping.typeBindings: time 0.002396/0.3662, allocations: 0.8397 MB / 1.337 GB, free: 3.68 MB / 1.029 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002068/0.3683, allocations: 0.8052 MB / 1.337 GB, free: 2.879 MB / 1.029 GB
Notification: Performance of NFFlatten.flatten: time 0.002293/0.3706, allocations: 1.645 MB / 1.339 GB, free: 1.227 MB / 1.029 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0006175/0.3712, allocations: 394.1 kB / 1.339 GB, free: 0.8359 MB / 1.029 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001833/0.373, allocations: 0.7391 MB / 1.34 GB, free: 100 kB / 1.029 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0006846/0.3737, allocations: 470 kB / 1.341 GB, free: 15.64 MB / 1.045 GB
Notification: Performance of NFPackage.collectConstants: time 7.306e-05/0.3738, allocations: 44 kB / 1.341 GB, free: 15.59 MB / 1.045 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001064/0.3748, allocations: 0.503 MB / 1.341 GB, free: 15.09 MB / 1.045 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001515/0.375, allocations: 143.5 kB / 1.341 GB, free: 14.95 MB / 1.045 GB
Notification: Performance of NFVerifyModel.verify: time 0.00032/0.3753, allocations: 314.5 kB / 1.341 GB, free: 14.64 MB / 1.045 GB
Notification: Performance of NFConvertDAE.convert: time 0.001337/0.3766, allocations: 0.9264 MB / 1.342 GB, free: 13.71 MB / 1.045 GB
Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.3766, allocations: 0 / 1.342 GB, free: 13.71 MB / 1.045 GB
Notification: Performance of FrontEnd: time 1.593e-06/0.3766, allocations: 0 / 1.342 GB, free: 13.71 MB / 1.045 GB
Notification: Performance of Transformations before backend: time 8.977e-06/0.3767, allocations: 0 / 1.342 GB, free: 13.71 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.001306/0.378, allocations: 0.8276 MB / 1.343 GB, free: 12.85 MB / 1.045 GB
Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.378, allocations: 12.92 kB / 1.343 GB, free: 12.84 MB / 1.045 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002076/0.3782, allocations: 76.5 kB / 1.343 GB, free: 12.77 MB / 1.045 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009831/0.3792, allocations: 0.4959 MB / 1.344 GB, free: 12.24 MB / 1.045 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.666e-05/0.3792, allocations: 32.94 kB / 1.344 GB, free: 12.21 MB / 1.045 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 8.231e-05/0.3793, allocations: 47.94 kB / 1.344 GB, free: 12.16 MB / 1.045 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006913/0.38, allocations: 440.7 kB / 1.344 GB, free: 11.71 MB / 1.045 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.689e-05/0.38, allocations: 0 / 1.344 GB, free: 11.71 MB / 1.045 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.636e-05/0.3801, allocations: 16 kB / 1.344 GB, free: 11.7 MB / 1.045 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.3801, allocations: 11.98 kB / 1.344 GB, free: 11.69 MB / 1.045 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004889/0.3806, allocations: 303.8 kB / 1.345 GB, free: 11.39 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.002594/0.3832, allocations: 1.78 MB / 1.346 GB, free: 9.516 MB / 1.045 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.3837, allocations: 252.1 kB / 1.347 GB, free: 9.262 MB / 1.045 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.3839, allocations: 116.8 kB / 1.347 GB, free: 9.145 MB / 1.045 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0004749/0.3843, allocations: 104 kB / 1.347 GB, free: 9.043 MB / 1.045 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/0.3844, allocations: 34.56 kB / 1.347 GB, free: 9 MB / 1.045 GB
Notification: Performance of pre-optimization done (n=26): time 1.473e-06/0.3844, allocations: 0 / 1.347 GB, free: 9 MB / 1.045 GB
Notification: Performance of matching and sorting (n=26): time 0.0007022/0.3851, allocations: 375.3 kB / 1.347 GB, free: 8.629 MB / 1.045 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.3851, allocations: 63.33 kB / 1.347 GB, free: 8.555 MB / 1.045 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.3857, allocations: 482 kB / 1.348 GB, free: 8.07 MB / 1.045 GB
Notification: Performance of collectPreVariables (initialization): time 3.624e-05/0.3857, allocations: 33.7 kB / 1.348 GB, free: 8.031 MB / 1.045 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001953/0.3859, allocations: 252.5 kB / 1.348 GB, free: 7.781 MB / 1.045 GB
Notification: Performance of collectInitialBindings (initialization): time 7.931e-05/0.386, allocations: 103 kB / 1.348 GB, free: 7.68 MB / 1.045 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001057/0.3861, allocations: 77.97 kB / 1.348 GB, free: 7.598 MB / 1.045 GB
Notification: Performance of setup shared object (initialization): time 0.000161/0.3862, allocations: 354.8 kB / 1.348 GB, free: 7.242 MB / 1.045 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001567/0.3864, allocations: 100.6 kB / 1.349 GB, free: 7.145 MB / 1.045 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002229/0.3866, allocations: 172 kB / 1.349 GB, free: 6.953 MB / 1.045 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003996/0.387, allocations: 287.1 kB / 1.349 GB, free: 6.648 MB / 1.045 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.387, allocations: 0 / 1.349 GB, free: 6.648 MB / 1.045 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005665/0.3876, allocations: 369.3 kB / 1.349 GB, free: 6.281 MB / 1.045 GB
Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3876, allocations: 8 kB / 1.349 GB, free: 6.273 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3876, allocations: 4 kB / 1.349 GB, free: 6.27 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.3876, allocations: 0 / 1.349 GB, free: 6.27 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002616/0.3879, allocations: 79.78 kB / 1.349 GB, free: 6.191 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3879, allocations: 0 / 1.349 GB, free: 6.191 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002491/0.3881, allocations: 39.72 kB / 1.349 GB, free: 6.152 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.59e-05/0.3882, allocations: 20 kB / 1.349 GB, free: 6.133 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.000198/0.3884, allocations: 177.8 kB / 1.35 GB, free: 5.949 MB / 1.045 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.559e-05/0.3885, allocations: 55.66 kB / 1.35 GB, free: 5.895 MB / 1.045 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007877/0.3893, allocations: 480.9 kB / 1.35 GB, free: 5.418 MB / 1.045 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.3893, allocations: 7.938 kB / 1.35 GB, free: 5.41 MB / 1.045 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3893, allocations: 8 kB / 1.35 GB, free: 5.402 MB / 1.045 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005997/0.3899, allocations: 0.5817 MB / 1.351 GB, free: 4.754 MB / 1.045 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001758/0.3916, allocations: 1.068 MB / 1.352 GB, free: 3.617 MB / 1.045 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3916, allocations: 0 / 1.352 GB, free: 3.617 MB / 1.045 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002119/0.3919, allocations: 51.91 kB / 1.352 GB, free: 3.566 MB / 1.045 GB
Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.3919, allocations: 4 kB / 1.352 GB, free: 3.562 MB / 1.045 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.303e-05/0.3919, allocations: 8 kB / 1.352 GB, free: 3.555 MB / 1.045 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3919, allocations: 4 kB / 1.352 GB, free: 3.551 MB / 1.045 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3919, allocations: 0 / 1.352 GB, free: 3.551 MB / 1.045 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008793/0.3928, allocations: 0.6886 MB / 1.353 GB, free: 2.828 MB / 1.045 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001923/0.393, allocations: 99.55 kB / 1.353 GB, free: 2.73 MB / 1.045 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.418e-05/0.393, allocations: 8 kB / 1.353 GB, free: 2.723 MB / 1.045 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002502/0.3933, allocations: 15.98 kB / 1.353 GB, free: 2.707 MB / 1.045 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.33e-05/0.3933, allocations: 23.95 kB / 1.353 GB, free: 2.684 MB / 1.045 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.396e-05/0.3934, allocations: 19.94 kB / 1.353 GB, free: 2.664 MB / 1.045 GB
Notification: Performance of sorting global known variables: time 0.0003988/0.3938, allocations: 350.8 kB / 1.353 GB, free: 2.324 MB / 1.045 GB
Notification: Performance of sort global known variables: time 1e-07/0.3938, allocations: 0 / 1.353 GB, free: 2.324 MB / 1.045 GB
Notification: Performance of remove unused functions: time 0.0005992/0.3943, allocations: 195.6 kB / 1.353 GB, free: 2.133 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.0005966/0.3949, allocations: 305.9 kB / 1.353 GB, free: 1.832 MB / 1.045 GB
Notification: Performance of simCode: created initialization part: time 0.0005158/0.3955, allocations: 275.7 kB / 1.354 GB, free: 1.562 MB / 1.045 GB
Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.3955, allocations: 4.438 kB / 1.354 GB, free: 1.559 MB / 1.045 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002392/0.3957, allocations: 162.8 kB / 1.354 GB, free: 1.402 MB / 1.045 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001373/0.3971, allocations: 327.8 kB / 1.354 GB, free: 1.082 MB / 1.045 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001764/0.3988, allocations: 1.083 MB / 1.355 GB, free: 15.95 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004896/0.3993, allocations: 0.8666 MB / 1.356 GB, free: 15.05 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 0.0003768/0.3997, allocations: 124.6 kB / 1.356 GB, free: 14.93 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3998, allocations: 55.42 kB / 1.356 GB, free: 14.88 MB / 1.061 GB
Notification: Performance of SimCode: time 5.21e-07/0.3998, allocations: 0 / 1.356 GB, free: 14.88 MB / 1.061 GB
Notification: Performance of Templates: time 0.02202/0.4218, allocations: 12.54 MB / 1.369 GB, free: 2.52 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: 8.558387231081724]