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.001998/0.001998, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002438/0.002438, allocations: 165.7 kB / 23.55 MB, free: 0.8867 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.543/1.543, allocations: 177.1 MB / 203.9 MB, free: 5.59 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.73/2.73, allocations: 359 MB / 0.6048 GB, free: 10.91 MB / 0.573 GB " [Timeout remaining time 177] 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 2.675e-06/2.675e-06, allocations: 0 / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.045e-05/4.312e-05, allocations: 3.984 kB / 0.7864 GB, free: 12.75 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.004236/0.004279, allocations: 1.56 MB / 0.7879 GB, free: 11.2 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.006116, allocations: 0.7785 MB / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.349e-05/0.006199, allocations: 0 / 0.7887 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.773e-05/0.006237, allocations: 4.5 kB / 0.7887 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.00634, allocations: 20.91 kB / 0.7887 GB, free: 10.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004999/0.00684, allocations: 101.4 kB / 0.7888 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.006998, allocations: 59.72 kB / 0.7889 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.007101, allocations: 15.98 kB / 0.7889 GB, free: 10.22 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001621/0.007263, allocations: 36.59 kB / 0.7889 GB, free: 10.19 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.478e-05/0.007338, allocations: 27.91 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.746e-05/0.007356, allocations: 0.8125 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001642/0.00752, allocations: 71.88 kB / 0.789 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.007543, allocations: 13.14 kB / 0.789 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.007586, allocations: 8 kB / 0.789 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000242/0.007828, allocations: 119.6 kB / 0.7891 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.007834, allocations: 5.391 kB / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.152e-06/0.007836, allocations: 0 / 0.7891 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.007841, allocations: 0 / 0.7891 GB, free: 9.949 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.0005472/0.008388, allocations: 299 kB / 0.7894 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.008429, allocations: 8.031 kB / 0.7894 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005226/0.008951, allocations: 50.36 kB / 0.7895 GB, free: 9.574 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002685/0.00922, allocations: 139.3 kB / 0.7896 GB, free: 9.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.349e-05/0.009233, allocations: 8.312 kB / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.288e-05/0.009246, allocations: 384 / 0.7896 GB, free: 9.406 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002875/0.009534, allocations: 84.69 kB / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.009543, allocations: 192 / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.009556, allocations: 384 / 0.7897 GB, free: 9.32 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.009564, allocations: 3.938 kB / 0.7897 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.009848, allocations: 64.58 kB / 0.7898 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005108/0.01036, allocations: 262.1 kB / 0.79 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003022/0.01066, allocations: 71.16 kB / 0.7901 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001501/0.01081, allocations: 43.42 kB / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.997e-05/0.01083, allocations: 0 / 0.7901 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.436e-05/0.01087, allocations: 34.5 kB / 0.7902 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 7.02e-07/0.01087, allocations: 4 kB / 0.7902 GB, free: 8.801 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0005986/0.01146, allocations: 143.6 kB / 0.7903 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.58e-05/0.01151, allocations: 51.94 kB / 0.7904 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.01164, allocations: 126.5 kB / 0.7905 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.01167, allocations: 25.7 kB / 0.7905 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.574e-05/0.01173, allocations: 84.67 kB / 0.7906 GB, free: 8.344 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.01176, allocations: 11.95 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.204e-05/0.01181, allocations: 19.3 kB / 0.7906 GB, free: 8.309 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.012, allocations: 322.8 kB / 0.7909 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000152/0.01215, allocations: 32.5 kB / 0.7909 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.01229, allocations: 33.28 kB / 0.791 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002877/0.01258, allocations: 61.97 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.01258, allocations: 1.375 kB / 0.791 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003662/0.01294, allocations: 115.2 kB / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.01296, allocations: 4 kB / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.01296, allocations: 0 / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.01298, allocations: 0 / 0.7912 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001435/0.01312, allocations: 21.25 kB / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.01313, allocations: 0 / 0.7912 GB, free: 7.719 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.471e-05/0.01322, allocations: 12.45 kB / 0.7912 GB, free: 7.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.724e-05/0.01324, allocations: 8 kB / 0.7912 GB, free: 7.699 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.0001158/0.01336, allocations: 110.6 kB / 0.7913 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.212e-05/0.0134, allocations: 17.52 kB / 0.7913 GB, free: 7.566 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.335e-05/0.01345, allocations: 19.97 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.01345, allocations: 0 / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.01346, allocations: 0.875 kB / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.01346, allocations: 0 / 0.7913 GB, free: 7.547 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000199/0.01366, allocations: 133.1 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.01366, allocations: 3.469 kB / 0.7915 GB, free: 7.387 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001175/0.01378, allocations: 11.98 kB / 0.7915 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.01378, allocations: 4 kB / 0.7915 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.0138, allocations: 7.922 kB / 0.7915 GB, free: 7.363 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.0138, allocations: 3.938 kB / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.0138, allocations: 0 / 0.7915 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.01423, allocations: 205.9 kB / 0.7917 GB, free: 7.145 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.01425, allocations: 7.953 kB / 0.7917 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.125e-05/0.01428, allocations: 3.938 kB / 0.7917 GB, free: 7.133 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.0144, allocations: 7.984 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.96e-05/0.01444, allocations: 0.9062 kB / 0.7917 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.406e-05/0.01446, allocations: 7.984 kB / 0.7917 GB, free: 7.117 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 7.84e-05/0.01454, allocations: 97.64 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01454, allocations: 0.8438 kB / 0.7918 GB, free: 7.023 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002846/0.01482, allocations: 27.94 kB / 0.7918 GB, free: 6.996 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.0002577/0.01508, allocations: 129.9 kB / 0.792 GB, free: 6.863 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003631/0.01544, allocations: 71.88 kB / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.01544, allocations: 0 / 0.792 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.01561, allocations: 43 kB / 0.7921 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.01588, allocations: 7.984 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004916/0.01637, allocations: 165.4 kB / 0.7922 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.548e-05/0.01644, allocations: 68.41 kB / 0.7923 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.683e-05/0.01653, allocations: 19.31 kB / 0.7923 GB, free: 6.457 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.125e-05/0.01658, allocations: 21.89 kB / 0.7923 GB, free: 6.438 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.01658, allocations: 4 kB / 0.7923 GB, free: 6.434 MB / 0.7448 GB Notification: Performance of Templates: time 0.004343/0.02092, allocations: 1.132 MB / 0.7934 GB, free: 5.32 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] 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: 7.815193607937545]