Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002071/0.002071, 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.002343/0.002343, allocations: 194.5 kB / 22.11 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.548/1.548, allocations: 225.6 MB / 250.8 MB, free: 13.07 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.283/3.283, allocations: 495.8 MB / 0.783 GB, free: 33.52 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.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|lmtdSta.lmtdSta|TIn.y|TOut.y",fileNamePrefix="Buildings_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002933/0.002933, allocations: 65.67 kB / 1.137 GB, free: 33.89 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4634, allocations: 173.6 MB / 1.307 GB, free: 1.859 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003527/0.467, allocations: 1.56 MB / 1.308 GB, free: 300 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001523/0.4685, allocations: 0.7789 MB / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.871e-05/0.4685, allocations: 0 / 1.309 GB, free: 15.51 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 4.344e-05/0.4686, allocations: 7.922 kB / 1.309 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.352e-05/0.4687, allocations: 7.938 kB / 1.309 GB, free: 15.49 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0004784/0.4691, allocations: 87.66 kB / 1.309 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000133/0.4693, allocations: 51.73 kB / 1.309 GB, free: 15.36 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.4694, allocations: 19.97 kB / 1.309 GB, free: 15.34 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.4695, allocations: 31.86 kB / 1.309 GB, free: 15.3 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.4696, allocations: 19.92 kB / 1.309 GB, free: 15.29 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.4696, allocations: 4 kB / 1.309 GB, free: 15.28 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001625/0.4698, allocations: 67.94 kB / 1.309 GB, free: 15.21 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 2.464e-05/0.4698, allocations: 11.92 kB / 1.309 GB, free: 15.2 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.178e-05/0.4698, allocations: 15.94 kB / 1.309 GB, free: 15.19 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002318/0.4701, allocations: 103.6 kB / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.4701, allocations: 0 / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.953e-06/0.4701, allocations: 0 / 1.309 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.005e-06/0.4701, allocations: 4 kB / 1.309 GB, free: 15.08 MB / 1.014 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.000623/0.4707, allocations: 305.9 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.4708, allocations: 8.031 kB / 1.31 GB, free: 14.75 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003517/0.4711, allocations: 28.86 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/0.4713, allocations: 118.4 kB / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.4713, allocations: 384 / 1.31 GB, free: 14.58 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.4713, allocations: 12.38 kB / 1.31 GB, free: 14.57 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002847/0.4716, allocations: 81.88 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.4716, allocations: 0 / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.4716, allocations: 4 kB / 1.31 GB, free: 14.48 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.4716, allocations: 4 kB / 1.31 GB, free: 14.47 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.4719, allocations: 63.94 kB / 1.31 GB, free: 14.41 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005699/0.4725, allocations: 291.6 kB / 1.31 GB, free: 14.08 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.4728, allocations: 70.58 kB / 1.31 GB, free: 14 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001549/0.4729, allocations: 40.83 kB / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.788e-05/0.4729, allocations: 0 / 1.31 GB, free: 13.96 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.603e-05/0.473, allocations: 42.53 kB / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.473, allocations: 0 / 1.31 GB, free: 13.91 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.000583/0.4736, allocations: 137.6 kB / 1.311 GB, free: 13.77 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.496e-05/0.4736, allocations: 51.41 kB / 1.311 GB, free: 13.71 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.4737, allocations: 125.7 kB / 1.311 GB, free: 13.57 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.4738, allocations: 25.7 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.868e-05/0.4738, allocations: 96.11 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.808e-05/0.4739, allocations: 7.953 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.4739, allocations: 17.7 kB / 1.311 GB, free: 13.41 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001917/0.4741, allocations: 322.8 kB / 1.311 GB, free: 13.09 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.4743, allocations: 35.97 kB / 1.311 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001446/0.4744, allocations: 27.97 kB / 1.311 GB, free: 13.03 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002702/0.4747, allocations: 68.81 kB / 1.311 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4747, allocations: 0 / 1.311 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003418/0.475, allocations: 113.6 kB / 1.311 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.475, allocations: 4 kB / 1.311 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.475, allocations: 0 / 1.311 GB, free: 12.84 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.4751, allocations: 3.938 kB / 1.311 GB, free: 12.83 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.4752, allocations: 19.92 kB / 1.311 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.738e-05/0.4752, allocations: 7.984 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.107e-05/0.4753, allocations: 7.984 kB / 1.311 GB, free: 12.8 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/0.4753, allocations: 3.984 kB / 1.311 GB, free: 12.79 MB / 1.014 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.0001113/0.4755, allocations: 122.5 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.48e-05/0.4755, allocations: 7.953 kB / 1.312 GB, free: 12.66 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.452e-05/0.4755, allocations: 4 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.4755, allocations: 4 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.4755, allocations: 0 / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.4756, allocations: 4 kB / 1.312 GB, free: 12.64 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.4758, allocations: 164.5 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.4758, allocations: 0 / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001284/0.4759, allocations: 23.91 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.4759, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.4759, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.4759, allocations: 0 / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.476, allocations: 3.984 kB / 1.312 GB, free: 12.41 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000423/0.4764, allocations: 207.3 kB / 1.312 GB, free: 12.19 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.4764, allocations: 4 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.407e-05/0.4764, allocations: 3.984 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.4765, allocations: 4 kB / 1.312 GB, free: 12.18 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/0.4766, allocations: 11.98 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.028e-05/0.4766, allocations: 4 kB / 1.312 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.335e-05/0.4767, allocations: 91.27 kB / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of sort global known variables: time 1e-07/0.4767, allocations: 0 / 1.312 GB, free: 12.07 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002934/0.477, allocations: 27.88 kB / 1.312 GB, free: 12.04 MB / 1.014 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.0002102/0.4772, allocations: 116.4 kB / 1.312 GB, free: 11.92 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003824/0.4776, allocations: 80.3 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4776, allocations: 3.938 kB / 1.312 GB, free: 11.84 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.4777, allocations: 39.91 kB / 1.312 GB, free: 11.8 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.4781, allocations: 13.69 kB / 1.312 GB, free: 11.79 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000507/0.4786, allocations: 175.5 kB / 1.313 GB, free: 11.59 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003691/0.4789, allocations: 0.6885 MB / 1.313 GB, free: 10.88 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.952e-05/0.479, allocations: 15.98 kB / 1.313 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.4791, allocations: 15.42 kB / 1.313 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of SimCode: time 5.01e-07/0.4791, allocations: 0 / 1.313 GB, free: 10.85 MB / 1.014 GB
Notification: Performance of Templates: time 0.004172/0.4832, allocations: 1.103 MB / 1.314 GB, free: 9.75 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.497936404310167]