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.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.001844/0.001844, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002167/0.002167, allocations: 218.6 kB / 23.01 MB, free: 4.609 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.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.768/2.768, allocations: 476.8 MB / 0.7714 GB, free: 4.289 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.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_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: 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.001932/0.001932, allocations: 66.83 kB / 1.119 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2996, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002865/0.3025, allocations: 1.577 MB / 1.286 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001479/0.304, allocations: 0.8393 MB / 1.287 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.435e-05/0.304, allocations: 7.938 kB / 1.287 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.212e-05/0.3041, allocations: 3.938 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.931e-05/0.3042, allocations: 19.84 kB / 1.287 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003913/0.3045, allocations: 99.64 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001283/0.3047, allocations: 55.73 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.997e-05/0.3048, allocations: 19.91 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/0.3049, allocations: 27.92 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.305, allocations: 27.86 kB / 1.287 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.305, allocations: 3.938 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001565/0.3052, allocations: 75.94 kB / 1.287 GB, free: 8.461 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.3052, allocations: 3.984 kB / 1.287 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.316e-05/0.3052, allocations: 27.88 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001961/0.3054, allocations: 103.6 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.3054, allocations: 0 / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.3054, allocations: 0 / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3054, allocations: 0 / 1.287 GB, free: 8.328 MB / 0.9825 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.0004837/0.3059, allocations: 311.6 kB / 1.288 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.591e-05/0.3059, allocations: 12.03 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004712/0.3064, allocations: 44.83 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002486/0.3067, allocations: 139.3 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.3067, allocations: 8.312 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.404e-05/0.3067, allocations: 8.375 kB / 1.288 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002507/0.3069, allocations: 81.94 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3069, allocations: 0 / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.307, allocations: 3.938 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.307, allocations: 4 kB / 1.288 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.3072, allocations: 63.95 kB / 1.288 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005031/0.3077, allocations: 287.9 kB / 1.288 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000254/0.308, allocations: 74.47 kB / 1.288 GB, free: 7.203 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001389/0.3081, allocations: 40.92 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/0.3082, allocations: 7.938 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.3082, allocations: 30.56 kB / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3082, allocations: 0 / 1.288 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005221/0.3087, allocations: 145.7 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.857e-05/0.3088, allocations: 55.41 kB / 1.289 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001082/0.3089, allocations: 121.7 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.865e-05/0.3089, allocations: 25.7 kB / 1.289 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.912e-05/0.3089, allocations: 88.12 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.408e-05/0.309, allocations: 19.84 kB / 1.289 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.378e-05/0.309, allocations: 17.7 kB / 1.289 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3092, allocations: 322.8 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001358/0.3093, allocations: 35.97 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001255/0.3094, allocations: 35.91 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000246/0.3097, allocations: 64.81 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3097, allocations: 0 / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003097/0.31, allocations: 105.6 kB / 1.289 GB, free: 6.039 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.31, allocations: 4 kB / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.31, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.31, allocations: 0 / 1.289 GB, free: 6.035 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/0.3101, allocations: 19.98 kB / 1.29 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.3102, allocations: 3.984 kB / 1.29 GB, free: 6.012 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/0.3102, allocations: 7.953 kB / 1.29 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.609e-05/0.3103, allocations: 3.984 kB / 1.29 GB, free: 6 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.0001015/0.3104, allocations: 121.7 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.239e-05/0.3104, allocations: 7.938 kB / 1.29 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.729e-05/0.3104, allocations: 8 kB / 1.29 GB, free: 5.852 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.3104, allocations: 8 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.3104, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.3105, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.3107, allocations: 168.6 kB / 1.29 GB, free: 5.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.3107, allocations: 3.984 kB / 1.29 GB, free: 5.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.3108, allocations: 11.98 kB / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.3108, allocations: 0 / 1.29 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.522e-05/0.3108, allocations: 7.984 kB / 1.29 GB, free: 5.613 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.3108, allocations: 4 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3108, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003639/0.3112, allocations: 199.4 kB / 1.29 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.373e-05/0.3112, allocations: 11.95 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.931e-05/0.3112, allocations: 0 / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001116/0.3113, allocations: 7.938 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.688e-05/0.3113, allocations: 15.92 kB / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.464e-06/0.3114, allocations: 0 / 1.29 GB, free: 5.363 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.173e-05/0.3114, allocations: 95.27 kB / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3114, allocations: 0 / 1.29 GB, free: 5.27 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002836/0.3117, allocations: 35.86 kB / 1.29 GB, free: 5.234 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.0001987/0.3119, allocations: 119.2 kB / 1.29 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003306/0.3122, allocations: 75.94 kB / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3122, allocations: 0 / 1.29 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.3124, allocations: 39.91 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.3126, allocations: 9.812 kB / 1.29 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004898/0.3131, allocations: 205 kB / 1.291 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003113/0.3134, allocations: 0.6846 MB / 1.291 GB, free: 4.043 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.533e-05/0.3135, allocations: 23.8 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of SimCode: time 2.9e-07/0.3135, allocations: 0 / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of Templates: time 0.003324/0.3168, allocations: 1.343 MB / 1.293 GB, free: 2.684 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/jenkins1/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] "" 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: 10.997276251000585]