Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.001433/0.001433, 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.001404/0.001404, allocations: 185.8 kB / 22.22 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.474/1.474, 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.852/2.852, allocations: 476.7 MB / 0.7646 GB, free: 9.832 MB / 0.6231 GB
"
[Timeout remaining time 176]
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.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar")
translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.11 GB, free: 6.23 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.068/1.07, allocations: 168.8 MB / 1.274 GB, free: 4.125 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003236/1.073, allocations: 1.559 MB / 1.276 GB, free: 2.559 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001487/1.075, allocations: 0.769 MB / 1.277 GB, free: 1.785 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.983e-05/1.075, allocations: 8 kB / 1.277 GB, free: 1.777 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 3.634e-05/1.075, allocations: 7.922 kB / 1.277 GB, free: 1.77 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 8.336e-05/1.075, allocations: 11.86 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004485/1.075, allocations: 87.66 kB / 1.277 GB, free: 1.672 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0001251/1.075, allocations: 51.73 kB / 1.277 GB, free: 1.621 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/1.075, allocations: 11.98 kB / 1.277 GB, free: 1.609 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/1.076, allocations: 31.91 kB / 1.277 GB, free: 1.578 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.063e-05/1.076, allocations: 19.92 kB / 1.277 GB, free: 1.559 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 1.516e-05/1.076, allocations: 7.938 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001734/1.076, allocations: 71.94 kB / 1.277 GB, free: 1.48 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 2.242e-05/1.076, allocations: 11.92 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 4.048e-05/1.076, allocations: 19.88 kB / 1.277 GB, free: 1.449 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002319/1.076, allocations: 102 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/1.076, allocations: 0 / 1.277 GB, free: 1.355 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.122e-06/1.076, allocations: 0 / 1.277 GB, free: 1.355 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 6.612e-06/1.076, allocations: 4 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 5
 * Number of variables: 5
Notification: Performance of Generate backend data structure: time 0.0005026/1.077, allocations: 305.9 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 4.401e-05/1.077, allocations: 12.03 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003285/1.077, allocations: 24.86 kB / 1.277 GB, free: 0.9883 MB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.077, allocations: 114.4 kB / 1.277 GB, free: 0.8516 MB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/1.077, allocations: 384 / 1.277 GB, free: 0.8516 MB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.656e-05/1.077, allocations: 8.375 kB / 1.277 GB, free: 0.8438 MB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002578/1.077, allocations: 85.94 kB / 1.278 GB, free: 0.7539 MB / 0.9669 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/1.077, allocations: 0 / 1.278 GB, free: 0.7539 MB / 0.9669 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/1.077, allocations: 3.938 kB / 1.278 GB, free: 0.75 MB / 0.9669 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/1.077, allocations: 0 / 1.278 GB, free: 0.75 MB / 0.9669 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002616/1.078, allocations: 63.95 kB / 1.278 GB, free: 0.6875 MB / 0.9669 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005129/1.078, allocations: 295.8 kB / 1.278 GB, free: 364 kB / 0.9669 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.000254/1.078, allocations: 62.55 kB / 1.278 GB, free: 292 kB / 0.9669 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/1.079, allocations: 36.92 kB / 1.278 GB, free: 252 kB / 0.9669 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/1.079, allocations: 11.94 kB / 1.278 GB, free: 240 kB / 0.9669 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/1.079, allocations: 30.56 kB / 1.278 GB, free: 200 kB / 0.9669 GB
Notification: Performance of pre-optimization done (n=3): time 1.112e-06/1.079, allocations: 0 / 1.278 GB, free: 200 kB / 0.9669 GB
Notification: Performance of matching and sorting (n=3): time 0.0005186/1.079, allocations: 141.5 kB / 1.278 GB, free: 52 kB / 0.9669 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.536e-05/1.079, allocations: 59.41 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001154/1.079, allocations: 121.7 kB / 1.278 GB, free: 15.85 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 2.005e-05/1.079, allocations: 25.7 kB / 1.278 GB, free: 15.82 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 6.51e-05/1.079, allocations: 92.12 kB / 1.278 GB, free: 15.73 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/1.079, allocations: 7.953 kB / 1.278 GB, free: 15.72 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.08e-05/1.08, allocations: 17.7 kB / 1.278 GB, free: 15.7 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0001453/1.08, allocations: 322.8 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001345/1.08, allocations: 35.97 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001175/1.08, allocations: 31.91 kB / 1.279 GB, free: 15.3 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002438/1.08, allocations: 68.81 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/1.08, allocations: 0 / 1.279 GB, free: 15.23 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003051/1.08, allocations: 109.6 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 1.678e-05/1.08, allocations: 6.188 kB / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/1.081, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/1.081, allocations: 0 / 1.279 GB, free: 15.12 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001269/1.081, allocations: 15.98 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.081, allocations: 0 / 1.279 GB, free: 15.1 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.391e-05/1.081, allocations: 11.98 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/1.081, allocations: 4 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * 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 (3):
 * Single equations (assignments): 3
 * 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.0001048/1.081, allocations: 121.7 kB / 1.279 GB, free: 14.96 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.266e-05/1.081, allocations: 7.953 kB / 1.279 GB, free: 14.95 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.932e-05/1.081, allocations: 8 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/1.081, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/1.081, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/1.081, allocations: 4 kB / 1.279 GB, free: 14.93 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002258/1.081, allocations: 180.5 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/1.081, allocations: 0 / 1.279 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/1.081, allocations: 15.97 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.081, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/1.081, allocations: 4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/1.081, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.081, allocations: 0 / 1.279 GB, free: 14.7 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/1.082, allocations: 203.4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.022e-05/1.082, allocations: 4 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.339e-05/1.082, allocations: 3.984 kB / 1.28 GB, free: 14.47 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/1.082, allocations: 11.88 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/1.082, allocations: 15.92 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/1.082, allocations: 0 / 1.28 GB, free: 14.45 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 6.791e-05/1.082, allocations: 95.27 kB / 1.28 GB, free: 14.35 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 8e-08/1.082, allocations: 0 / 1.28 GB, free: 14.35 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0002651/1.082, allocations: 27.94 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * 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 simulation (3):
 * Single equations (assignments): 3
 * 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 Backend phase and start with SimCode phase: time 0.0001994/1.082, allocations: 119.1 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0003286/1.083, allocations: 71.92 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 1.873e-06/1.083, allocations: 4 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001396/1.083, allocations: 44.38 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/1.083, allocations: 7.938 kB / 1.28 GB, free: 14.07 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004503/1.084, allocations: 167.4 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003139/1.084, allocations: 0.6846 MB / 1.281 GB, free: 13.17 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 8.109e-05/1.084, allocations: 20.06 kB / 1.281 GB, free: 13.15 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/1.084, allocations: 15.42 kB / 1.281 GB, free: 13.14 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.2e-07/1.084, allocations: 0 / 1.281 GB, free: 13.14 MB / 0.9825 GB
Notification: Performance of Templates: time 0.003968/1.088, allocations: 1.109 MB / 1.282 GB, free: 12.04 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.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.247171767055988]