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.0009831/0.0009831, allocations: 80.39 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.00101/0.00101, allocations: 166.6 kB / 24.87 MB, free: 9.285 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.9687/0.9687, 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 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.892/1.892, allocations: 359 MB / 0.6063 GB, free: 10.88 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.814e-06/1.814e-06, allocations: 0 / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.649e-05/2.83e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003135/0.003163, allocations: 1.605 MB / 0.7899 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001518/0.004681, allocations: 0.8019 MB / 0.7907 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.96e-05/0.004751, allocations: 0 / 0.7907 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.004785, allocations: 7.875 kB / 0.7907 GB, free: 9.777 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.328e-05/0.004868, allocations: 17.12 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.005305, allocations: 108.2 kB / 0.7908 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.005435, allocations: 65.06 kB / 0.7909 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 9.454e-05/0.005529, allocations: 4 kB / 0.7909 GB, free: 9.59 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001544/0.005684, allocations: 43.83 kB / 0.7909 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.005747, allocations: 20.77 kB / 0.7909 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.856e-05/0.005766, allocations: 4 kB / 0.7909 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001634/0.005929, allocations: 68.48 kB / 0.791 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.005948, allocations: 12.62 kB / 0.791 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.005974, allocations: 11.98 kB / 0.791 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002015/0.006175, allocations: 104.5 kB / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.555e-06/0.006178, allocations: 0 / 0.7911 GB, free: 9.332 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.006179, allocations: 7.938 kB / 0.7911 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.488e-06/0.006183, allocations: 0.6562 kB / 0.7911 GB, free: 9.324 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.0004518/0.006635, allocations: 401.2 kB / 0.7915 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.006679, allocations: 12.03 kB / 0.7915 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003648/0.007043, allocations: 40.14 kB / 0.7916 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.007213, allocations: 144.4 kB / 0.7917 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.007224, allocations: 4.359 kB / 0.7917 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.007238, allocations: 4.375 kB / 0.7917 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.007417, allocations: 75.62 kB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.007424, allocations: 192 / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.007435, allocations: 2.031 kB / 0.7918 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.007442, allocations: 3.938 kB / 0.7918 GB, free: 8.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.614e-05/0.007498, allocations: 23.92 kB / 0.7918 GB, free: 8.566 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003718/0.00787, allocations: 285.7 kB / 0.7921 GB, free: 8.262 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/0.007996, allocations: 56.62 kB / 0.7921 GB, free: 8.195 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.008029, allocations: 15.69 kB / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.586e-05/0.008045, allocations: 0 / 0.7921 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.645e-05/0.008071, allocations: 33.39 kB / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.252e-06/0.008073, allocations: 1.625 kB / 0.7922 GB, free: 8.133 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002291/0.008302, allocations: 81.58 kB / 0.7923 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.008343, allocations: 55.41 kB / 0.7923 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.008455, allocations: 181.2 kB / 0.7925 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.008473, allocations: 25.7 kB / 0.7925 GB, free: 7.758 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.008568, allocations: 142.9 kB / 0.7926 GB, free: 7.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.008594, allocations: 12.41 kB / 0.7927 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.854e-05/0.008643, allocations: 27.89 kB / 0.7927 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001576/0.0088, allocations: 493.2 kB / 0.7932 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.631e-05/0.008837, allocations: 11.98 kB / 0.7932 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.206e-05/0.008869, allocations: 15.97 kB / 0.7932 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.961e-05/0.008938, allocations: 32.2 kB / 0.7932 GB, free: 7.012 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.008942, allocations: 4.531 kB / 0.7932 GB, free: 7.008 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001343/0.009076, allocations: 70.98 kB / 0.7933 GB, free: 6.934 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.00909, allocations: 7.938 kB / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.009094, allocations: 0 / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.009104, allocations: 5.156 kB / 0.7933 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.009205, allocations: 11.98 kB / 0.7933 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.557e-06/0.009209, allocations: 0.9375 kB / 0.7933 GB, free: 6.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.318e-05/0.009252, allocations: 4 kB / 0.7933 GB, free: 6.906 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.009263, allocations: 5.875 kB / 0.7933 GB, free: 6.902 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 7.812e-05/0.009341, allocations: 152.6 kB / 0.7935 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.009372, allocations: 7.953 kB / 0.7935 GB, free: 6.734 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.487e-05/0.009417, allocations: 16.91 kB / 0.7935 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.00942, allocations: 3.984 kB / 0.7935 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.854e-06/0.009422, allocations: 6.25 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.009426, allocations: 3.984 kB / 0.7935 GB, free: 6.707 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.009577, allocations: 113.2 kB / 0.7936 GB, free: 6.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009578, allocations: 3.938 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.418e-05/0.009652, allocations: 11.98 kB / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.009655, allocations: 0 / 0.7936 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.009665, allocations: 11.42 kB / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.009667, allocations: 0 / 0.7936 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.00967, allocations: 3.938 kB / 0.7936 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.009864, allocations: 207.9 kB / 0.7938 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.137e-05/0.009876, allocations: 7.953 kB / 0.7938 GB, free: 6.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.009893, allocations: 3.984 kB / 0.7938 GB, free: 6.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.165e-05/0.009974, allocations: 4 kB / 0.7939 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.004e-05/0.01, allocations: 3.938 kB / 0.7939 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.204e-05/0.01002, allocations: 8.672 kB / 0.7939 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.857e-05/0.01007, allocations: 143.1 kB / 0.794 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01007, allocations: 0.5 kB / 0.794 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002683/0.01034, allocations: 28.44 kB / 0.794 GB, free: 6.125 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.0001942/0.01054, allocations: 119.7 kB / 0.7941 GB, free: 6 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.01068, allocations: 45.06 kB / 0.7942 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.01069, allocations: 0 / 0.7942 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.188e-05/0.01074, allocations: 28.19 kB / 0.7942 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.01101, allocations: 4.812 kB / 0.7942 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006765/0.01169, allocations: 176.2 kB / 0.7944 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.259e-05/0.01174, allocations: 55.36 kB / 0.7944 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.281e-05/0.01182, allocations: 21.22 kB / 0.7945 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.01192, allocations: 78.19 kB / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of SimCode: time 1.222e-06/0.01192, allocations: 0 / 0.7945 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of Templates: time 0.004162/0.01608, allocations: 1.292 MB / 0.7958 GB, free: 4.273 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.160439746920019]