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.001646/0.001646, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.001889/0.001889, allocations: 192 kB / 22.17 MB, free: 5.652 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.53/1.53, 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.83/2.83, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.001947/0.001947, allocations: 63.91 kB / 1.109 GB, free: 6.543 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.961/0.9629, allocations: 168.7 MB / 1.274 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003971/0.9669, allocations: 1.543 MB / 1.276 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.9683, allocations: 0.7806 MB / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.218e-05/0.9684, allocations: 0 / 1.276 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.322e-05/0.9684, allocations: 3.938 kB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.504e-05/0.9685, allocations: 11.88 kB / 1.276 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004349/0.9689, allocations: 95.64 kB / 1.276 GB, free: 2.098 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001115/0.9691, allocations: 55.72 kB / 1.276 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001109/0.9692, allocations: 8 kB / 1.277 GB, free: 2.035 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001037/0.9693, allocations: 23.92 kB / 1.277 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.839e-05/0.9694, allocations: 27.84 kB / 1.277 GB, free: 1.984 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.9694, allocations: 4 kB / 1.277 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001652/0.9695, allocations: 67.94 kB / 1.277 GB, free: 1.914 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.744e-05/0.9696, allocations: 7.938 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.419e-05/0.9696, allocations: 27.86 kB / 1.277 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002018/0.9698, allocations: 98.36 kB / 1.277 GB, free: 1.785 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.9698, allocations: 4 kB / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.573e-06/0.9698, allocations: 0 / 1.277 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.095e-05/0.9698, allocations: 0 / 1.277 GB, free: 1.781 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.000597/0.9704, allocations: 379 kB / 1.277 GB, free: 1.363 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.9705, allocations: 8.031 kB / 1.277 GB, free: 1.355 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003212/0.9708, allocations: 36.84 kB / 1.277 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001481/0.9709, allocations: 176.3 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.328e-05/0.9709, allocations: 384 / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.9709, allocations: 384 / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.9712, allocations: 85.94 kB / 1.277 GB, free: 1.02 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.9712, allocations: 3.938 kB / 1.277 GB, free: 1.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.9712, allocations: 3.984 kB / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.9712, allocations: 0 / 1.277 GB, free: 1.012 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002778/0.9715, allocations: 67.95 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005736/0.9721, allocations: 320.8 kB / 1.278 GB, free: 0.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.9724, allocations: 74.53 kB / 1.278 GB, free: 0.5 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001433/0.9725, allocations: 36.94 kB / 1.278 GB, free: 472 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.09e-05/0.9725, allocations: 3.938 kB / 1.278 GB, free: 468 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.9726, allocations: 34.55 kB / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.9726, allocations: 0 / 1.278 GB, free: 424 kB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005376/0.9731, allocations: 137.6 kB / 1.278 GB, free: 280 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.943e-05/0.9731, allocations: 51.41 kB / 1.278 GB, free: 216 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.9733, allocations: 121.7 kB / 1.278 GB, free: 84 kB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.9733, allocations: 29.7 kB / 1.278 GB, free: 48 kB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 8.87e-05/0.9734, allocations: 92.12 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.251e-05/0.9734, allocations: 3.953 kB / 1.278 GB, free: 15.95 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.587e-05/0.9734, allocations: 25.7 kB / 1.278 GB, free: 15.92 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.9736, allocations: 322.8 kB / 1.279 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001334/0.9737, allocations: 27.98 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.9739, allocations: 39.91 kB / 1.279 GB, free: 15.53 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002554/0.9741, allocations: 68.75 kB / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.9741, allocations: 0 / 1.279 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003218/0.9744, allocations: 105.6 kB / 1.279 GB, free: 15.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.9744, allocations: 4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.9745, allocations: 4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.9745, allocations: 4 kB / 1.279 GB, free: 15.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00015/0.9746, allocations: 15.97 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.9746, allocations: 0 / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.352e-05/0.9747, allocations: 4 kB / 1.279 GB, free: 15.32 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.882e-05/0.9747, allocations: 7.984 kB / 1.279 GB, free: 15.31 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 9.547e-05/0.9748, allocations: 122.2 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.133e-05/0.9749, allocations: 3.953 kB / 1.279 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.66e-05/0.9749, allocations: 15.91 kB / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.9749, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.9749, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.005e-06/0.9749, allocations: 0 / 1.279 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002235/0.9751, allocations: 193.5 kB / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.9751, allocations: 0 / 1.279 GB, free: 14.92 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001173/0.9753, allocations: 19.97 kB / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.9753, allocations: 0 / 1.279 GB, free: 14.9 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.54e-05/0.9753, allocations: 7.984 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.9753, allocations: 0 / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.9753, allocations: 4 kB / 1.279 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003791/0.9757, allocations: 203.7 kB / 1.279 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.253e-05/0.9757, allocations: 81.09 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.9757, allocations: 7.938 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001128/0.9758, allocations: 8 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.9759, allocations: 7.984 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.9759, allocations: 0 / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.845e-05/0.9759, allocations: 91.27 kB / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9759, allocations: 0 / 1.28 GB, free: 14.46 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000257/0.9762, allocations: 27.94 kB / 1.28 GB, free: 14.43 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.0002237/0.9764, allocations: 135 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.9768, allocations: 71.94 kB / 1.28 GB, free: 14.22 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.9768, allocations: 3.938 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.9769, allocations: 39.91 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.9772, allocations: 11.94 kB / 1.28 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000468/0.9777, allocations: 179 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003471/0.978, allocations: 0.6846 MB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.745e-05/0.9781, allocations: 12 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.278e-05/0.9781, allocations: 15.42 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.9781, allocations: 0 / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of Templates: time 0.003906/0.9821, allocations: 1.101 MB / 1.282 GB, free: 12.13 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 cvode -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: 9.104250316042453]