Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001503/0.001503, 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.001712/0.001712, allocations: 186 kB / 22.23 MB, free: 5.164 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.32/1.32, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 2.891/2.891, allocations: 0.4893 GB / 0.7884 GB, free: 33.11 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-master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.22 kB / 1.145 GB, free: 30.71 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2993, allocations: 174.9 MB / 1.316 GB, free: 9.75 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002892/0.3022, allocations: 1.547 MB / 1.318 GB, free: 8.195 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001348/0.3035, allocations: 0.7829 MB / 1.318 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.445e-05/0.3036, allocations: 0 / 1.318 GB, free: 7.406 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.3036, allocations: 7.938 kB / 1.318 GB, free: 7.398 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 7.212e-05/0.3037, allocations: 15.8 kB / 1.318 GB, free: 7.383 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0003928/0.3041, allocations: 94.72 kB / 1.318 GB, free: 7.293 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 9.424e-05/0.3042, allocations: 47.8 kB / 1.318 GB, free: 7.246 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 8.851e-05/0.3043, allocations: 7.984 kB / 1.318 GB, free: 7.238 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.286e-05/0.3044, allocations: 27.86 kB / 1.318 GB, free: 7.211 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 7.72e-05/0.3044, allocations: 23.92 kB / 1.319 GB, free: 7.188 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.3044, allocations: 7.938 kB / 1.319 GB, free: 7.18 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001574/0.3046, allocations: 71.92 kB / 1.319 GB, free: 7.109 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.3046, allocations: 0 / 1.319 GB, free: 7.109 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.3047, allocations: 27.86 kB / 1.319 GB, free: 7.082 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0002045/0.3049, allocations: 103.6 kB / 1.319 GB, free: 6.98 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3049, allocations: 7.984 kB / 1.319 GB, free: 6.973 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.122e-06/0.3049, allocations: 0 / 1.319 GB, free: 6.973 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.039e-06/0.3049, allocations: 0 / 1.319 GB, free: 6.973 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.0004827/0.3054, allocations: 298 kB / 1.319 GB, free: 6.652 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 3.638e-05/0.3054, allocations: 12.03 kB / 1.319 GB, free: 6.641 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003232/0.3057, allocations: 24.86 kB / 1.319 GB, free: 6.617 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.3058, allocations: 122.4 kB / 1.319 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.136e-05/0.3059, allocations: 384 / 1.319 GB, free: 6.473 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.561e-05/0.3059, allocations: 4.375 kB / 1.319 GB, free: 6.469 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002599/0.3061, allocations: 77.95 kB / 1.319 GB, free: 6.387 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.208e-06/0.3061, allocations: 0 / 1.319 GB, free: 6.387 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.3062, allocations: 4 kB / 1.319 GB, free: 6.383 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.3062, allocations: 0 / 1.319 GB, free: 6.383 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002745/0.3064, allocations: 75.92 kB / 1.319 GB, free: 6.309 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.307, allocations: 295.5 kB / 1.32 GB, free: 5.977 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002803/0.3073, allocations: 74.53 kB / 1.32 GB, free: 5.895 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.3074, allocations: 36.92 kB / 1.32 GB, free: 5.855 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3074, allocations: 4 kB / 1.32 GB, free: 5.852 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.858e-05/0.3075, allocations: 34.56 kB / 1.32 GB, free: 5.809 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=3): time 9.91e-07/0.3075, allocations: 0 / 1.32 GB, free: 5.809 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3): time 0.0005674/0.308, allocations: 141.5 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/0.3081, allocations: 55.34 kB / 1.32 GB, free: 5.598 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.3082, allocations: 129.7 kB / 1.32 GB, free: 5.461 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 1.914e-05/0.3082, allocations: 25.7 kB / 1.32 GB, free: 5.43 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 5.312e-05/0.3083, allocations: 88.14 kB / 1.32 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.79e-05/0.3083, allocations: 11.89 kB / 1.32 GB, free: 5.328 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.3083, allocations: 25.7 kB / 1.32 GB, free: 5.297 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001323/0.3085, allocations: 322.8 kB / 1.321 GB, free: 4.973 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001403/0.3086, allocations: 31.97 kB / 1.321 GB, free: 4.941 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001301/0.3087, allocations: 31.97 kB / 1.321 GB, free: 4.91 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002615/0.309, allocations: 68.81 kB / 1.321 GB, free: 4.84 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.309, allocations: 0 / 1.321 GB, free: 4.84 MB / 1.014 GB
Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003255/0.3093, allocations: 101.6 kB / 1.321 GB, free: 4.734 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.3093, allocations: 4 kB / 1.321 GB, free: 4.73 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.3093, allocations: 0 / 1.321 GB, free: 4.73 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.3094, allocations: 4 kB / 1.321 GB, free: 4.727 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3095, allocations: 23.97 kB / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.182e-06/0.3095, allocations: 0 / 1.321 GB, free: 4.703 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.235e-05/0.3096, allocations: 7.984 kB / 1.321 GB, free: 4.695 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.456e-05/0.3096, allocations: 4 kB / 1.321 GB, free: 4.691 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 9.537e-05/0.3097, allocations: 109.8 kB / 1.321 GB, free: 4.574 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3098, allocations: 7.953 kB / 1.321 GB, free: 4.566 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.709e-05/0.3098, allocations: 15.98 kB / 1.321 GB, free: 4.539 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.3098, allocations: 4 kB / 1.321 GB, free: 4.535 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3098, allocations: 0 / 1.321 GB, free: 4.535 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.3098, allocations: 0 / 1.321 GB, free: 4.535 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.31, allocations: 164.4 kB / 1.321 GB, free: 4.332 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.31, allocations: 0 / 1.321 GB, free: 4.332 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000114/0.3101, allocations: 15.98 kB / 1.321 GB, free: 4.316 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.465e-06/0.3102, allocations: 0 / 1.321 GB, free: 4.316 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3102, allocations: 3.984 kB / 1.321 GB, free: 4.312 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.532e-06/0.3102, allocations: 8 kB / 1.321 GB, free: 4.305 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3102, allocations: 0 / 1.321 GB, free: 4.305 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003844/0.3106, allocations: 211.6 kB / 1.321 GB, free: 4.082 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.11e-05/0.3106, allocations: 4 kB / 1.321 GB, free: 4.078 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.897e-05/0.3106, allocations: 0 / 1.321 GB, free: 4.078 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001166/0.3107, allocations: 12.03 kB / 1.321 GB, free: 4.066 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.536e-05/0.3107, allocations: 3.984 kB / 1.321 GB, free: 4.062 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.28e-05/0.3108, allocations: 7.984 kB / 1.321 GB, free: 4.055 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 6.068e-05/0.3108, allocations: 95.27 kB / 1.321 GB, free: 3.961 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8.1e-08/0.3108, allocations: 0 / 1.321 GB, free: 3.961 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002677/0.3111, allocations: 35.83 kB / 1.321 GB, free: 3.926 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.0001799/0.3113, allocations: 111.7 kB / 1.322 GB, free: 3.809 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0003459/0.3116, allocations: 79.88 kB / 1.322 GB, free: 3.73 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.3116, allocations: 3.938 kB / 1.322 GB, free: 3.727 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001532/0.3118, allocations: 35.97 kB / 1.322 GB, free: 3.691 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002846/0.312, allocations: 15.2 kB / 1.322 GB, free: 3.68 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004628/0.3125, allocations: 167.5 kB / 1.322 GB, free: 3.492 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3128, allocations: 0.6846 MB / 1.323 GB, free: 2.781 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 7.434e-05/0.3129, allocations: 15.98 kB / 1.323 GB, free: 2.766 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.996e-05/0.3129, allocations: 19.42 kB / 1.323 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of SimCode: time 2.91e-07/0.3129, allocations: 0 / 1.323 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of Templates: time 0.003809/0.3167, allocations: 1.105 MB / 1.324 GB, free: 1.652 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300]
(rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 7.978032737970352]