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.001015/0.001015, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 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.001059/0.001059, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 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 0.9646/0.9646, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.943/1.943, allocations: 377.8 MB / 0.6236 GB, free: 8.539 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.414e-06/2.414e-06, allocations: 0 / 0.8116 GB, free: 1.688 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.802e-05/4.044e-05, allocations: 12.64 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003611/0.003652, allocations: 1.595 MB / 0.8131 GB, free: 92 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001609/0.005261, allocations: 0.8054 MB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.577e-05/0.005346, allocations: 0 / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.005391, allocations: 5.531 kB / 0.8139 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001102/0.005501, allocations: 15.8 kB / 0.8139 GB, free: 15.26 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005542/0.006055, allocations: 104.8 kB / 0.814 GB, free: 15.16 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.006212, allocations: 59.73 kB / 0.8141 GB, free: 15.1 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.006328, allocations: 13.62 kB / 0.8141 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002033/0.006532, allocations: 39.84 kB / 0.8141 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.726e-05/0.006609, allocations: 15.98 kB / 0.8142 GB, free: 15.04 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.006629, allocations: 4.594 kB / 0.8142 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001946/0.006823, allocations: 71.88 kB / 0.8142 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.354e-05/0.006847, allocations: 17.22 kB / 0.8142 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.496e-05/0.006882, allocations: 12 kB / 0.8143 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002312/0.007113, allocations: 107.6 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.007117, allocations: 1.156 kB / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.523e-06/0.007118, allocations: 0 / 0.8144 GB, free: 14.83 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.122e-06/0.007125, allocations: 0 / 0.8144 GB, free: 14.83 MB / 0.7761 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.0005135/0.007638, allocations: 405.6 kB / 0.8147 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.007686, allocations: 8.031 kB / 0.8147 GB, free: 14.39 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004585/0.008144, allocations: 42.47 kB / 0.8148 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002252/0.008369, allocations: 144.4 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.602e-05/0.008385, allocations: 8.297 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.008402, allocations: 2 kB / 0.8149 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002268/0.008628, allocations: 78.91 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.008638, allocations: 1.094 kB / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.008652, allocations: 384 / 0.815 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.196e-05/0.008664, allocations: 7.938 kB / 0.815 GB, free: 14.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.767e-05/0.008751, allocations: 30.12 kB / 0.8151 GB, free: 14.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005088/0.00926, allocations: 287.8 kB / 0.8153 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001858/0.009446, allocations: 69.14 kB / 0.8154 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.384e-05/0.0095, allocations: 19.69 kB / 0.8154 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.009525, allocations: 4 kB / 0.8154 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.009554, allocations: 37.33 kB / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.964e-06/0.009556, allocations: 0 / 0.8154 GB, free: 13.59 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0003009/0.009857, allocations: 86.67 kB / 0.8155 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.776e-05/0.009895, allocations: 51.41 kB / 0.8156 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001407/0.01004, allocations: 183.8 kB / 0.8158 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.601e-05/0.01005, allocations: 25.7 kB / 0.8158 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.01013, allocations: 138.9 kB / 0.8159 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.93e-05/0.01016, allocations: 11.89 kB / 0.8159 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.135e-05/0.01022, allocations: 27.36 kB / 0.816 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.01038, allocations: 0.4906 MB / 0.8164 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.183e-05/0.01043, allocations: 11.98 kB / 0.8164 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.071e-05/0.01047, allocations: 11.98 kB / 0.8165 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.209e-05/0.01055, allocations: 27.69 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.01056, allocations: 1.094 kB / 0.8165 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001647/0.01072, allocations: 81.48 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.01074, allocations: 4 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.01074, allocations: 0.5938 kB / 0.8166 GB, free: 12.38 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/0.01076, allocations: 8.875 kB / 0.8166 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.0109, allocations: 11.98 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.0109, allocations: 0.8438 kB / 0.8166 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.754e-05/0.01095, allocations: 4 kB / 0.8166 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.35e-05/0.01096, allocations: 7.391 kB / 0.8166 GB, free: 12.35 MB / 0.7761 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.456e-05/0.01106, allocations: 156.6 kB / 0.8167 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.01109, allocations: 7.891 kB / 0.8168 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.01114, allocations: 12 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.01114, allocations: 0 / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.01114, allocations: 0 / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/0.01115, allocations: 8.312 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001618/0.01131, allocations: 134.8 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01131, allocations: 4 kB / 0.8169 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.212e-05/0.01139, allocations: 15.97 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.01139, allocations: 3.984 kB / 0.8169 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.0114, allocations: 3.938 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.0114, allocations: 0.9688 kB / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.01141, allocations: 0 / 0.8169 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002138/0.01162, allocations: 224.9 kB / 0.8171 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 9.508e-06/0.01163, allocations: 3.953 kB / 0.8171 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.963e-05/0.01165, allocations: 7.938 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.61e-05/0.01173, allocations: 5.125 kB / 0.8172 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.241e-05/0.01177, allocations: 7.984 kB / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.955e-06/0.01178, allocations: 0 / 0.8172 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.597e-05/0.01184, allocations: 145.8 kB / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01184, allocations: 0 / 0.8173 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003159/0.01216, allocations: 35.86 kB / 0.8173 GB, free: 11.53 MB / 0.7761 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.0002201/0.01238, allocations: 120.1 kB / 0.8175 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001632/0.01254, allocations: 45.28 kB / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.01254, allocations: 0 / 0.8175 GB, free: 11.35 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.417e-05/0.0126, allocations: 23.67 kB / 0.8175 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002866/0.01288, allocations: 24.33 kB / 0.8175 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000744/0.01363, allocations: 167.8 kB / 0.8177 GB, free: 11.11 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.66e-05/0.01367, allocations: 63.81 kB / 0.8178 GB, free: 11.03 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.975e-05/0.01374, allocations: 17.48 kB / 0.8178 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.895e-05/0.01379, allocations: 16.48 kB / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of SimCode: time 7.82e-07/0.01379, allocations: 0 / 0.8178 GB, free: 11 MB / 0.7761 GB Notification: Performance of Templates: time 0.003641/0.01743, allocations: 1.145 MB / 0.8189 GB, free: 9.867 MB / 0.7761 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.373494011349976]