Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007757/0.0007757, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001154/0.00193, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0007166/0.0007166, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001015/0.001731, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.9419/0.9419, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0925/1.034, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.366/2.366, allocations: 447.1 MB / 0.675 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.244/2.61, allocations: 146 MB / 0.8176 GB, free: 3.859 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.8189 GB, free: 2.52 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.645e-05/2.82e-05, allocations: 4.844 kB / 0.8189 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.002112/0.00214, allocations: 1.65 MB / 0.8206 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001091/0.003231, allocations: 0.8217 MB / 0.8214 GB, free: 20 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.376e-05/0.003305, allocations: 8 kB / 0.8214 GB, free: 12 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 3.066e-05/0.003336, allocations: 3.938 kB / 0.8214 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 7.449e-05/0.00341, allocations: 15.8 kB / 0.8214 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003272/0.003737, allocations: 99.56 kB / 0.8215 GB, free: 15.89 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001559/0.003893, allocations: 59.73 kB / 0.8215 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.004013, allocations: 15.88 kB / 0.8215 GB, free: 15.82 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001845/0.004197, allocations: 55.83 kB / 0.8216 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 8.002e-05/0.004277, allocations: 23.92 kB / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.004298, allocations: 0 / 0.8216 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.004475, allocations: 79.86 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.024e-05/0.004495, allocations: 4 kB / 0.8217 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.562e-05/0.004521, allocations: 15.94 kB / 0.8217 GB, free: 15.64 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.004712, allocations: 83.75 kB / 0.8218 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.513e-05/0.004728, allocations: 0 / 0.8218 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.533e-06/0.004729, allocations: 0 / 0.8218 GB, free: 15.56 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.656e-05/0.004746, allocations: 0 / 0.8218 GB, free: 15.56 MB / 0.8073 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.0004991/0.005245, allocations: 300.2 kB / 0.8221 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.005283, allocations: 8.031 kB / 0.8221 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003454/0.005629, allocations: 117.9 kB / 0.8222 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.005808, allocations: 133.7 kB / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.005822, allocations: 384 / 0.8223 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.566e-05/0.005837, allocations: 8.375 kB / 0.8223 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001647/0.006002, allocations: 78.89 kB / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.00601, allocations: 192 / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.006021, allocations: 384 / 0.8224 GB, free: 14.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.006027, allocations: 3.938 kB / 0.8224 GB, free: 14.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.199e-05/0.006069, allocations: 23.97 kB / 0.8224 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002967/0.006366, allocations: 184.2 kB / 0.8226 GB, free: 14.63 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.006465, allocations: 38.5 kB / 0.8227 GB, free: 14.59 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.499e-05/0.00649, allocations: 20.94 kB / 0.8227 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.94e-05/0.00651, allocations: 3.984 kB / 0.8227 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.006534, allocations: 30.56 kB / 0.8227 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 8.31e-07/0.006535, allocations: 4 kB / 0.8227 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001697/0.006704, allocations: 65.55 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/0.00674, allocations: 51.41 kB / 0.8228 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.754e-05/0.006837, allocations: 127.4 kB / 0.8229 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.006852, allocations: 25.7 kB / 0.823 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.592e-05/0.006888, allocations: 84.14 kB / 0.8231 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.006918, allocations: 15.91 kB / 0.8231 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.658e-05/0.006955, allocations: 21.69 kB / 0.8231 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.007056, allocations: 318.8 kB / 0.8234 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.569e-05/0.007082, allocations: 4 kB / 0.8234 GB, free: 13.76 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.007104, allocations: 11.98 kB / 0.8234 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.957e-05/0.007154, allocations: 24.78 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.007158, allocations: 4 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.905e-05/0.007247, allocations: 49.67 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.007267, allocations: 5.406 kB / 0.8235 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.007274, allocations: 7.938 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.007287, allocations: 4 kB / 0.8235 GB, free: 13.65 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.007402, allocations: 15.97 kB / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.007407, allocations: 0 / 0.8235 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.063e-05/0.007437, allocations: 8 kB / 0.8235 GB, free: 13.62 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.497e-06/0.007447, allocations: 3.984 kB / 0.8235 GB, free: 13.62 MB / 0.8073 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 6.704e-05/0.007514, allocations: 109.8 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.908e-05/0.007533, allocations: 4 kB / 0.8236 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.532e-05/0.007578, allocations: 23.92 kB / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.007581, allocations: 0 / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.994e-06/0.007583, allocations: 0 / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.007586, allocations: 0 / 0.8237 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.007698, allocations: 81.81 kB / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.0077, allocations: 0 / 0.8237 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.574e-05/0.007755, allocations: 19.97 kB / 0.8238 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.344e-06/0.007763, allocations: 3.953 kB / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.007764, allocations: 0 / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.007772, allocations: 7.922 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.007775, allocations: 11.94 kB / 0.8238 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.007776, allocations: 0 / 0.8238 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001122/0.007888, allocations: 143.5 kB / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.161e-05/0.0079, allocations: 0 / 0.8239 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.007939, allocations: 4 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.218e-05/0.007971, allocations: 11.92 kB / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-06/0.007975, allocations: 0 / 0.8239 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.244e-05/0.007998, allocations: 20.72 kB / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.007998, allocations: 0 / 0.8239 GB, free: 13.14 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001536/0.008152, allocations: 39.81 kB / 0.824 GB, free: 13.1 MB / 0.8073 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.0001481/0.0083, allocations: 108.3 kB / 0.8241 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.215e-05/0.008382, allocations: 29.2 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.008388, allocations: 4 kB / 0.8241 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.541e-05/0.008424, allocations: 24.81 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.008592, allocations: 45.69 kB / 0.8242 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.009973, allocations: 176.3 kB / 0.8244 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.346e-05/0.01001, allocations: 59.2 kB / 0.8244 GB, free: 12.6 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.904e-05/0.01006, allocations: 19.98 kB / 0.8244 GB, free: 12.58 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.305e-05/0.01012, allocations: 59.36 kB / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of SimCode: time 7.51e-07/0.01012, allocations: 0 / 0.8245 GB, free: 12.52 MB / 0.8073 GB Notification: Performance of Templates: time 0.002692/0.01281, allocations: 1.241 MB / 0.8257 GB, free: 11.28 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.028502838686109]