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.001033/0.001033, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001026/0.001026, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.8993/0.8993, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.822/1.822, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 178] 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 4.698e-06/4.698e-06, allocations: 0 / 0.812 GB, free: 1.391 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.316e-05/1.786e-05, allocations: 2.312 kB / 0.812 GB, free: 1.387 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00176/0.001778, allocations: 1.597 MB / 0.8136 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.002913, allocations: 0.806 MB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.246e-05/0.002966, allocations: 3.938 kB / 0.8144 GB, free: 14.99 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.923e-05/0.002995, allocations: 3.938 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.239e-05/0.003057, allocations: 9.078 kB / 0.8144 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002844/0.003342, allocations: 104.5 kB / 0.8145 GB, free: 14.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 9.533e-05/0.003437, allocations: 67.59 kB / 0.8145 GB, free: 14.81 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 7.481e-05/0.003512, allocations: 12.89 kB / 0.8146 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003619, allocations: 35.91 kB / 0.8146 GB, free: 14.76 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.919e-05/0.003668, allocations: 24.94 kB / 0.8146 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.321e-05/0.003681, allocations: 4 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001023/0.003784, allocations: 69.28 kB / 0.8147 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.003796, allocations: 11.92 kB / 0.8147 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.003813, allocations: 12 kB / 0.8147 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.003956, allocations: 111.6 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.633e-06/0.003958, allocations: 1.938 kB / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.81e-07/0.003958, allocations: 0 / 0.8148 GB, free: 14.54 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.876e-06/0.003961, allocations: 0 / 0.8148 GB, free: 14.54 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.000297/0.004258, allocations: 400.3 kB / 0.8152 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.004292, allocations: 8.031 kB / 0.8152 GB, free: 14.1 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002251/0.004517, allocations: 42.53 kB / 0.8152 GB, free: 14.06 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.004629, allocations: 141.3 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.575e-06/0.004637, allocations: 4.375 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.264e-06/0.004644, allocations: 0.9062 kB / 0.8154 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.004766, allocations: 80.59 kB / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.49e-06/0.004772, allocations: 192 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.004779, allocations: 384 / 0.8155 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.004784, allocations: 4.469 kB / 0.8155 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.025e-05/0.004824, allocations: 28.44 kB / 0.8155 GB, free: 13.78 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.00508, allocations: 277.7 kB / 0.8158 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.937e-05/0.005159, allocations: 47.89 kB / 0.8158 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.5e-05/0.005184, allocations: 23.77 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.568e-05/0.0052, allocations: 4.844 kB / 0.8158 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.669e-05/0.005216, allocations: 33.39 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.005217, allocations: 5.219 kB / 0.8159 GB, free: 13.34 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001522/0.005369, allocations: 81.53 kB / 0.816 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.255e-05/0.005392, allocations: 52.25 kB / 0.816 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.764e-05/0.00546, allocations: 183.6 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.00547, allocations: 26.73 kB / 0.8162 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.953e-05/0.00551, allocations: 134.9 kB / 0.8163 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.005527, allocations: 11.89 kB / 0.8163 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.005559, allocations: 32.75 kB / 0.8164 GB, free: 12.78 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.955e-05/0.005659, allocations: 0.4884 MB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.005681, allocations: 8 kB / 0.8169 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.909e-05/0.0057, allocations: 13.33 kB / 0.8169 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.332e-05/0.005744, allocations: 35.59 kB / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.005745, allocations: 0 / 0.8169 GB, free: 12.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.652e-05/0.005821, allocations: 64.95 kB / 0.817 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.057e-05/0.005832, allocations: 7.938 kB / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.005836, allocations: 0 / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.068e-05/0.005847, allocations: 0 / 0.817 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.005913, allocations: 19.97 kB / 0.817 GB, free: 12.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.005917, allocations: 4 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.66e-05/0.005943, allocations: 0.5 kB / 0.817 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.005952, allocations: 7.984 kB / 0.817 GB, free: 12.12 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 5.458e-05/0.006006, allocations: 157.8 kB / 0.8172 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.811e-05/0.006024, allocations: 11.89 kB / 0.8172 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.006055, allocations: 16.88 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.006057, allocations: 4 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.006058, allocations: 1.344 kB / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.00606, allocations: 0 / 0.8172 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.00616, allocations: 121.2 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.01e-07/0.006161, allocations: 1.062 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.45e-05/0.006196, allocations: 15.92 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.006196, allocations: 0 / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.421e-06/0.006202, allocations: 0.6562 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.006202, allocations: 6.625 kB / 0.8173 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.006204, allocations: 3.938 kB / 0.8173 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000118/0.006322, allocations: 211.9 kB / 0.8175 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-06/0.006328, allocations: 3.953 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.017e-05/0.006338, allocations: 4 kB / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.064e-05/0.006378, allocations: 0 / 0.8175 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.737e-05/0.006406, allocations: 18.67 kB / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.00641, allocations: 0 / 0.8176 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.697e-05/0.006447, allocations: 138.3 kB / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.006447, allocations: 0 / 0.8177 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001613/0.006608, allocations: 39.86 kB / 0.8177 GB, free: 11.33 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.0001061/0.006714, allocations: 121.8 kB / 0.8178 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.919e-05/0.006794, allocations: 36.59 kB / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.102e-06/0.006795, allocations: 0 / 0.8179 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 2.805e-05/0.006823, allocations: 24.8 kB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.006982, allocations: 15.89 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003867/0.007369, allocations: 168.1 kB / 0.8181 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.938e-05/0.007398, allocations: 59.34 kB / 0.8181 GB, free: 10.85 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.681e-05/0.007445, allocations: 17.39 kB / 0.8181 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.422e-05/0.007499, allocations: 78.19 kB / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of SimCode: time 9.41e-07/0.0075, allocations: 0 / 0.8182 GB, free: 10.76 MB / 0.7761 GB Notification: Performance of Templates: time 0.002579/0.01008, allocations: 1.287 MB / 0.8195 GB, free: 9.484 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: 4.814407526049763]