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.001633/0.001633, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001806/0.001806, allocations: 214.8 kB / 22.99 MB, free: 4.945 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.885/2.885, allocations: 476 MB / 0.7707 GB, free: 4.746 MB / 0.6231 GB " [Timeout remaining time 177] 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.002094/0.002094, allocations: 65.3 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003256/0.3442, allocations: 1.558 MB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.3458, allocations: 0.7654 MB / 1.286 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.513e-05/0.3458, allocations: 7.938 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.565e-05/0.3459, allocations: 3.938 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.3459, allocations: 11.86 kB / 1.286 GB, free: 9.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004774/0.3464, allocations: 111.1 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001326/0.3466, allocations: 55.73 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001097/0.3467, allocations: 7.984 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.3468, allocations: 27.92 kB / 1.286 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.438e-05/0.3469, allocations: 35.84 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.846e-05/0.3469, allocations: 7.938 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001705/0.3471, allocations: 67.94 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.3471, allocations: 7.984 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.3471, allocations: 19.88 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.3474, allocations: 107.6 kB / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.167e-06/0.3474, allocations: 0 / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3474, allocations: 0 / 1.287 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.278e-05/0.3474, allocations: 0 / 1.287 GB, free: 9.129 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.0005422/0.3479, allocations: 313.9 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.769e-05/0.348, allocations: 8.031 kB / 1.287 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004651/0.3484, allocations: 36.89 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002782/0.3487, allocations: 134.4 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.3487, allocations: 16.36 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.761e-05/0.3487, allocations: 384 / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.349, allocations: 81.95 kB / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.349, allocations: 0 / 1.287 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.364e-05/0.349, allocations: 7.938 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.349, allocations: 0 / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002596/0.3493, allocations: 63.94 kB / 1.287 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005202/0.3498, allocations: 260.5 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002698/0.3501, allocations: 70.48 kB / 1.287 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001373/0.3502, allocations: 36.92 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.3502, allocations: 7.938 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.978e-05/0.3503, allocations: 30.56 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3503, allocations: 0 / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0005464/0.3508, allocations: 145.5 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.3509, allocations: 51.41 kB / 1.288 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001298/0.351, allocations: 121.8 kB / 1.288 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.351, allocations: 29.7 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.577e-05/0.3511, allocations: 88.12 kB / 1.288 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.956e-05/0.3511, allocations: 15.84 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.949e-05/0.3512, allocations: 29.64 kB / 1.288 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3513, allocations: 318.8 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.3515, allocations: 27.98 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001302/0.3516, allocations: 35.91 kB / 1.288 GB, free: 7.074 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002476/0.3518, allocations: 69.09 kB / 1.288 GB, free: 7.004 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.3518, allocations: 3.938 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003296/0.3522, allocations: 109.6 kB / 1.289 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3522, allocations: 4 kB / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.269e-06/0.3522, allocations: 0 / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3522, allocations: 0 / 1.289 GB, free: 6.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001451/0.3524, allocations: 23.97 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.3524, allocations: 0 / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.197e-05/0.3525, allocations: 4 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.488e-05/0.3525, allocations: 3.984 kB / 1.289 GB, free: 6.852 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.0001084/0.3526, allocations: 117.7 kB / 1.289 GB, free: 6.727 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.532e-05/0.3526, allocations: 11.95 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.3527, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.3527, allocations: 4 kB / 1.289 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.057e-06/0.3527, allocations: 4 kB / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3527, allocations: 0 / 1.289 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.3528, allocations: 133.2 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3528, allocations: 0 / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001266/0.353, allocations: 19.97 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.895e-06/0.353, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.353, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.686e-06/0.353, allocations: 11.98 kB / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.353, allocations: 0 / 1.289 GB, free: 6.508 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003963/0.3534, allocations: 199.4 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.254e-05/0.3534, allocations: 7.953 kB / 1.289 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.342e-05/0.3534, allocations: 7.922 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.3536, allocations: 7.938 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.3536, allocations: 11.98 kB / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.844e-06/0.3536, allocations: 0 / 1.289 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.998e-05/0.3537, allocations: 95.27 kB / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3537, allocations: 0 / 1.289 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002811/0.354, allocations: 35.86 kB / 1.289 GB, free: 6.133 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.000216/0.3542, allocations: 119.2 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003487/0.3545, allocations: 67.94 kB / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3545, allocations: 0 / 1.289 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3547, allocations: 43.91 kB / 1.289 GB, free: 5.898 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.3549, allocations: 15.88 kB / 1.289 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005312/0.3555, allocations: 201.1 kB / 1.29 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.232e-05/0.3556, allocations: 71.25 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.951e-05/0.3556, allocations: 19.41 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of SimCode: time 5.71e-07/0.3556, allocations: 0 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of Templates: time 0.003558/0.3592, allocations: 1.372 MB / 1.291 GB, free: 4.176 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/jenkins1/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] "" Variables in the reference:time,lmtdSta.lmtdSta,TIn.y,TOut.y Variables in the result:TIn.y,TOut.y,lmtdSta.lmtdSta,time [Calling sys.exit(0), Time elapsed: 11.100707014091313]