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.001486/0.001486, 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.001819/0.001819, 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 1.002/1.002, allocations: 177.1 MB / 204.2 MB, free: 5.266 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.841/1.841, allocations: 359 MB / 0.6052 GB, free: 11.03 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 1.724e-06/1.724e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.043e-05/2.215e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002068/0.00209, allocations: 1.607 MB / 0.7887 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001083/0.003174, allocations: 0.8016 MB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.437e-05/0.003238, allocations: 4 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.336e-05/0.003281, allocations: 12.58 kB / 0.7895 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.027e-05/0.003362, allocations: 12.77 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003955/0.003757, allocations: 101.9 kB / 0.7896 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.003877, allocations: 63.7 kB / 0.7896 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.636e-05/0.003973, allocations: 8 kB / 0.7897 GB, free: 9.879 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.004117, allocations: 43.78 kB / 0.7897 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.264e-05/0.004179, allocations: 25.5 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.645e-05/0.004196, allocations: 4 kB / 0.7897 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.004336, allocations: 67.92 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.424e-05/0.004351, allocations: 4 kB / 0.7898 GB, free: 9.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.84e-05/0.004379, allocations: 19.39 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.004555, allocations: 107.6 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.064e-06/0.004557, allocations: 0 / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.22e-07/0.004557, allocations: 0 / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.004563, allocations: 3.938 kB / 0.7899 GB, free: 9.613 MB / 0.7448 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.0003978/0.00496, allocations: 404.3 kB / 0.7903 GB, free: 9.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.005, allocations: 8.031 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002932/0.005293, allocations: 42.03 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001631/0.005457, allocations: 141.7 kB / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.077e-05/0.005467, allocations: 384 / 0.7905 GB, free: 8.973 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.005481, allocations: 4.375 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.005647, allocations: 79.53 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.005658, allocations: 1.312 kB / 0.7906 GB, free: 8.883 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.005671, allocations: 4.375 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.005681, allocations: 3.938 kB / 0.7906 GB, free: 8.875 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.005742, allocations: 24.8 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00035/0.006092, allocations: 308.4 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001204/0.006213, allocations: 60.19 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.767e-05/0.00625, allocations: 20.52 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.006272, allocations: 1.188 kB / 0.791 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.642e-05/0.006298, allocations: 45.33 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.954e-06/0.0063, allocations: 3.984 kB / 0.791 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002149/0.006515, allocations: 79.05 kB / 0.7911 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.006544, allocations: 55.41 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.624e-05/0.00663, allocations: 189.1 kB / 0.7913 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.006642, allocations: 27.2 kB / 0.7914 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.006686, allocations: 134.9 kB / 0.7915 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.021e-05/0.006706, allocations: 11.89 kB / 0.7915 GB, free: 7.836 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.006741, allocations: 23.36 kB / 0.7915 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002755/0.007017, allocations: 0.4889 MB / 0.792 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.694e-05/0.007054, allocations: 16.48 kB / 0.792 GB, free: 7.289 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.697e-05/0.007081, allocations: 12.56 kB / 0.792 GB, free: 7.277 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.919e-05/0.00715, allocations: 32.98 kB / 0.7921 GB, free: 7.242 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.007152, allocations: 4 kB / 0.7921 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001037/0.007256, allocations: 69.56 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.007267, allocations: 4.625 kB / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.007271, allocations: 0 / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.007288, allocations: 1.969 kB / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.66e-05/0.007375, allocations: 15.97 kB / 0.7921 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.301e-06/0.007381, allocations: 4 kB / 0.7921 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.00741, allocations: 0 / 0.7921 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.337e-06/0.007419, allocations: 4.625 kB / 0.7922 GB, free: 7.137 MB / 0.7448 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.483e-05/0.007484, allocations: 161.3 kB / 0.7923 GB, free: 6.969 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.243e-05/0.007506, allocations: 11.89 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.007544, allocations: 13.72 kB / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.007545, allocations: 0 / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.007549, allocations: 0 / 0.7923 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.007553, allocations: 4.938 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.007665, allocations: 132.6 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007666, allocations: 0 / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.986e-05/0.007706, allocations: 16.83 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.173e-06/0.007707, allocations: 0 / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.007718, allocations: 14.14 kB / 0.7925 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.31e-07/0.007719, allocations: 0 / 0.7925 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.007719, allocations: 0 / 0.7925 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.007866, allocations: 211.9 kB / 0.7927 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.616e-06/0.007875, allocations: 7.938 kB / 0.7927 GB, free: 6.516 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.007888, allocations: 6.719 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.556e-05/0.007933, allocations: 8 kB / 0.7927 GB, free: 6.504 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.548e-05/0.007969, allocations: 7.922 kB / 0.7927 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.001e-06/0.007975, allocations: 4 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.432e-05/0.008019, allocations: 135.2 kB / 0.7929 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008019, allocations: 3.938 kB / 0.7929 GB, free: 6.355 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001847/0.008204, allocations: 31.88 kB / 0.7929 GB, free: 6.324 MB / 0.7448 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.000141/0.008345, allocations: 120.2 kB / 0.793 GB, free: 6.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001238/0.008469, allocations: 45.16 kB / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.00847, allocations: 0 / 0.793 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 4.012e-05/0.00851, allocations: 32.81 kB / 0.7931 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.008696, allocations: 4 kB / 0.7931 GB, free: 6.113 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005543/0.00925, allocations: 184 kB / 0.7933 GB, free: 5.906 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.681e-05/0.009287, allocations: 59.34 kB / 0.7933 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.959e-05/0.009336, allocations: 23.69 kB / 0.7933 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.843e-05/0.009375, allocations: 16.48 kB / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of SimCode: time 6.71e-07/0.009375, allocations: 0 / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.002942/0.01232, allocations: 1.147 MB / 0.7945 GB, free: 4.66 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] 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","",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.193975023925304]