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.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.001842/0.001842, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002371/0.002371, allocations: 220 kB / 23.04 MB, free: 4.844 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.468/1.468, allocations: 230.6 MB / 256.8 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.113/3.113, allocations: 0.49 GB / 0.7959 GB, free: 35.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_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: 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.002044/0.002044, allocations: 65.64 kB / 1.155 GB, free: 25.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3185/0.3205, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003403/0.3239, allocations: 1.562 MB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001603/0.3255, allocations: 0.7714 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.486e-05/0.3256, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.871e-05/0.3256, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.13e-05/0.3257, allocations: 11.86 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004556/0.3261, allocations: 105.8 kB / 1.33 GB, free: 14.51 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001401/0.3263, allocations: 55.78 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.3264, allocations: 12 kB / 1.33 GB, free: 14.44 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.3265, allocations: 31.91 kB / 1.33 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.3266, allocations: 31.84 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.402e-05/0.3266, allocations: 7.938 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.3268, allocations: 63.94 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.955e-05/0.3268, allocations: 7.938 kB / 1.33 GB, free: 14.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.457e-05/0.3268, allocations: 19.92 kB / 1.33 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002076/0.327, allocations: 107.6 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.327, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.793e-06/0.327, allocations: 7.938 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.3271, allocations: 0 / 1.33 GB, free: 14.17 MB / 1.029 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.0005162/0.3276, allocations: 309.9 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.3276, allocations: 8.031 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004754/0.3281, allocations: 40.84 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3283, allocations: 134.4 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.3283, allocations: 8.375 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.3284, allocations: 4.312 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002615/0.3286, allocations: 85.94 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3286, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.227e-05/0.3286, allocations: 3.938 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3286, allocations: 0 / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002605/0.3289, allocations: 71.94 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004543/0.3294, allocations: 240.6 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002669/0.3296, allocations: 74.47 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001341/0.3298, allocations: 40.92 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3298, allocations: 7.938 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.729e-05/0.3298, allocations: 30.56 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3298, allocations: 0 / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005222/0.3303, allocations: 145.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.3304, allocations: 51.41 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001132/0.3305, allocations: 121.8 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3305, allocations: 29.7 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.695e-05/0.3306, allocations: 96.11 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.3306, allocations: 23.84 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.57e-05/0.3306, allocations: 17.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.3308, allocations: 318.8 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.3309, allocations: 31.98 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.331, allocations: 31.91 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002416/0.3313, allocations: 68.81 kB / 1.332 GB, free: 12.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.3313, allocations: 3.938 kB / 1.332 GB, free: 12.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003178/0.3316, allocations: 101.6 kB / 1.332 GB, free: 11.94 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.3316, allocations: 8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.3316, allocations: 4 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.3316, allocations: 0 / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001335/0.3318, allocations: 19.97 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3318, allocations: 0 / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.3319, allocations: 7.953 kB / 1.332 GB, free: 11.9 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/0.3319, allocations: 3.984 kB / 1.332 GB, free: 11.89 MB / 1.029 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.897e-05/0.332, allocations: 121.7 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.332, allocations: 4 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.668e-05/0.3321, allocations: 11.94 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.719e-06/0.3321, allocations: 7.938 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3321, allocations: 4 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.3321, allocations: 0 / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.3322, allocations: 137.2 kB / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3322, allocations: 0 / 1.332 GB, free: 11.56 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.3323, allocations: 19.97 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3323, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.3324, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.155e-05/0.3324, allocations: 8 kB / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.3324, allocations: 0 / 1.332 GB, free: 11.54 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003662/0.3327, allocations: 195.4 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.999e-06/0.3327, allocations: 7.953 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.016e-05/0.3328, allocations: 7.984 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001145/0.3329, allocations: 7.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.008e-05/0.3329, allocations: 7.984 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.735e-06/0.3329, allocations: 4 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.338e-05/0.333, allocations: 98.52 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.333, allocations: 0 / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002696/0.3333, allocations: 31.88 kB / 1.333 GB, free: 11.17 MB / 1.029 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.0001875/0.3335, allocations: 123.1 kB / 1.333 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003235/0.3338, allocations: 71.94 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3338, allocations: 4 kB / 1.333 GB, free: 10.96 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001477/0.3339, allocations: 39.91 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000243/0.3342, allocations: 11 kB / 1.333 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004617/0.3346, allocations: 205.5 kB / 1.333 GB, free: 10.69 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.719e-05/0.3347, allocations: 71.34 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.911e-05/0.3348, allocations: 23.41 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3348, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Templates: time 0.003121/0.3379, allocations: 1.361 MB / 1.334 GB, free: 9.215 MB / 1.029 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/jenkins1/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] "" 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.913330944022164]