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.001468/0.001468, allocations: 110.2 kB / 19.69 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.001654/0.001654, allocations: 215.3 kB / 23.01 MB, free: 4.566 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.344/1.344, allocations: 230.6 MB / 256.8 MB, free: 8.027 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.9/2.9, allocations: 0.49 GB / 0.7958 GB, free: 33.54 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.001902/0.001902, allocations: 68.72 kB / 1.155 GB, free: 25.42 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.2855, allocations: 176.1 MB / 1.327 GB, free: 1.477 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002484/0.288, allocations: 1.581 MB / 1.329 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00124/0.2892, allocations: 0.8453 MB / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.203e-05/0.2893, allocations: 0 / 1.329 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.932e-05/0.2893, allocations: 7.922 kB / 1.33 GB, free: 15.04 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.229e-05/0.2894, allocations: 15.86 kB / 1.33 GB, free: 15.02 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.2897, allocations: 99.64 kB / 1.33 GB, free: 14.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2898, allocations: 59.77 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 7.724e-05/0.2899, allocations: 8 kB / 1.33 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.29, allocations: 43.8 kB / 1.33 GB, free: 14.81 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.37e-05/0.2901, allocations: 19.92 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.358e-05/0.2901, allocations: 4 kB / 1.33 GB, free: 14.79 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001376/0.2902, allocations: 71.92 kB / 1.33 GB, free: 14.72 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.362e-05/0.2903, allocations: 7.938 kB / 1.33 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.714e-05/0.2903, allocations: 31.84 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001818/0.2905, allocations: 103.6 kB / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.2905, allocations: 0 / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.112e-06/0.2905, allocations: 0 / 1.33 GB, free: 14.58 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.2905, allocations: 0 / 1.33 GB, free: 14.58 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.0004348/0.2909, allocations: 309.9 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 2.765e-05/0.2909, allocations: 11.97 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004256/0.2914, allocations: 44.83 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001914/0.2916, allocations: 138.4 kB / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.396e-06/0.2916, allocations: 384 / 1.33 GB, free: 14.03 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.2916, allocations: 12.31 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002296/0.2918, allocations: 81.94 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.2918, allocations: 4 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.013e-05/0.2918, allocations: 0 / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.676e-06/0.2918, allocations: 0 / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002624/0.2921, allocations: 67.95 kB / 1.331 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004476/0.2926, allocations: 283.9 kB / 1.331 GB, free: 13.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.2928, allocations: 70.58 kB / 1.331 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001344/0.2929, allocations: 44.83 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.758e-05/0.2929, allocations: 0 / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.667e-05/0.293, allocations: 38.48 kB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.293, allocations: 0 / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0004751/0.2934, allocations: 141.5 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.323e-05/0.2935, allocations: 59.34 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.46e-05/0.2936, allocations: 117.8 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.831e-05/0.2936, allocations: 29.69 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.633e-05/0.2937, allocations: 88.14 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.19e-05/0.2937, allocations: 15.84 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/0.2937, allocations: 17.7 kB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.2939, allocations: 330.8 kB / 1.332 GB, free: 12.54 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.294, allocations: 31.97 kB / 1.332 GB, free: 12.5 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.2941, allocations: 24 kB / 1.332 GB, free: 12.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002268/0.2943, allocations: 68.81 kB / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.2943, allocations: 0 / 1.332 GB, free: 12.41 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000287/0.2946, allocations: 105.6 kB / 1.332 GB, free: 12.3 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.262e-05/0.2946, allocations: 7.938 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2946, allocations: 3.984 kB / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.06e-05/0.2946, allocations: 0 / 1.332 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001286/0.2948, allocations: 23.97 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.528e-06/0.2948, allocations: 0 / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.146e-05/0.2949, allocations: 7.953 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.2949, allocations: 7.984 kB / 1.332 GB, free: 12.25 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 8.09e-05/0.295, allocations: 113.8 kB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.295, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.262e-05/0.295, allocations: 8 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.295, allocations: 4 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.295, allocations: 0 / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.295, allocations: 3.984 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001957/0.2952, allocations: 172.5 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.2952, allocations: 4 kB / 1.332 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.2953, allocations: 11.98 kB / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.502e-06/0.2953, allocations: 0 / 1.332 GB, free: 11.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.322e-05/0.2954, allocations: 7.984 kB / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2954, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2954, allocations: 0 / 1.332 GB, free: 11.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.2957, allocations: 215.3 kB / 1.333 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.118e-05/0.2957, allocations: 7.953 kB / 1.333 GB, free: 11.63 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.85e-05/0.2957, allocations: 4 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001167/0.2958, allocations: 7.984 kB / 1.333 GB, free: 11.62 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.138e-05/0.2959, allocations: 8 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.776e-06/0.2959, allocations: 3.984 kB / 1.333 GB, free: 11.61 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.041e-05/0.2959, allocations: 95.27 kB / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.2959, allocations: 0 / 1.333 GB, free: 11.51 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002458/0.2962, allocations: 31.88 kB / 1.333 GB, free: 11.48 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.0001586/0.2963, allocations: 123.1 kB / 1.333 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.2966, allocations: 75.94 kB / 1.333 GB, free: 11.28 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2966, allocations: 3.938 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001336/0.2968, allocations: 40.42 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.297, allocations: 7.938 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003972/0.2974, allocations: 201.1 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002917/0.2977, allocations: 0.6885 MB / 1.334 GB, free: 10.29 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.439e-05/0.2977, allocations: 15.42 kB / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.11e-07/0.2977, allocations: 0 / 1.334 GB, free: 10.27 MB / 1.029 GB Notification: Performance of Templates: time 0.002878/0.3006, allocations: 1.344 MB / 1.335 GB, free: 8.926 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: 9.804968910000753]