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.001545/0.001545, allocations: 111 kB / 16.45 MB, free: 6.488 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.002187/0.002187, allocations: 216.2 kB / 19.43 MB, free: 3.656 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.561/1.561, allocations: 230.6 MB / 252.8 MB, free: 8.969 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.312/3.312, allocations: 0.4899 GB / 0.7916 GB, free: 33.21 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.002015/0.002015, allocations: 80.39 kB / 1.149 GB, free: 26.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3932/0.3952, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002854/0.3981, allocations: 1.552 MB / 1.323 GB, free: 1.25 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001448/0.3995, allocations: 0.8453 MB / 1.324 GB, free: 408 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.477e-05/0.3996, allocations: 7.938 kB / 1.324 GB, free: 400 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.172e-05/0.3996, allocations: 3.938 kB / 1.324 GB, free: 396 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 6.738e-05/0.3997, allocations: 11.86 kB / 1.324 GB, free: 384 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004174/0.4001, allocations: 111.6 kB / 1.324 GB, free: 272 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.4003, allocations: 47.8 kB / 1.324 GB, free: 224 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001053/0.4004, allocations: 15.97 kB / 1.324 GB, free: 208 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001385/0.4005, allocations: 35.86 kB / 1.324 GB, free: 172 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 7.345e-05/0.4006, allocations: 27.86 kB / 1.324 GB, free: 144 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.4006, allocations: 4 kB / 1.324 GB, free: 140 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.4008, allocations: 71.94 kB / 1.324 GB, free: 68 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.697e-05/0.4008, allocations: 15.92 kB / 1.324 GB, free: 52 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.225e-05/0.4008, allocations: 19.88 kB / 1.324 GB, free: 32 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002207/0.401, allocations: 103.6 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.401, allocations: 4 kB / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.854e-06/0.401, allocations: 0 / 1.324 GB, free: 15.93 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.401, allocations: 0 / 1.324 GB, free: 15.93 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.0005554/0.4016, allocations: 383 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.4016, allocations: 11.98 kB / 1.324 GB, free: 15.49 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.4021, allocations: 48.83 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002867/0.4024, allocations: 196.2 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.4024, allocations: 4.375 kB / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.333e-05/0.4024, allocations: 384 / 1.325 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002885/0.4027, allocations: 85.94 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.4027, allocations: 7.938 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.4027, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.4028, allocations: 0 / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.403, allocations: 63.95 kB / 1.325 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.4036, allocations: 320.8 kB / 1.325 GB, free: 14.69 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002763/0.4039, allocations: 70.53 kB / 1.325 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000151/0.404, allocations: 40.92 kB / 1.325 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.343e-05/0.404, allocations: 3.938 kB / 1.325 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.4041, allocations: 38.5 kB / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.4041, allocations: 0 / 1.325 GB, free: 14.52 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005719/0.4046, allocations: 137.6 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.4047, allocations: 51.41 kB / 1.325 GB, free: 14.31 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.4048, allocations: 125.8 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.049e-05/0.4048, allocations: 25.7 kB / 1.326 GB, free: 14.15 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.4049, allocations: 88.14 kB / 1.326 GB, free: 14.06 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4049, allocations: 11.84 kB / 1.326 GB, free: 14.05 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.181e-05/0.405, allocations: 21.7 kB / 1.326 GB, free: 14.02 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.4051, allocations: 326.8 kB / 1.326 GB, free: 13.69 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.4053, allocations: 31.97 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001366/0.4054, allocations: 35.92 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000269/0.4057, allocations: 64.81 kB / 1.326 GB, free: 13.56 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.4057, allocations: 4 kB / 1.326 GB, free: 13.55 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003553/0.406, allocations: 109.5 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.406, allocations: 4 kB / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.406, allocations: 0 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.4061, allocations: 336 / 1.326 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001441/0.4062, allocations: 19.97 kB / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.4062, allocations: 0 / 1.326 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.928e-05/0.4063, allocations: 7.984 kB / 1.326 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.649e-05/0.4063, allocations: 4 kB / 1.326 GB, free: 13.41 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 0.0001037/0.4064, allocations: 121.7 kB / 1.326 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.336e-05/0.4065, allocations: 4 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.4065, allocations: 15.88 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.4065, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.389e-06/0.4065, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.4065, allocations: 0 / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002345/0.4067, allocations: 197.5 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.186e-06/0.4068, allocations: 4 kB / 1.327 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001197/0.4069, allocations: 19.97 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.4069, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.4069, allocations: 4 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.4069, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.4069, allocations: 0 / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.4073, allocations: 211.4 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.988e-05/0.4074, allocations: 81.06 kB / 1.327 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.854e-05/0.4074, allocations: 3.938 kB / 1.327 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.4075, allocations: 7.984 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.115e-05/0.4076, allocations: 8 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.146e-05/0.4076, allocations: 3.984 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.897e-05/0.4076, allocations: 102.5 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4076, allocations: 0 / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002758/0.4079, allocations: 27.94 kB / 1.327 GB, free: 12.51 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.0002221/0.4081, allocations: 131.1 kB / 1.327 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.4085, allocations: 63.94 kB / 1.327 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.4085, allocations: 4 kB / 1.327 GB, free: 12.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.4087, allocations: 47.89 kB / 1.327 GB, free: 12.26 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.4089, allocations: 7.938 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004708/0.4094, allocations: 170.9 kB / 1.327 GB, free: 12.06 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.4097, allocations: 0.6846 MB / 1.328 GB, free: 11.35 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.475e-05/0.4098, allocations: 19.98 kB / 1.328 GB, free: 11.33 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.4099, allocations: 19.42 kB / 1.328 GB, free: 11.31 MB / 1.029 GB Notification: Performance of SimCode: time 3.3e-07/0.4099, allocations: 3.938 kB / 1.328 GB, free: 11.3 MB / 1.029 GB Notification: Performance of Templates: time 0.004221/0.4141, allocations: 1.094 MB / 1.329 GB, free: 10.22 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/jenkins/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] Reference file matches [Calling sys.exit(0), Time elapsed: 9.160507767926902]