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.0009859/0.0009859, allocations: 83.59 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.001008/0.001008, allocations: 169 kB / 23.82 MB, free: 0.7461 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.913/0.913, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.852/1.852, allocations: 377.8 MB / 0.6236 GB, free: 8.539 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 1.573e-06/1.573e-06, allocations: 0.7656 kB / 0.8116 GB, free: 0.582 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.73e-05, allocations: 2.312 kB / 0.8116 GB, free: 0.5781 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.008226/0.008243, allocations: 1.606 MB / 0.8131 GB, free: 14.98 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.009358, allocations: 0.8157 MB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.632e-05/0.009414, allocations: 4 kB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.974e-05/0.009444, allocations: 5.344 kB / 0.8139 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.257e-05/0.009516, allocations: 15.8 kB / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.009906, allocations: 109.2 kB / 0.814 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.01003, allocations: 55.73 kB / 0.8141 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.433e-05/0.01011, allocations: 8.641 kB / 0.8141 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001317/0.01024, allocations: 43.89 kB / 0.8142 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.0103, allocations: 12.86 kB / 0.8142 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.01032, allocations: 5.156 kB / 0.8142 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001372/0.01045, allocations: 67.88 kB / 0.8142 GB, free: 13.85 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.602e-05/0.01047, allocations: 15.92 kB / 0.8142 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.697e-05/0.0105, allocations: 19.92 kB / 0.8143 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001765/0.01067, allocations: 101.2 kB / 0.8144 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.01067, allocations: 0 / 0.8144 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.92e-07/0.01068, allocations: 0 / 0.8144 GB, free: 13.71 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.01068, allocations: 0 / 0.8144 GB, free: 13.71 MB / 0.7292 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.00338/0.01406, allocations: 413.3 kB / 0.8148 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.0141, allocations: 8.031 kB / 0.8148 GB, free: 13.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003166/0.01441, allocations: 42.16 kB / 0.8148 GB, free: 13.23 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001521/0.01457, allocations: 137 kB / 0.8149 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/0.01458, allocations: 4.375 kB / 0.8149 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.149e-05/0.01459, allocations: 1.562 kB / 0.8149 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/0.01476, allocations: 87.39 kB / 0.815 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.01477, allocations: 192 / 0.815 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.01478, allocations: 2.406 kB / 0.815 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.01479, allocations: 3.938 kB / 0.815 GB, free: 12.97 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.191e-05/0.01486, allocations: 27.97 kB / 0.8151 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003648/0.01523, allocations: 304.2 kB / 0.8153 GB, free: 12.61 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.01536, allocations: 63.69 kB / 0.8154 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.0154, allocations: 17.12 kB / 0.8154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.01541, allocations: 0 / 0.8154 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.5e-05/0.01544, allocations: 45.41 kB / 0.8155 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.01544, allocations: 0.625 kB / 0.8155 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0002286/0.01567, allocations: 78.66 kB / 0.8155 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.802e-05/0.01569, allocations: 51.41 kB / 0.8156 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.01579, allocations: 185.9 kB / 0.8158 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.0158, allocations: 25.7 kB / 0.8158 GB, free: 12.09 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.252e-05/0.01585, allocations: 135.5 kB / 0.8159 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.01587, allocations: 15.95 kB / 0.8159 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.01592, allocations: 28.58 kB / 0.816 GB, free: 11.9 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001194/0.01604, allocations: 0.4884 MB / 0.8164 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.701e-05/0.01607, allocations: 11.98 kB / 0.8165 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.182e-05/0.0161, allocations: 13.98 kB / 0.8165 GB, free: 11.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.01618, allocations: 39.75 kB / 0.8165 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.01618, allocations: 0 / 0.8165 GB, free: 11.34 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001245/0.0163, allocations: 70.38 kB / 0.8166 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.01631, allocations: 4 kB / 0.8166 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.01632, allocations: 3.938 kB / 0.8166 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.093e-05/0.01633, allocations: 0.9375 kB / 0.8166 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.8e-05/0.01642, allocations: 17.27 kB / 0.8166 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.01642, allocations: 4 kB / 0.8166 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.01646, allocations: 7.984 kB / 0.8166 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.044e-05/0.01647, allocations: 4 kB / 0.8166 GB, free: 11.22 MB / 0.7292 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.722e-05/0.01654, allocations: 161.5 kB / 0.8168 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.017e-05/0.01657, allocations: 14.2 kB / 0.8168 GB, free: 11.04 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.244e-05/0.0166, allocations: 11.98 kB / 0.8168 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.0166, allocations: 0 / 0.8168 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.0166, allocations: 0 / 0.8168 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/0.01661, allocations: 0 / 0.8168 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.01975, allocations: 136.6 kB / 0.8169 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01975, allocations: 3.438 kB / 0.8169 GB, free: 10.86 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.712e-05/0.01981, allocations: 11.98 kB / 0.8169 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.01981, allocations: 4 kB / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.01982, allocations: 3.938 kB / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.01982, allocations: 0 / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01982, allocations: 0 / 0.8169 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.01999, allocations: 223.8 kB / 0.8172 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-06/0.02, allocations: 3.953 kB / 0.8172 GB, free: 10.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.02002, allocations: 4.75 kB / 0.8172 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.509e-05/0.02008, allocations: 8.484 kB / 0.8172 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.097e-05/0.02011, allocations: 4 kB / 0.8172 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.216e-06/0.02012, allocations: 4.562 kB / 0.8172 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.831e-05/0.02017, allocations: 135.7 kB / 0.8173 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.02017, allocations: 0 / 0.8173 GB, free: 10.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000258/0.02043, allocations: 33.22 kB / 0.8173 GB, free: 10.41 MB / 0.7292 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.0001431/0.02057, allocations: 119.1 kB / 0.8175 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001326/0.0207, allocations: 48.3 kB / 0.8175 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.02071, allocations: 0.5312 kB / 0.8175 GB, free: 10.24 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.577e-05/0.02075, allocations: 28.27 kB / 0.8175 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.02098, allocations: 17.14 kB / 0.8175 GB, free: 10.19 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005512/0.02154, allocations: 170.1 kB / 0.8177 GB, free: 10 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.744e-05/0.02157, allocations: 59.34 kB / 0.8178 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.045e-05/0.02163, allocations: 18.22 kB / 0.8178 GB, free: 9.906 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.917e-05/0.02168, allocations: 20.48 kB / 0.8178 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.02168, allocations: 1.062 kB / 0.8178 GB, free: 9.887 MB / 0.7292 GB Notification: Performance of Templates: time 0.006387/0.02807, allocations: 1.256 MB / 0.819 GB, free: 8.652 MB / 0.7292 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.863638460170478]