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.002038/0.002038, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002496/0.002496, allocations: 208.4 kB / 22.24 MB, free: 5.262 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.57/1.57, allocations: 230.6 MB / 256 MB, free: 7.789 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.413/3.413, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 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.002174/0.002174, allocations: 68.98 kB / 1.154 GB, free: 25.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4215/0.4237, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003564/0.4273, allocations: 1.541 MB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001698/0.429, allocations: 0.7636 MB / 1.328 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.916e-05/0.4291, allocations: 4 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.4291, allocations: 7.875 kB / 1.328 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 9.311e-05/0.4292, allocations: 15.84 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005623/0.4298, allocations: 103.6 kB / 1.328 GB, free: 15.4 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001457/0.4299, allocations: 51.8 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001073/0.43, allocations: 7.984 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001712/0.4302, allocations: 43.84 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.851e-05/0.4303, allocations: 27.86 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.626e-05/0.4303, allocations: 3.938 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.4305, allocations: 67.94 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.146e-05/0.4305, allocations: 7.984 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.145e-05/0.4305, allocations: 19.88 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.4308, allocations: 107.6 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4308, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.664e-06/0.4308, allocations: 0 / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.4308, allocations: 0 / 1.328 GB, free: 15.07 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.0005718/0.4314, allocations: 313.9 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.4314, allocations: 8.031 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000521/0.4319, allocations: 48.81 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00029/0.4322, allocations: 134.3 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.4323, allocations: 8.375 kB / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.4323, allocations: 384 / 1.329 GB, free: 14.51 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002906/0.4326, allocations: 89.95 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.4326, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.4326, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.4326, allocations: 0 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002712/0.4329, allocations: 63.94 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005312/0.4334, allocations: 260.5 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002708/0.4337, allocations: 74.47 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001416/0.4338, allocations: 36.94 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.4338, allocations: 0 / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.822e-05/0.4339, allocations: 34.55 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.4339, allocations: 4 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0005575/0.4344, allocations: 137.5 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.4345, allocations: 55.41 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4346, allocations: 125.2 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.4346, allocations: 25.7 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.687e-05/0.4347, allocations: 92.12 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.346e-05/0.4347, allocations: 19.84 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.723e-05/0.4348, allocations: 25.7 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001546/0.4349, allocations: 318.8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001352/0.4351, allocations: 27.97 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000122/0.4352, allocations: 31.98 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.4355, allocations: 72.8 kB / 1.33 GB, free: 12.94 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.618e-06/0.4355, allocations: 3.938 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003195/0.4358, allocations: 101.6 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.883e-05/0.4358, allocations: 8 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.4358, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.427e-05/0.4358, allocations: 0 / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.436, allocations: 19.97 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.436, allocations: 7.938 kB / 1.33 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.717e-05/0.4361, allocations: 11.94 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/0.4361, allocations: 0 / 1.33 GB, free: 12.78 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.0001017/0.4362, allocations: 117.8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.183e-05/0.4362, allocations: 4 kB / 1.33 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.42e-05/0.4363, allocations: 7.984 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.4363, allocations: 4.328 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.4363, allocations: 4 kB / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.4363, allocations: 0 / 1.33 GB, free: 12.62 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002111/0.4365, allocations: 137.2 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4365, allocations: 3.938 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001111/0.4366, allocations: 15.98 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.4366, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.4366, allocations: 3.984 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.4366, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.4366, allocations: 3.938 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003817/0.437, allocations: 203.4 kB / 1.331 GB, free: 12.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.62e-05/0.437, allocations: 11.95 kB / 1.331 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.437, allocations: 4 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001112/0.4371, allocations: 8 kB / 1.331 GB, free: 12.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.85e-05/0.4372, allocations: 7.984 kB / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.514e-06/0.4372, allocations: 0 / 1.331 GB, free: 12.19 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.09e-05/0.4373, allocations: 95.27 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4373, allocations: 4 kB / 1.331 GB, free: 12.09 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002842/0.4376, allocations: 31.86 kB / 1.331 GB, free: 12.06 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.0002117/0.4378, allocations: 123.2 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003292/0.4381, allocations: 75.88 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4381, allocations: 0 / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001434/0.4382, allocations: 35.97 kB / 1.331 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002577/0.4385, allocations: 15.84 kB / 1.331 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004853/0.439, allocations: 179.3 kB / 1.331 GB, free: 11.61 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.165e-05/0.4391, allocations: 71.33 kB / 1.331 GB, free: 11.52 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.33e-05/0.4391, allocations: 15.98 kB / 1.331 GB, free: 11.5 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.782e-05/0.4392, allocations: 15.42 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of SimCode: time 7.21e-07/0.4392, allocations: 7.938 kB / 1.331 GB, free: 11.48 MB / 1.029 GB Notification: Performance of Templates: time 0.004007/0.4432, allocations: 1.151 MB / 1.333 GB, free: 10.33 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.604622619226575]