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.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.001436/0.001436, 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.001728/0.001728, allocations: 211.3 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.615/1.615, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.955/2.955, allocations: 475.9 MB / 0.7699 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002147/0.002147, allocations: 65.94 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4303, allocations: 169.9 MB / 1.283 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003342/0.4336, allocations: 1.552 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.4354, allocations: 0.7731 MB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.065e-05/0.4355, allocations: 0 / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.56e-05/0.4355, allocations: 3.938 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.852e-05/0.4356, allocations: 15.86 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004389/0.436, allocations: 99.64 kB / 1.285 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001612/0.4362, allocations: 51.78 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.619e-05/0.4363, allocations: 11.98 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001396/0.4364, allocations: 35.86 kB / 1.286 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.4365, allocations: 27.84 kB / 1.286 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.666e-05/0.4365, allocations: 4 kB / 1.286 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001528/0.4367, allocations: 63.94 kB / 1.286 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.4367, allocations: 11.94 kB / 1.286 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.772e-05/0.4367, allocations: 23.92 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002663/0.437, allocations: 107.6 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/0.437, allocations: 4 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.354e-06/0.437, allocations: 0 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.437, allocations: 0 / 1.286 GB, free: 9.145 MB / 0.9825 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.0005813/0.4376, allocations: 305.9 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4376, allocations: 12.03 kB / 1.286 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004864/0.4381, allocations: 44.83 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002675/0.4384, allocations: 146.3 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.4384, allocations: 384 / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.4384, allocations: 8.312 kB / 1.286 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000277/0.4387, allocations: 85.94 kB / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4387, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4387, allocations: 0 / 1.286 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.4387, allocations: 4 kB / 1.286 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000268/0.439, allocations: 63.94 kB / 1.286 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005389/0.4395, allocations: 260.5 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.4398, allocations: 74.41 kB / 1.287 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001393/0.4399, allocations: 36.92 kB / 1.287 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.415e-05/0.4399, allocations: 4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.44, allocations: 30.56 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.44, allocations: 4 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005586/0.4405, allocations: 137.5 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.4406, allocations: 59.34 kB / 1.287 GB, free: 7.766 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001137/0.4407, allocations: 117.8 kB / 1.287 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.653e-05/0.4407, allocations: 25.7 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.647e-05/0.4408, allocations: 96.12 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.4408, allocations: 15.84 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.4409, allocations: 17.7 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002408/0.4411, allocations: 322.8 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4412, allocations: 27.98 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001224/0.4414, allocations: 31.97 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002415/0.4416, allocations: 68.81 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.4416, allocations: 3.938 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003059/0.4419, allocations: 101.6 kB / 1.288 GB, free: 6.91 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.109e-05/0.442, allocations: 10.28 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.442, allocations: 0 / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.123e-05/0.442, allocations: 4 kB / 1.288 GB, free: 6.898 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.4422, allocations: 19.97 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4422, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.874e-05/0.4422, allocations: 4 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.682e-05/0.4423, allocations: 7.984 kB / 1.288 GB, free: 6.867 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.339e-05/0.4423, allocations: 117.7 kB / 1.288 GB, free: 6.742 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.4424, allocations: 7.953 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.956e-05/0.4424, allocations: 12 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.4424, allocations: 4 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.4424, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.4424, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001759/0.4426, allocations: 133.2 kB / 1.288 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4426, allocations: 3.938 kB / 1.288 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001102/0.4427, allocations: 15.97 kB / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.4427, allocations: 0 / 1.288 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/0.4427, allocations: 8 kB / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4427, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.4427, allocations: 0 / 1.288 GB, free: 6.527 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003793/0.4431, allocations: 215.6 kB / 1.288 GB, free: 6.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.434e-05/0.4431, allocations: 7.953 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.4431, allocations: 3.984 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001103/0.4433, allocations: 4 kB / 1.288 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.073e-05/0.4433, allocations: 8.016 kB / 1.288 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.338e-05/0.4433, allocations: 4 kB / 1.288 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.29e-05/0.4434, allocations: 97.39 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4434, allocations: 4 kB / 1.288 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002718/0.4437, allocations: 31.88 kB / 1.288 GB, free: 6.145 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.0002105/0.4439, allocations: 123.1 kB / 1.289 GB, free: 6.016 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003376/0.4442, allocations: 67.94 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.4442, allocations: 7.938 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.4444, allocations: 39.97 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002601/0.4446, allocations: 5.828 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005058/0.4451, allocations: 179.4 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.179e-05/0.4452, allocations: 67.25 kB / 1.289 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.641e-05/0.4453, allocations: 23.97 kB / 1.289 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.422e-05/0.4453, allocations: 11.44 kB / 1.289 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.4453, allocations: 4 kB / 1.289 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of Templates: time 0.004312/0.4496, allocations: 1.16 MB / 1.29 GB, free: 4.418 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.656969927251339]