Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001763/0.001763, allocations: 107.7 kB / 18.88 MB, free: 3.047 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 202.4 kB / 22.17 MB, free: 5.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.868/2.868, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002185/0.002185, allocations: 72.06 kB / 1.109 GB, free: 6.531 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7753/0.7775, allocations: 168.7 MB / 1.274 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002834/0.7803, allocations: 1.551 MB / 1.276 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001352/0.7817, allocations: 0.7806 MB / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.003e-05/0.7817, allocations: 0 / 1.276 GB, free: 2.23 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.7818, allocations: 7.922 kB / 1.276 GB, free: 2.223 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.993e-05/0.7818, allocations: 11.88 kB / 1.276 GB, free: 2.211 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004001/0.7822, allocations: 91.64 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.689e-05/0.7823, allocations: 55.78 kB / 1.276 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.722e-05/0.7824, allocations: 7.938 kB / 1.277 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.555e-05/0.7825, allocations: 27.92 kB / 1.277 GB, free: 2.031 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.91e-05/0.7826, allocations: 23.91 kB / 1.277 GB, free: 2.008 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.7826, allocations: 4 kB / 1.277 GB, free: 2.004 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001458/0.7828, allocations: 59.95 kB / 1.277 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.182e-05/0.7828, allocations: 15.92 kB / 1.277 GB, free: 1.93 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.424e-05/0.7828, allocations: 27.86 kB / 1.277 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001864/0.783, allocations: 102.3 kB / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.783, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.082e-06/0.783, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.783, allocations: 0 / 1.277 GB, free: 1.805 MB / 0.9669 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.0005257/0.7835, allocations: 379 kB / 1.277 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.7836, allocations: 8.031 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003273/0.7839, allocations: 28.86 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.7841, allocations: 184.1 kB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.651e-05/0.7841, allocations: 8.375 kB / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.7841, allocations: 384 / 1.277 GB, free: 1.125 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003006/0.7844, allocations: 81.95 kB / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.7844, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.7844, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.7844, allocations: 0 / 1.277 GB, free: 1.039 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002825/0.7847, allocations: 67.94 kB / 1.277 GB, free: 0.9727 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005638/0.7853, allocations: 324.7 kB / 1.278 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.7856, allocations: 70.53 kB / 1.278 GB, free: 0.5273 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.7857, allocations: 36.92 kB / 1.278 GB, free: 500 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.133e-05/0.7857, allocations: 4 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7858, allocations: 34.56 kB / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.192e-06/0.7858, allocations: 0 / 1.278 GB, free: 452 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005624/0.7863, allocations: 141.5 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.193e-05/0.7864, allocations: 55.39 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.7865, allocations: 121.8 kB / 1.278 GB, free: 104 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.7865, allocations: 29.64 kB / 1.278 GB, free: 68 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.7866, allocations: 96.14 kB / 1.278 GB, free: 15.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.7866, allocations: 7.938 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.7866, allocations: 17.7 kB / 1.278 GB, free: 15.94 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.7868, allocations: 322.8 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.7869, allocations: 31.97 kB / 1.279 GB, free: 15.58 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.7871, allocations: 31.97 kB / 1.279 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002657/0.7873, allocations: 64.81 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.7873, allocations: 4 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000347/0.7877, allocations: 105.5 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/0.7877, allocations: 4 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.7877, allocations: 4 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.7877, allocations: 0 / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001507/0.7879, allocations: 19.97 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.7879, allocations: 0 / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.384e-05/0.788, allocations: 11.98 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.788, allocations: 4 kB / 1.279 GB, free: 15.33 MB / 0.9825 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.0001355/0.7881, allocations: 114.3 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.441e-05/0.7881, allocations: 11.95 kB / 1.279 GB, free: 15.2 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.63e-05/0.7882, allocations: 15.88 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.7882, allocations: 4 kB / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.7882, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.7882, allocations: 0 / 1.279 GB, free: 15.17 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.7884, allocations: 189.5 kB / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.7884, allocations: 0 / 1.279 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001254/0.7885, allocations: 19.97 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.7886, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/0.7886, allocations: 0 / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7886, allocations: 4 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.7886, allocations: 3.938 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003984/0.789, allocations: 199.4 kB / 1.279 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.821e-05/0.789, allocations: 85.11 kB / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.789, allocations: 0 / 1.28 GB, free: 14.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.7892, allocations: 11.98 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.951e-05/0.7892, allocations: 3.938 kB / 1.28 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.7892, allocations: 7.984 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.228e-05/0.7893, allocations: 91.27 kB / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.7893, allocations: 0 / 1.28 GB, free: 14.48 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002781/0.7896, allocations: 27.94 kB / 1.28 GB, free: 14.45 MB / 0.9825 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.0002016/0.7898, allocations: 131.1 kB / 1.28 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003622/0.7901, allocations: 71.88 kB / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.7901, allocations: 0 / 1.28 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001546/0.7903, allocations: 44.36 kB / 1.28 GB, free: 14.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.7906, allocations: 13.81 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004531/0.791, allocations: 171.1 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003376/0.7914, allocations: 0.6885 MB / 1.281 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.616e-05/0.7914, allocations: 20.06 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.239e-05/0.7915, allocations: 15.42 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.7915, allocations: 0 / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of Templates: time 0.003937/0.7954, allocations: 1.102 MB / 1.282 GB, free: 12.15 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.633946322835982]