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.0009294/0.0009294, 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.0009196/0.0009196, allocations: 181 kB / 24.09 MB, free: 416 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.9177/0.9177, allocations: 177.1 MB / 204.5 MB, free: 5.52 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.785/1.785, allocations: 359 MB / 0.6055 GB, free: 10.89 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.402e-06/1.402e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.921e-05/2.061e-05, allocations: 3.094 kB / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.00191/0.001931, allocations: 1.593 MB / 0.7891 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009273/0.002858, allocations: 0.8017 MB / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.272e-05/0.002911, allocations: 0 / 0.7899 GB, free: 9.77 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.781e-05/0.002939, allocations: 8.828 kB / 0.7899 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.647e-05/0.003005, allocations: 12.52 kB / 0.7899 GB, free: 9.75 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000306/0.003311, allocations: 105.2 kB / 0.79 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.00341, allocations: 63.7 kB / 0.7901 GB, free: 9.586 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.555e-05/0.003486, allocations: 11.94 kB / 0.7901 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/0.003607, allocations: 37.5 kB / 0.7901 GB, free: 9.539 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.126e-05/0.003658, allocations: 27.89 kB / 0.7902 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.003671, allocations: 4 kB / 0.7902 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001061/0.003777, allocations: 71.88 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.045e-05/0.003787, allocations: 3.531 kB / 0.7902 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 1.867e-05/0.003806, allocations: 19.92 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.003944, allocations: 103.6 kB / 0.7904 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.294e-06/0.003947, allocations: 0 / 0.7904 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.754e-06/0.003949, allocations: 3.984 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.436e-06/0.003952, allocations: 0 / 0.7904 GB, free: 9.312 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.0005658/0.004518, allocations: 400.3 kB / 0.7907 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.004551, allocations: 8.031 kB / 0.7908 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.00478, allocations: 46.09 kB / 0.7908 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.004897, allocations: 141.7 kB / 0.7909 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.004905, allocations: 4.312 kB / 0.7909 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-06/0.004914, allocations: 4.375 kB / 0.7909 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001244/0.005038, allocations: 80 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.941e-06/0.005044, allocations: 1.094 kB / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.534e-06/0.005051, allocations: 384 / 0.791 GB, free: 8.578 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.005056, allocations: 4.844 kB / 0.791 GB, free: 8.574 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.92e-05/0.005095, allocations: 27.97 kB / 0.7911 GB, free: 8.547 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002541/0.005349, allocations: 277.4 kB / 0.7913 GB, free: 8.25 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.819e-05/0.005437, allocations: 64.23 kB / 0.7914 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.344e-05/0.005461, allocations: 19.77 kB / 0.7914 GB, free: 8.152 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.731e-05/0.005478, allocations: 4.562 kB / 0.7914 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.005498, allocations: 37.95 kB / 0.7914 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.674e-06/0.0055, allocations: 3.984 kB / 0.7914 GB, free: 8.098 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001525/0.005652, allocations: 78.23 kB / 0.7915 GB, free: 8.016 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/0.005677, allocations: 56.59 kB / 0.7916 GB, free: 7.949 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.732e-05/0.005744, allocations: 176.8 kB / 0.7917 GB, free: 7.762 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.044e-05/0.005755, allocations: 25.7 kB / 0.7918 GB, free: 7.73 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.123e-05/0.005796, allocations: 143.7 kB / 0.7919 GB, free: 7.586 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.656e-05/0.005812, allocations: 7.891 kB / 0.7919 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.13e-05/0.005844, allocations: 29.08 kB / 0.7919 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.005942, allocations: 0.4923 MB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.415e-05/0.005967, allocations: 8 kB / 0.7924 GB, free: 7.031 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.024e-05/0.005987, allocations: 11.98 kB / 0.7924 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.00603, allocations: 24.3 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.006031, allocations: 0.6875 kB / 0.7925 GB, free: 6.992 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.512e-05/0.006117, allocations: 70.16 kB / 0.7925 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.00613, allocations: 7.938 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.006134, allocations: 1.094 kB / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.626e-06/0.006142, allocations: 0 / 0.7925 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.766e-05/0.00621, allocations: 12.8 kB / 0.7925 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.329e-06/0.006214, allocations: 4 kB / 0.7926 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.00624, allocations: 4.922 kB / 0.7926 GB, free: 6.891 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.224e-06/0.006248, allocations: 4 kB / 0.7926 GB, free: 6.887 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 5.631e-05/0.006304, allocations: 161.8 kB / 0.7927 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.784e-05/0.006322, allocations: 7.953 kB / 0.7927 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.289e-05/0.006355, allocations: 16.77 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.006359, allocations: 0 / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.483e-06/0.006361, allocations: 2.219 kB / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.006363, allocations: 0 / 0.7927 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.792e-05/0.006461, allocations: 109.2 kB / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.006462, allocations: 0 / 0.7928 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.87e-05/0.006501, allocations: 15.97 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.006503, allocations: 2.906 kB / 0.7929 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.00651, allocations: 7.938 kB / 0.7929 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006511, allocations: 0 / 0.7929 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.006513, allocations: 3.938 kB / 0.7929 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001243/0.006637, allocations: 219.8 kB / 0.7931 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.006644, allocations: 7.953 kB / 0.7931 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.218e-05/0.006657, allocations: 8 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.027e-05/0.006697, allocations: 1.469 kB / 0.7931 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.519e-05/0.006722, allocations: 11.92 kB / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.499e-06/0.006727, allocations: 0 / 0.7931 GB, free: 6.273 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.495e-05/0.006762, allocations: 131.2 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.006762, allocations: 0.625 kB / 0.7932 GB, free: 6.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001616/0.006923, allocations: 31.88 kB / 0.7933 GB, free: 6.113 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.0001264/0.00705, allocations: 128.3 kB / 0.7934 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.136e-05/0.007131, allocations: 44.94 kB / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.007133, allocations: 0 / 0.7934 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.856e-05/0.007161, allocations: 28.25 kB / 0.7935 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/0.007331, allocations: 14.3 kB / 0.7935 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000418/0.007749, allocations: 168.5 kB / 0.7936 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.179e-05/0.00778, allocations: 63.28 kB / 0.7937 GB, free: 5.617 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.007827, allocations: 18.8 kB / 0.7937 GB, free: 5.605 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.786e-05/0.007885, allocations: 78.19 kB / 0.7938 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.007886, allocations: 0 / 0.7938 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of Templates: time 0.002521/0.01041, allocations: 1.27 MB / 0.795 GB, free: 4.27 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: 4.675140507053584]