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.001368/0.001368, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001158/0.001158, allocations: 166.2 kB / 24.87 MB, free: 8.891 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.948/0.948, allocations: 177.1 MB / 205.3 MB, free: 5.492 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.96/1.96, allocations: 377.9 MB / 0.6247 GB, free: 8.426 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 1.242e-06/1.242e-06, allocations: 4.922 kB / 0.8128 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.285e-05/2.41e-05, allocations: 2.312 kB / 0.8128 GB, free: 1.434 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00216/0.002184, allocations: 1.605 MB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001018/0.003202, allocations: 0.7999 MB / 0.8151 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.399e-05/0.003266, allocations: 1.125 kB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 2.901e-05/0.003295, allocations: 3.938 kB / 0.8152 GB, free: 15.03 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.374e-05/0.003368, allocations: 17.39 kB / 0.8152 GB, free: 15.01 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003698/0.003738, allocations: 107.6 kB / 0.8153 GB, free: 14.91 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.003851, allocations: 62.31 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 8.195e-05/0.003933, allocations: 4 kB / 0.8153 GB, free: 14.84 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001306/0.004063, allocations: 47.83 kB / 0.8154 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 5.314e-05/0.004117, allocations: 15.92 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.475e-05/0.004131, allocations: 4 kB / 0.8154 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001326/0.004264, allocations: 71.92 kB / 0.8155 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.357e-05/0.004277, allocations: 4.5 kB / 0.8155 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 2.065e-05/0.004298, allocations: 16.66 kB / 0.8155 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001536/0.004452, allocations: 111.6 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.004454, allocations: 0.5312 kB / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of FrontEnd: time 9.82e-07/0.004455, allocations: 0 / 0.8156 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.004459, allocations: 1.656 kB / 0.8156 GB, free: 14.58 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.0003368/0.004796, allocations: 404.2 kB / 0.816 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.004829, allocations: 8.031 kB / 0.816 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002636/0.005093, allocations: 37.95 kB / 0.816 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.005242, allocations: 149.2 kB / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.265e-06/0.00525, allocations: 1.531 kB / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.005259, allocations: 384 / 0.8162 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000146/0.005405, allocations: 88.2 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.051e-06/0.005411, allocations: 192 / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.135e-06/0.005419, allocations: 384 / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.899e-06/0.005424, allocations: 5.688 kB / 0.8163 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.21e-05/0.005466, allocations: 23.97 kB / 0.8163 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002864/0.005752, allocations: 272.4 kB / 0.8165 GB, free: 13.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 9.337e-05/0.005846, allocations: 56.05 kB / 0.8166 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.005871, allocations: 20.53 kB / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.005884, allocations: 0 / 0.8166 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.005904, allocations: 38.23 kB / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.005905, allocations: 0 / 0.8167 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.00017/0.006075, allocations: 79.86 kB / 0.8167 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.739e-05/0.006102, allocations: 51.41 kB / 0.8168 GB, free: 13.24 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.605e-05/0.006188, allocations: 185.9 kB / 0.817 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.006204, allocations: 25.7 kB / 0.817 GB, free: 13.01 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 4.74e-05/0.006251, allocations: 138.9 kB / 0.8171 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.227e-05/0.006274, allocations: 18.59 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006308, allocations: 23.36 kB / 0.8172 GB, free: 12.82 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.006418, allocations: 0.4961 MB / 0.8176 GB, free: 12.31 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.023e-05/0.006448, allocations: 11.98 kB / 0.8176 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.282e-05/0.006471, allocations: 15.98 kB / 0.8177 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.794e-05/0.006519, allocations: 19.69 kB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006521, allocations: 1.562 kB / 0.8177 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.784e-05/0.006618, allocations: 69.61 kB / 0.8178 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.25e-05/0.006631, allocations: 7.938 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.006635, allocations: 0.5 kB / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.264e-06/0.006642, allocations: 0 / 0.8178 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.69e-05/0.006719, allocations: 17.45 kB / 0.8178 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.424e-06/0.006721, allocations: 0 / 0.8178 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.059e-05/0.006752, allocations: 4 kB / 0.8178 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.418e-06/0.006761, allocations: 8.484 kB / 0.8178 GB, free: 12.15 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 6.354e-05/0.006825, allocations: 153.2 kB / 0.8179 GB, free: 11.99 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.379e-05/0.006849, allocations: 15.64 kB / 0.8179 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.921e-05/0.006878, allocations: 11.94 kB / 0.818 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.00688, allocations: 0 / 0.818 GB, free: 11.97 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.006883, allocations: 4 kB / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.006886, allocations: 0 / 0.818 GB, free: 11.96 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001147/0.007001, allocations: 125.2 kB / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.007002, allocations: 0 / 0.8181 GB, free: 11.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.534e-05/0.007047, allocations: 11.98 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.007049, allocations: 0 / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.007057, allocations: 5.703 kB / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007058, allocations: 0 / 0.8181 GB, free: 11.8 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.00706, allocations: 7.938 kB / 0.8181 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001396/0.007199, allocations: 212.1 kB / 0.8183 GB, free: 11.57 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 7.794e-06/0.007207, allocations: 4.891 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.00722, allocations: 3.984 kB / 0.8183 GB, free: 11.56 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.007265, allocations: 5.125 kB / 0.8183 GB, free: 11.55 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.718e-05/0.007292, allocations: 11.97 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.84e-06/0.007298, allocations: 7.984 kB / 0.8183 GB, free: 11.54 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.109e-05/0.007339, allocations: 138.3 kB / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.007339, allocations: 0 / 0.8185 GB, free: 11.4 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001886/0.007528, allocations: 31.88 kB / 0.8185 GB, free: 11.37 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.0001371/0.007665, allocations: 120.2 kB / 0.8186 GB, free: 11.24 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 9.311e-05/0.007758, allocations: 40.41 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.007759, allocations: 0.5938 kB / 0.8187 GB, free: 11.2 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 3.705e-05/0.007796, allocations: 28.67 kB / 0.8187 GB, free: 11.17 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001832/0.007979, allocations: 11.89 kB / 0.8187 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000442/0.008421, allocations: 175.8 kB / 0.8189 GB, free: 10.96 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.997e-05/0.008451, allocations: 55.36 kB / 0.8189 GB, free: 10.88 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.141e-05/0.008503, allocations: 20.75 kB / 0.8189 GB, free: 10.87 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.787e-05/0.008571, allocations: 78.19 kB / 0.819 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of SimCode: time 7.92e-07/0.008571, allocations: 1.719 kB / 0.819 GB, free: 10.79 MB / 0.7761 GB Notification: Performance of Templates: time 0.002833/0.0114, allocations: 1.283 MB / 0.8203 GB, free: 9.516 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.177228606771678]