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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001799/0.001799, allocations: 100.3 kB / 19.7 MB, free: 2.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002386/0.002386, allocations: 222.1 kB / 23 MB, free: 4.914 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.565/1.565, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.338/3.338, allocations: 0.5107 GB / 0.8166 GB, free: 17.82 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002145/0.002145, allocations: 72.02 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3212, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002952/0.3242, allocations: 1.552 MB / 1.366 GB, free: 12 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001477/0.3256, allocations: 0.7607 MB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.658e-05/0.3257, allocations: 0 / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.216e-05/0.3257, allocations: 11.92 kB / 1.367 GB, free: 11.22 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.599e-05/0.3258, allocations: 11.88 kB / 1.367 GB, free: 11.21 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004326/0.3262, allocations: 107.6 kB / 1.367 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001313/0.3264, allocations: 59.72 kB / 1.367 GB, free: 11.05 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.3265, allocations: 11.95 kB / 1.367 GB, free: 11.04 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001343/0.3266, allocations: 35.84 kB / 1.367 GB, free: 11 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.909e-05/0.3267, allocations: 23.92 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3267, allocations: 7.938 kB / 1.367 GB, free: 10.97 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001594/0.3268, allocations: 71.92 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.3269, allocations: 4 kB / 1.367 GB, free: 10.89 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.445e-05/0.3269, allocations: 23.86 kB / 1.367 GB, free: 10.87 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001992/0.3271, allocations: 107.6 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.3271, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.644e-06/0.3271, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.3271, allocations: 0 / 1.367 GB, free: 10.77 MB / 1.061 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.0004743/0.3276, allocations: 302 kB / 1.368 GB, free: 10.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.187e-05/0.3276, allocations: 16.03 kB / 1.368 GB, free: 10.43 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004469/0.3281, allocations: 40.84 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3283, allocations: 138.3 kB / 1.368 GB, free: 10.23 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.199e-05/0.3283, allocations: 4.375 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.3283, allocations: 8.312 kB / 1.368 GB, free: 10.21 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002526/0.3286, allocations: 85.75 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.3286, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.058e-05/0.3286, allocations: 4 kB / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.907e-06/0.3286, allocations: 0 / 1.368 GB, free: 10.12 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/0.3288, allocations: 63.94 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004465/0.3293, allocations: 260.4 kB / 1.368 GB, free: 9.773 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.3296, allocations: 74.53 kB / 1.368 GB, free: 9.691 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001313/0.3297, allocations: 36.92 kB / 1.368 GB, free: 9.652 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.957e-05/0.3297, allocations: 4 kB / 1.368 GB, free: 9.648 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.3297, allocations: 30.56 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.3297, allocations: 0 / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0005062/0.3302, allocations: 145.5 kB / 1.368 GB, free: 9.461 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.3303, allocations: 59.39 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/0.3304, allocations: 120 kB / 1.369 GB, free: 9.266 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.689e-05/0.3304, allocations: 25.7 kB / 1.369 GB, free: 9.234 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.306e-05/0.3305, allocations: 92.12 kB / 1.369 GB, free: 9.141 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.3305, allocations: 19.81 kB / 1.369 GB, free: 9.121 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.855e-05/0.3305, allocations: 17.7 kB / 1.369 GB, free: 9.098 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.3307, allocations: 322.8 kB / 1.369 GB, free: 8.773 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.3308, allocations: 31.97 kB / 1.369 GB, free: 8.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/0.3309, allocations: 31.97 kB / 1.369 GB, free: 8.711 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002425/0.3312, allocations: 68.75 kB / 1.369 GB, free: 8.641 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3312, allocations: 4 kB / 1.369 GB, free: 8.637 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003135/0.3315, allocations: 109.5 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3315, allocations: 4 kB / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3315, allocations: 0 / 1.369 GB, free: 8.52 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.3315, allocations: 4 kB / 1.369 GB, free: 8.516 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001288/0.3317, allocations: 11.98 kB / 1.369 GB, free: 8.504 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3317, allocations: 4 kB / 1.369 GB, free: 8.5 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.938e-05/0.3317, allocations: 7.984 kB / 1.369 GB, free: 8.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.58e-05/0.3318, allocations: 7.984 kB / 1.369 GB, free: 8.484 MB / 1.061 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.029e-05/0.3318, allocations: 118.4 kB / 1.37 GB, free: 8.359 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.122e-05/0.3319, allocations: 3.953 kB / 1.37 GB, free: 8.355 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.591e-05/0.3319, allocations: 8 kB / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.3319, allocations: 0 / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.956e-06/0.3319, allocations: 0 / 1.37 GB, free: 8.336 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.3319, allocations: 4 kB / 1.37 GB, free: 8.332 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001751/0.3321, allocations: 137.2 kB / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3321, allocations: 0 / 1.37 GB, free: 8.168 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001068/0.3322, allocations: 15.97 kB / 1.37 GB, free: 8.152 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.3322, allocations: 4 kB / 1.37 GB, free: 8.148 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.377e-06/0.3322, allocations: 3.938 kB / 1.37 GB, free: 8.145 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3322, allocations: 4 kB / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.3322, allocations: 0 / 1.37 GB, free: 8.141 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003666/0.3326, allocations: 215.3 kB / 1.37 GB, free: 7.914 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.3326, allocations: 4 kB / 1.37 GB, free: 7.91 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.3326, allocations: 4 kB / 1.37 GB, free: 7.906 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001118/0.3327, allocations: 7.984 kB / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.3328, allocations: 0 / 1.37 GB, free: 7.898 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.231e-05/0.3328, allocations: 7.984 kB / 1.37 GB, free: 7.891 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.468e-05/0.3328, allocations: 91.27 kB / 1.37 GB, free: 7.801 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3328, allocations: 7.938 kB / 1.37 GB, free: 7.793 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002713/0.3331, allocations: 35.83 kB / 1.37 GB, free: 7.758 MB / 1.061 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.0001689/0.3333, allocations: 121.4 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003181/0.3336, allocations: 75.86 kB / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3336, allocations: 0 / 1.37 GB, free: 7.559 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3337, allocations: 40.44 kB / 1.37 GB, free: 7.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/0.334, allocations: 9.656 kB / 1.37 GB, free: 7.512 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004537/0.3344, allocations: 212.9 kB / 1.37 GB, free: 7.273 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.191e-05/0.3345, allocations: 63.34 kB / 1.371 GB, free: 7.191 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.04e-05/0.3346, allocations: 23.42 kB / 1.371 GB, free: 7.168 MB / 1.061 GB Notification: Performance of SimCode: time 4.11e-07/0.3346, allocations: 0 / 1.371 GB, free: 7.168 MB / 1.061 GB Notification: Performance of Templates: time 0.003132/0.3377, allocations: 1.359 MB / 1.372 GB, free: 5.82 MB / 1.061 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/jenkins1/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] "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time [Calling sys.exit(0), Time elapsed: 11.338864861987531]