Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001854/0.001854, allocations: 88.39 kB / 20.23 MB, free: 4.176 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.002248/0.002248, allocations: 161.3 kB / 23.54 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.512/1.512, allocations: 177.2 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.845/2.845, allocations: 377.8 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.843e-06/1.843e-06, allocations: 0 / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.174e-05/3.358e-05, allocations: 7.625 kB / 0.8108 GB, free: 2.074 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003169/0.003202, allocations: 1.545 MB / 0.8123 GB, free: 0.5352 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001653/0.004855, allocations: 0.7778 MB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.742e-05/0.004922, allocations: 0 / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 5.225e-05/0.004975, allocations: 10.28 kB / 0.8131 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.846e-05/0.005063, allocations: 11.92 kB / 0.8131 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004781/0.005541, allocations: 111.5 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0001456/0.005687, allocations: 56.62 kB / 0.8133 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.005789, allocations: 15.98 kB / 0.8133 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001668/0.005956, allocations: 40.94 kB / 0.8133 GB, free: 15.52 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 7.204e-05/0.006028, allocations: 23.91 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.877e-05/0.006047, allocations: 5.344 kB / 0.8134 GB, free: 15.49 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.006223, allocations: 67.88 kB / 0.8134 GB, free: 15.42 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.006243, allocations: 7.922 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.006278, allocations: 12 kB / 0.8134 GB, free: 15.4 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0002546/0.006532, allocations: 117.4 kB / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.006536, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006537, allocations: 0 / 0.8136 GB, free: 15.29 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.006542, allocations: 3.938 kB / 0.8136 GB, free: 15.29 MB / 0.7761 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.0005689/0.007111, allocations: 306.8 kB / 0.8139 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.007155, allocations: 12.03 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005281/0.007683, allocations: 47.55 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002715/0.007954, allocations: 141.6 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.144e-05/0.007966, allocations: 384 / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.00798, allocations: 0.875 kB / 0.814 GB, free: 14.74 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000301/0.008281, allocations: 84.05 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.00829, allocations: 192 / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.008306, allocations: 4.359 kB / 0.8141 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.822e-06/0.008313, allocations: 3.938 kB / 0.8141 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003025/0.008615, allocations: 69.98 kB / 0.8142 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.009173, allocations: 253.4 kB / 0.8144 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003069/0.00948, allocations: 76.66 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.009636, allocations: 36.92 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.00966, allocations: 0.8438 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.96e-05/0.009709, allocations: 38.5 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.00971, allocations: 1.062 kB / 0.8146 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0006339/0.01034, allocations: 140.2 kB / 0.8147 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.643e-05/0.0104, allocations: 55.41 kB / 0.8148 GB, free: 13.93 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001473/0.01055, allocations: 124.7 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.01057, allocations: 25.7 kB / 0.8149 GB, free: 13.77 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.01065, allocations: 91.11 kB / 0.815 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.814e-05/0.01068, allocations: 7.953 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.403e-05/0.01073, allocations: 17.7 kB / 0.815 GB, free: 13.64 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0002063/0.01094, allocations: 322.8 kB / 0.8153 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.01109, allocations: 31.97 kB / 0.8154 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.01124, allocations: 28.47 kB / 0.8154 GB, free: 13.26 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002811/0.01152, allocations: 70.69 kB / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.01152, allocations: 4 kB / 0.8155 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003647/0.01189, allocations: 107.7 kB / 0.8156 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.0119, allocations: 4 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.882e-06/0.01191, allocations: 6.656 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.01193, allocations: 4 kB / 0.8156 GB, free: 13.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001674/0.0121, allocations: 15.97 kB / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.01211, allocations: 0 / 0.8156 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.691e-05/0.0122, allocations: 7.984 kB / 0.8156 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.525e-05/0.01222, allocations: 4 kB / 0.8156 GB, free: 13.04 MB / 0.7761 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.0001105/0.01233, allocations: 116.6 kB / 0.8157 GB, free: 12.92 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.157e-05/0.01237, allocations: 7.891 kB / 0.8157 GB, free: 12.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.271e-05/0.01242, allocations: 19.97 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01242, allocations: 3.938 kB / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01243, allocations: 336 / 0.8158 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.05e-06/0.01243, allocations: 8.875 kB / 0.8158 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001986/0.01263, allocations: 125.3 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.01263, allocations: 0 / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.01275, allocations: 17.11 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.01276, allocations: 3.984 kB / 0.8159 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.01278, allocations: 9.047 kB / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.01278, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01278, allocations: 0 / 0.8159 GB, free: 12.7 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004463/0.01323, allocations: 201.6 kB / 0.8161 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.018e-05/0.01325, allocations: 15.89 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.565e-05/0.01327, allocations: 4.656 kB / 0.8161 GB, free: 12.47 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001225/0.01339, allocations: 4 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.01344, allocations: 9.641 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.226e-06/0.01345, allocations: 0 / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 8.166e-05/0.01353, allocations: 99.27 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of sort global known variables: time 9e-08/0.01353, allocations: 3.938 kB / 0.8162 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003079/0.01384, allocations: 32.42 kB / 0.8163 GB, free: 12.32 MB / 0.7761 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.0002488/0.01409, allocations: 124.4 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.000359/0.01445, allocations: 70.19 kB / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.392e-06/0.01445, allocations: 0 / 0.8165 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.01461, allocations: 41.34 kB / 0.8165 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002717/0.01488, allocations: 7.984 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005298/0.01541, allocations: 183 kB / 0.8167 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.862e-05/0.01549, allocations: 63.34 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 8.349e-05/0.01557, allocations: 19.98 kB / 0.8168 GB, free: 11.77 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.883e-05/0.01563, allocations: 20.48 kB / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of SimCode: time 3.9e-07/0.01563, allocations: 0 / 0.8168 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of Templates: time 0.004344/0.01997, allocations: 1.146 MB / 0.8179 GB, free: 10.62 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Storage_Ice_BaseClasses_Examples_LMTDStar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.872775463038124]