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.002408/0.002408, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.002876/0.002876, allocations: 157.3 kB / 23.55 MB, free: 0.8672 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.602/1.602, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] 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 2.923/2.923, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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 5.521e-06/5.521e-06, allocations: 4 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.574e-05/4.126e-05, allocations: 6.75 kB / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.004093/0.004135, allocations: 1.576 MB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002058/0.006193, allocations: 0.7936 MB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.542e-05/0.006268, allocations: 3.938 kB / 0.7887 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.324e-05/0.006302, allocations: 4.562 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.006406, allocations: 17.27 kB / 0.7887 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.00693, allocations: 104.4 kB / 0.7888 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001715/0.007101, allocations: 63.66 kB / 0.7889 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.007212, allocations: 12.55 kB / 0.7889 GB, free: 10.2 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.007405, allocations: 36.59 kB / 0.7889 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.372e-05/0.007488, allocations: 19.91 kB / 0.789 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.543e-05/0.007514, allocations: 4.906 kB / 0.789 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002126/0.007726, allocations: 71.88 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.076e-05/0.007747, allocations: 8.641 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.472e-05/0.007792, allocations: 15.94 kB / 0.7891 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003129/0.008105, allocations: 120.3 kB / 0.7892 GB, free: 9.934 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 7.804e-06/0.008112, allocations: 4 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.042e-06/0.008114, allocations: 1.656 kB / 0.7892 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.008119, allocations: 0 / 0.7892 GB, free: 9.93 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.0007378/0.008856, allocations: 403.9 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.008902, allocations: 8.031 kB / 0.7896 GB, free: 9.492 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006253/0.009527, allocations: 43.78 kB / 0.7896 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002839/0.009811, allocations: 136.5 kB / 0.7897 GB, free: 9.293 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.009826, allocations: 4.375 kB / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.704e-05/0.009843, allocations: 384 / 0.7897 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.01014, allocations: 78.92 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.01015, allocations: 3.594 kB / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.01017, allocations: 384 / 0.7898 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/0.01018, allocations: 3.938 kB / 0.7898 GB, free: 9.203 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003027/0.01048, allocations: 59.91 kB / 0.7899 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006973/0.01118, allocations: 327.7 kB / 0.7902 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003359/0.01151, allocations: 75.56 kB / 0.7903 GB, free: 8.703 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001682/0.01168, allocations: 37.17 kB / 0.7903 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.599e-05/0.01171, allocations: 4 kB / 0.7903 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.01175, allocations: 38.14 kB / 0.7903 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 1.463e-06/0.01176, allocations: 3.938 kB / 0.7903 GB, free: 8.609 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0006859/0.01244, allocations: 127.5 kB / 0.7905 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.0125, allocations: 55.34 kB / 0.7905 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.01273, allocations: 193.7 kB / 0.7907 GB, free: 8.211 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.176e-05/0.01276, allocations: 25.7 kB / 0.7907 GB, free: 8.18 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.01288, allocations: 142.9 kB / 0.7909 GB, free: 8.035 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.8e-05/0.01291, allocations: 4.734 kB / 0.7909 GB, free: 8.031 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.738e-05/0.01299, allocations: 27.36 kB / 0.7909 GB, free: 7.996 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003377/0.01333, allocations: 0.4884 MB / 0.7914 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001653/0.01349, allocations: 33.91 kB / 0.7914 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001517/0.01364, allocations: 27.98 kB / 0.7914 GB, free: 7.438 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002901/0.01393, allocations: 66.5 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.01393, allocations: 0 / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004087/0.01434, allocations: 105.8 kB / 0.7916 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.01436, allocations: 4 kB / 0.7916 GB, free: 7.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.976e-06/0.01437, allocations: 7.406 kB / 0.7916 GB, free: 7.254 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.01439, allocations: 4.031 kB / 0.7916 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001875/0.01458, allocations: 11.98 kB / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.01459, allocations: 0 / 0.7916 GB, free: 7.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.493e-05/0.01468, allocations: 11.92 kB / 0.7916 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.0147, allocations: 4 kB / 0.7916 GB, free: 7.223 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 0.0001649/0.01487, allocations: 156.6 kB / 0.7918 GB, free: 7.059 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.64e-05/0.01492, allocations: 15.83 kB / 0.7918 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.978e-05/0.01499, allocations: 20.91 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.015, allocations: 0.5 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.015, allocations: 0.5625 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.015, allocations: 0 / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002939/0.0153, allocations: 149 kB / 0.792 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.308e-06/0.0153, allocations: 4 kB / 0.792 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000139/0.01544, allocations: 13.27 kB / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.01544, allocations: 0 / 0.792 GB, free: 6.828 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.707e-05/0.01546, allocations: 4.594 kB / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.01546, allocations: 0 / 0.792 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.097e-06/0.01546, allocations: 5.391 kB / 0.792 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005246/0.01599, allocations: 243.9 kB / 0.7922 GB, free: 6.562 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.865e-05/0.01601, allocations: 9.141 kB / 0.7922 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.869e-05/0.01604, allocations: 3.938 kB / 0.7922 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.01619, allocations: 11.92 kB / 0.7923 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/0.01624, allocations: 4.75 kB / 0.7923 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.047e-05/0.01626, allocations: 11.98 kB / 0.7923 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001393/0.0164, allocations: 140.1 kB / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.11e-07/0.0164, allocations: 0 / 0.7924 GB, free: 6.387 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004126/0.01681, allocations: 25.16 kB / 0.7924 GB, free: 6.363 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.0002963/0.01711, allocations: 127.1 kB / 0.7925 GB, free: 6.23 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003987/0.01751, allocations: 72.61 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.01751, allocations: 1.844 kB / 0.7926 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001829/0.01769, allocations: 43.66 kB / 0.7927 GB, free: 6.109 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.01807, allocations: 12 kB / 0.7927 GB, free: 6.098 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005909/0.01866, allocations: 181.4 kB / 0.7928 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.677e-05/0.01876, allocations: 67.34 kB / 0.7929 GB, free: 5.809 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001174/0.01888, allocations: 19.11 kB / 0.7929 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.808e-05/0.01894, allocations: 16.48 kB / 0.7929 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.01894, allocations: 1.062 kB / 0.7929 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of Templates: time 0.005677/0.02462, allocations: 1.148 MB / 0.7941 GB, free: 4.648 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.15340006398037]