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.00151/0.00151, 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.001432/0.001432, allocations: 161 kB / 23.81 MB, free: 0.7539 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.9005/0.9005, allocations: 177.2 MB / 204.2 MB, free: 5.629 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.788/1.788, allocations: 359 MB / 0.6052 GB, free: 11 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.153e-06/1.153e-06, allocations: 0 / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.346e-05/1.461e-05, allocations: 3.406 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.001807/0.001822, allocations: 1.596 MB / 0.7887 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008963/0.002718, allocations: 0.8087 MB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.002769, allocations: 0 / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.002798, allocations: 7.922 kB / 0.7895 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.656e-05/0.002865, allocations: 16.88 kB / 0.7895 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003421/0.003207, allocations: 108.8 kB / 0.7896 GB, free: 9.945 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001051/0.003312, allocations: 60.62 kB / 0.7897 GB, free: 9.887 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.937e-05/0.003391, allocations: 11.98 kB / 0.7897 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.003507, allocations: 44.48 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 4.965e-05/0.003556, allocations: 16.7 kB / 0.7897 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.003572, allocations: 4 kB / 0.7897 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.003681, allocations: 73.52 kB / 0.7898 GB, free: 9.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.003693, allocations: 7.938 kB / 0.7898 GB, free: 9.734 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.133e-05/0.003715, allocations: 11.98 kB / 0.7898 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001451/0.00386, allocations: 103.6 kB / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.903e-06/0.003862, allocations: 0 / 0.7899 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.61e-07/0.003862, allocations: 5.344 kB / 0.7899 GB, free: 9.617 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.003866, allocations: 0 / 0.7899 GB, free: 9.617 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.0003286/0.004194, allocations: 404.2 kB / 0.7903 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.004229, allocations: 13.62 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002972/0.004526, allocations: 44.38 kB / 0.7904 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000174/0.0047, allocations: 144.4 kB / 0.7905 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.154e-05/0.004712, allocations: 4.312 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.445e-05/0.004726, allocations: 4.375 kB / 0.7905 GB, free: 8.961 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001586/0.004885, allocations: 74.91 kB / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.004891, allocations: 192 / 0.7906 GB, free: 8.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.191e-05/0.004903, allocations: 8.375 kB / 0.7906 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.004911, allocations: 4.562 kB / 0.7906 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.004965, allocations: 20.67 kB / 0.7906 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.005281, allocations: 304.4 kB / 0.7909 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003346/0.005616, allocations: 60.03 kB / 0.791 GB, free: 8.445 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.62e-05/0.005652, allocations: 24.3 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.428e-05/0.005666, allocations: 1.312 kB / 0.791 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.834e-05/0.005685, allocations: 41.33 kB / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 9.11e-07/0.005686, allocations: 0 / 0.791 GB, free: 8.367 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001866/0.005872, allocations: 82.67 kB / 0.7911 GB, free: 8.281 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.039e-05/0.005903, allocations: 55.41 kB / 0.7912 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.518e-05/0.005998, allocations: 180.4 kB / 0.7913 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.006013, allocations: 26.2 kB / 0.7914 GB, free: 7.992 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.444e-05/0.006058, allocations: 139.8 kB / 0.7915 GB, free: 7.852 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.006076, allocations: 11.89 kB / 0.7915 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.204e-05/0.006108, allocations: 24.27 kB / 0.7915 GB, free: 7.809 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.006209, allocations: 0.4884 MB / 0.792 GB, free: 7.309 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.084e-05/0.00624, allocations: 8 kB / 0.792 GB, free: 7.301 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.747e-05/0.006268, allocations: 21.02 kB / 0.792 GB, free: 7.281 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.53e-05/0.006323, allocations: 33.89 kB / 0.7921 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.006324, allocations: 0 / 0.7921 GB, free: 7.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.19e-05/0.006416, allocations: 77.5 kB / 0.7921 GB, free: 7.164 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.006426, allocations: 4 kB / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.006429, allocations: 0 / 0.7921 GB, free: 7.16 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.004e-05/0.006439, allocations: 3.938 kB / 0.7921 GB, free: 7.156 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.00652, allocations: 18.91 kB / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.006523, allocations: 0 / 0.7922 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.913e-05/0.006552, allocations: 4 kB / 0.7922 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.067e-06/0.006562, allocations: 4 kB / 0.7922 GB, free: 7.133 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.629e-05/0.006618, allocations: 160.6 kB / 0.7923 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.918e-05/0.006637, allocations: 11.89 kB / 0.7923 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.978e-05/0.006667, allocations: 13.77 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.006668, allocations: 0 / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.006672, allocations: 0.625 kB / 0.7923 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.006675, allocations: 3.984 kB / 0.7923 GB, free: 6.938 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.777e-05/0.006772, allocations: 129.2 kB / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.006773, allocations: 0 / 0.7925 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.687e-05/0.00681, allocations: 16.55 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.006812, allocations: 0.7812 kB / 0.7925 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.006822, allocations: 11.92 kB / 0.7925 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.006823, allocations: 1.156 kB / 0.7925 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.006824, allocations: 0 / 0.7925 GB, free: 6.75 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001362/0.00696, allocations: 212.7 kB / 0.7927 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.285e-06/0.006968, allocations: 11.94 kB / 0.7927 GB, free: 6.512 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.00698, allocations: 3.938 kB / 0.7927 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.372e-05/0.007024, allocations: 9.688 kB / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.677e-05/0.007051, allocations: 0 / 0.7927 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.007058, allocations: 7.984 kB / 0.7927 GB, free: 6.492 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.75e-05/0.007096, 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.007096, allocations: 0.8125 kB / 0.7929 GB, free: 6.359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00017/0.007266, allocations: 31.88 kB / 0.7929 GB, free: 6.328 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.0001157/0.007382, allocations: 120.1 kB / 0.793 GB, free: 6.203 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001089/0.00749, allocations: 48.81 kB / 0.7931 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.007492, allocations: 0 / 0.7931 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.559e-05/0.007527, allocations: 32.5 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.0001698/0.007697, allocations: 5.891 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.0004735/0.00817, allocations: 181.6 kB / 0.7933 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.213e-05/0.008203, allocations: 63.28 kB / 0.7933 GB, free: 5.828 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.609e-05/0.008249, allocations: 15.09 kB / 0.7933 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.008283, allocations: 16.48 kB / 0.7934 GB, free: 5.801 MB / 0.7448 GB Notification: Performance of SimCode: time 4.71e-07/0.008283, allocations: 5.125 kB / 0.7934 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of Templates: time 0.002656/0.01094, allocations: 1.254 MB / 0.7946 GB, free: 4.555 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.653256313875318]