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.001602/0.001602, allocations: 114.1 kB / 17.13 MB, free: 5.926 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.001904/0.001904, allocations: 205.5 kB / 20.09 MB, free: 2.977 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.539/1.539, allocations: 230.6 MB / 253.5 MB, free: 15.08 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 2.891/2.891, allocations: 0.49 GB / 0.7923 GB, free: 1.309 MB / 0.6231 GB " [Timeout remaining time 176] 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.002232/0.002232, allocations: 63.91 kB / 1.15 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9163/0.9185, allocations: 176.1 MB / 1.322 GB, free: 25.23 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00212/0.9206, allocations: 1.566 MB / 1.323 GB, free: 24.14 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009534/0.9216, allocations: 0.8405 MB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.92e-05/0.9216, allocations: 2.969 kB / 1.324 GB, free: 23.55 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.9217, allocations: 6.797 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.435e-05/0.9217, allocations: 10.75 kB / 1.324 GB, free: 23.54 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003064/0.922, allocations: 110.4 kB / 1.324 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.411e-05/0.9221, allocations: 56.59 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.812e-05/0.9222, allocations: 6.75 kB / 1.324 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.9223, allocations: 38.47 kB / 1.325 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 5.319e-05/0.9224, allocations: 23.05 kB / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.198e-05/0.9224, allocations: 2.781 kB / 1.325 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001154/0.9225, allocations: 75.72 kB / 1.325 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.136e-05/0.9225, allocations: 13.81 kB / 1.325 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.9225, allocations: 21 kB / 1.325 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.9227, allocations: 107.3 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.9227, allocations: 2.25 kB / 1.325 GB, free: 23.34 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.202e-06/0.9227, allocations: 4 kB / 1.325 GB, free: 23.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.9227, allocations: 0 / 1.325 GB, free: 23.33 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.0003613/0.923, allocations: 388.6 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.9231, allocations: 12.67 kB / 1.325 GB, free: 22.94 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004611/0.9235, allocations: 41.14 kB / 1.325 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001517/0.9237, allocations: 191.2 kB / 1.325 GB, free: 22.73 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.9237, allocations: 7.406 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.9237, allocations: 4.312 kB / 1.325 GB, free: 22.72 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002207/0.9239, allocations: 79.11 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.9239, allocations: 3.469 kB / 1.325 GB, free: 22.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.234e-05/0.924, allocations: 4 kB / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.924, allocations: 0 / 1.325 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.9242, allocations: 65.22 kB / 1.326 GB, free: 22.66 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003755/0.9246, allocations: 320.5 kB / 1.326 GB, free: 22.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.9248, allocations: 73.09 kB / 1.326 GB, free: 22.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.9249, allocations: 37.83 kB / 1.326 GB, free: 22.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.942e-05/0.925, allocations: 3.984 kB / 1.326 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.59e-05/0.925, allocations: 34.56 kB / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.925, allocations: 0 / 1.326 GB, free: 22.25 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0004895/0.9255, allocations: 148 kB / 1.326 GB, free: 22.18 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.239e-05/0.9255, allocations: 55.34 kB / 1.326 GB, free: 22.12 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.666e-05/0.9256, allocations: 121.7 kB / 1.326 GB, free: 22.01 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.9256, allocations: 33.64 kB / 1.326 GB, free: 21.97 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.566e-05/0.9256, allocations: 94.38 kB / 1.326 GB, free: 21.88 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.844e-05/0.9256, allocations: 11.91 kB / 1.326 GB, free: 21.87 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.896e-05/0.9256, allocations: 23.11 kB / 1.326 GB, free: 21.85 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 3.875e-05/0.9257, allocations: 318.2 kB / 1.327 GB, free: 21.54 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001258/0.9258, allocations: 36.66 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001167/0.9259, allocations: 32.53 kB / 1.327 GB, free: 21.52 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.9262, allocations: 69.52 kB / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.9262, allocations: 0 / 1.327 GB, free: 21.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002865/0.9265, allocations: 106.8 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.9265, allocations: 7.75 kB / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.9265, allocations: 0 / 1.327 GB, free: 21.44 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.9265, allocations: 4 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001301/0.9266, allocations: 18.86 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.9266, allocations: 7.266 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.111e-05/0.9267, allocations: 2.906 kB / 1.327 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.138e-05/0.9267, allocations: 5.953 kB / 1.327 GB, free: 21.43 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 4.849e-05/0.9268, allocations: 112.8 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.023e-05/0.9268, allocations: 2.875 kB / 1.327 GB, free: 21.31 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.9268, allocations: 14.84 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.9268, allocations: 3.328 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.9268, allocations: 0 / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.9268, allocations: 3.094 kB / 1.327 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.927, allocations: 190.8 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.927, allocations: 2.844 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001075/0.9271, allocations: 15.59 kB / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.9271, allocations: 0 / 1.327 GB, free: 21.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.9271, allocations: 11.12 kB / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.9271, allocations: 0 / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.9271, allocations: 0 / 1.327 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003196/0.9274, allocations: 200.7 kB / 1.328 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.756e-05/0.9274, allocations: 83.72 kB / 1.328 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.716e-05/0.9274, allocations: 7.938 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001119/0.9276, allocations: 8.688 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.9276, allocations: 3.188 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.935e-06/0.9276, allocations: 2.5 kB / 1.328 GB, free: 20.81 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.324e-05/0.9276, allocations: 99.22 kB / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.9276, allocations: 0 / 1.328 GB, free: 20.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002534/0.9279, allocations: 32.95 kB / 1.328 GB, free: 20.72 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.000155/0.928, allocations: 120.3 kB / 1.328 GB, free: 20.63 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003358/0.9284, allocations: 74.61 kB / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.9284, allocations: 0 / 1.328 GB, free: 20.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.9285, allocations: 42.38 kB / 1.328 GB, free: 20.6 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.9288, allocations: 16.44 kB / 1.328 GB, free: 20.59 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.9291, allocations: 212.3 kB / 1.328 GB, free: 20.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001029/0.9292, allocations: 0.6854 MB / 1.329 GB, free: 19.71 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.9293, allocations: 15.7 kB / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of SimCode: time 2.8e-07/0.9293, allocations: 0 / 1.329 GB, free: 19.7 MB / 1.061 GB Notification: Performance of Templates: time 0.003145/0.9324, allocations: 1.343 MB / 1.33 GB, free: 19.57 MB / 1.061 GB " [Timeout remaining time 299] 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: 11.267120452990639]