Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001859/0.001859, allocations: 110 kB / 18.93 MB, free: 2.945 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.002213/0.002213, allocations: 184.9 kB / 22.23 MB, free: 5.16 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.558/1.558, 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 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.827/2.827, allocations: 476.7 MB / 0.7646 GB, free: 9.863 MB / 0.6231 GB
"
[Timeout remaining time 177]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_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_11_Buildings.Fluid.Sensors.Examples.HeatMeter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002076/0.002076, allocations: 71.88 kB / 1.11 GB, free: 6.273 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.9763/0.9784, allocations: 168.8 MB / 1.274 GB, free: 4.168 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.HeatMeter): time 0.02761/1.006, allocations: 23.64 MB / 1.297 GB, free: 12.44 MB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.008712/1.015, allocations: 5.127 MB / 1.302 GB, free: 7.301 MB / 0.9981 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0009518/1.016, allocations: 43.62 kB / 1.302 GB, free: 7.258 MB / 0.9981 GB
Notification: Performance of NFTyping.typeComponents: time 0.0008995/1.017, allocations: 286 kB / 1.303 GB, free: 6.977 MB / 0.9981 GB
Notification: Performance of NFTyping.typeBindings: time 0.002354/1.019, allocations: 0.8436 MB / 1.304 GB, free: 6.129 MB / 0.9981 GB
Notification: Performance of NFTyping.typeClassSections: time 0.002251/1.021, allocations: 0.7975 MB / 1.304 GB, free: 5.336 MB / 0.9981 GB
Notification: Performance of NFFlatten.flatten: time 0.002462/1.024, allocations: 1.66 MB / 1.306 GB, free: 3.668 MB / 0.9981 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0007428/1.024, allocations: 394.1 kB / 1.306 GB, free: 3.277 MB / 0.9981 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.001733/1.026, allocations: 0.6343 MB / 1.307 GB, free: 2.641 MB / 0.9981 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007327/1.027, allocations: 474 kB / 1.307 GB, free: 2.176 MB / 0.9981 GB
Notification: Performance of NFPackage.collectConstants: time 7.509e-05/1.027, allocations: 47.94 kB / 1.307 GB, free: 2.129 MB / 0.9981 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.001241/1.028, allocations: 0.5108 MB / 1.308 GB, free: 1.617 MB / 0.9981 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001846/1.028, allocations: 143.4 kB / 1.308 GB, free: 1.477 MB / 0.9981 GB
Notification: Performance of NFVerifyModel.verify: time 0.0003724/1.029, allocations: 310.5 kB / 1.308 GB, free: 1.172 MB / 0.9981 GB
Notification: Performance of NFConvertDAE.convert: time 0.001736/1.03, allocations: 0.9289 MB / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.03, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of FrontEnd: time 1.393e-06/1.03, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 GB
Notification: Performance of Transformations before backend: time 1.103e-05/1.03, allocations: 0 / 1.309 GB, free: 252 kB / 0.9981 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.001504/1.032, allocations: 0.8276 MB / 1.31 GB, free: 15.39 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.968e-05/1.032, allocations: 8.031 kB / 1.31 GB, free: 15.38 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000246/1.032, allocations: 72.55 kB / 1.31 GB, free: 15.31 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001093/1.033, allocations: 0.5075 MB / 1.311 GB, free: 14.78 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.901e-05/1.033, allocations: 36.94 kB / 1.311 GB, free: 14.74 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.903e-05/1.033, allocations: 40 kB / 1.311 GB, free: 14.7 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007587/1.034, allocations: 440.7 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.22e-05/1.034, allocations: 3.953 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/1.034, allocations: 16 kB / 1.311 GB, free: 14.23 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.408e-05/1.034, allocations: 8 kB / 1.311 GB, free: 14.22 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000544/1.035, allocations: 303.8 kB / 1.311 GB, free: 13.93 MB / 1.014 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.002832/1.038, allocations: 1.784 MB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005347/1.038, allocations: 248.7 kB / 1.313 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/1.038, allocations: 112.8 kB / 1.314 GB, free: 11.68 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0005005/1.039, allocations: 108 kB / 1.314 GB, free: 11.57 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.07e-05/1.039, allocations: 34.56 kB / 1.314 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=26): time 1.834e-06/1.039, allocations: 3.938 kB / 1.314 GB, free: 11.53 MB / 1.014 GB
Notification: Performance of matching and sorting (n=26): time 0.0007417/1.04, allocations: 371.4 kB / 1.314 GB, free: 11.16 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.292e-05/1.04, allocations: 63.28 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/1.04, allocations: 478 kB / 1.315 GB, free: 10.61 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.536e-05/1.04, allocations: 33.7 kB / 1.315 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.041, allocations: 264.4 kB / 1.315 GB, free: 10.3 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.244e-05/1.041, allocations: 99.16 kB / 1.315 GB, free: 10.21 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001123/1.041, allocations: 73.97 kB / 1.315 GB, free: 10.13 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001726/1.041, allocations: 354.8 kB / 1.315 GB, free: 9.773 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/1.041, allocations: 96.59 kB / 1.315 GB, free: 9.68 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/1.041, allocations: 180 kB / 1.316 GB, free: 9.48 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004238/1.042, allocations: 275.8 kB / 1.316 GB, free: 9.188 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.042, allocations: 0 / 1.316 GB, free: 9.188 MB / 1.014 GB
Notification: Performance of matching and sorting (n=39) (initialization): time 0.0005989/1.042, allocations: 365.1 kB / 1.316 GB, free: 8.824 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/1.042, allocations: 4 kB / 1.316 GB, free: 8.82 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/1.042, allocations: 8.219 kB / 1.316 GB, free: 8.812 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/1.042, allocations: 7.984 kB / 1.316 GB, free: 8.805 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/1.043, allocations: 75.84 kB / 1.316 GB, free: 8.73 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/1.043, allocations: 0 / 1.316 GB, free: 8.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/1.043, allocations: 39.67 kB / 1.316 GB, free: 8.691 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.68e-05/1.043, allocations: 23.92 kB / 1.316 GB, free: 8.668 MB / 1.014 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.0002072/1.043, allocations: 173.8 kB / 1.317 GB, free: 8.488 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.712e-05/1.043, allocations: 51.67 kB / 1.317 GB, free: 8.438 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001126/1.044, allocations: 481.2 kB / 1.317 GB, free: 7.965 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.461e-05/1.044, allocations: 11.92 kB / 1.317 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/1.045, allocations: 0 / 1.317 GB, free: 7.953 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006346/1.045, allocations: 0.5732 MB / 1.318 GB, free: 7.312 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/1.047, allocations: 1.075 MB / 1.319 GB, free: 6.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.047, allocations: 4.188 kB / 1.319 GB, free: 6.168 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002277/1.047, allocations: 55.91 kB / 1.319 GB, free: 6.113 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 6.562e-06/1.047, allocations: 4 kB / 1.319 GB, free: 6.109 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/1.047, allocations: 12 kB / 1.319 GB, free: 6.098 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.08e-06/1.047, allocations: 4 kB / 1.319 GB, free: 6.094 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/1.047, allocations: 3.938 kB / 1.319 GB, free: 6.09 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009474/1.048, allocations: 0.6771 MB / 1.319 GB, free: 5.379 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0002162/1.048, allocations: 111.6 kB / 1.32 GB, free: 5.27 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.801e-05/1.048, allocations: 8 kB / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/1.049, allocations: 15.97 kB / 1.32 GB, free: 5.246 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.454e-05/1.049, allocations: 27.84 kB / 1.32 GB, free: 5.219 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-05/1.049, allocations: 23.92 kB / 1.32 GB, free: 5.195 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 0.0004437/1.049, allocations: 350.8 kB / 1.32 GB, free: 4.855 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7e-08/1.049, allocations: 0 / 1.32 GB, free: 4.855 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0006707/1.05, allocations: 195.6 kB / 1.32 GB, free: 4.664 MB / 1.014 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.0006671/1.051, allocations: 289.2 kB / 1.32 GB, free: 4.379 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005207/1.051, allocations: 280.4 kB / 1.321 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.051, allocations: 0 / 1.321 GB, free: 4.105 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002652/1.051, allocations: 160.4 kB / 1.321 GB, free: 3.949 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001415/1.053, allocations: 335.5 kB / 1.321 GB, free: 3.629 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001806/1.055, allocations: 1.087 MB / 1.322 GB, free: 2.488 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004824/1.055, allocations: 0.8627 MB / 1.323 GB, free: 1.598 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 0.0003827/1.055, allocations: 116.7 kB / 1.323 GB, free: 1.484 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/1.056, allocations: 63.41 kB / 1.323 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of SimCode: time 3.91e-07/1.056, allocations: 0 / 1.323 GB, free: 1.422 MB / 1.014 GB
Notification: Performance of Templates: time 0.02337/1.079, allocations: 12.55 MB / 1.335 GB, free: 5.055 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.sim & ./Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Sensors.Examples.HeatMeter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sensors_Examples_HeatMeter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.734213329851627]