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.000974/0.000974, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001363/0.002337, allocations: 435.8 kB / 10.33 MB, free: 368 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.000703/0.000703, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009138/0.001617, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.963/0.963, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0874/1.05, allocations: 53.66 MB / 243.2 MB, free: 15.59 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.313/2.313, allocations: 446.7 MB / 0.6745 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.235/2.548, allocations: 145.9 MB / 0.817 GB, free: 4.223 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.923e-06/1.923e-06, allocations: 0 / 0.8183 GB, free: 2.895 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.633e-05/2.825e-05, allocations: 4.281 kB / 0.8183 GB, free: 2.891 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.003429/0.003457, allocations: 1.638 MB / 0.8199 GB, free: 1.234 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001387/0.004844, allocations: 0.8217 MB / 0.8207 GB, free: 416 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.409e-05/0.004898, allocations: 3.938 kB / 0.8207 GB, free: 412 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.743e-05/0.004925, allocations: 3.938 kB / 0.8207 GB, free: 408 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.749e-05/0.004983, allocations: 23.78 kB / 0.8208 GB, free: 384 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003345/0.005317, allocations: 95.58 kB / 0.8208 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001182/0.005436, allocations: 59.72 kB / 0.8209 GB, free: 228 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.005525, allocations: 19.88 kB / 0.8209 GB, free: 208 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001991/0.005724, allocations: 51.91 kB / 0.821 GB, free: 156 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.259e-05/0.005797, allocations: 19.91 kB / 0.821 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.094e-05/0.005817, allocations: 4 kB / 0.821 GB, free: 132 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001798/0.005997, allocations: 75.86 kB / 0.8211 GB, free: 56 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.383e-05/0.006011, allocations: 4 kB / 0.8211 GB, free: 52 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.413e-05/0.006035, allocations: 15.94 kB / 0.8211 GB, free: 36 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0002196/0.006255, allocations: 87.69 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.781e-05/0.006273, allocations: 4 kB / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of FrontEnd: time 9.82e-07/0.006274, allocations: 0 / 0.8212 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.923e-05/0.006293, allocations: 4 kB / 0.8212 GB, free: 15.94 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.0004461/0.006739, allocations: 292.2 kB / 0.8215 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.00678, allocations: 8.031 kB / 0.8215 GB, free: 15.62 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004013/0.007181, allocations: 122 kB / 0.8216 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001786/0.00736, allocations: 121.7 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.007372, allocations: 8.375 kB / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.007384, allocations: 384 / 0.8217 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001849/0.007569, allocations: 82.83 kB / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.007577, allocations: 192 / 0.8218 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.007588, allocations: 4.375 kB / 0.8218 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.735e-06/0.007595, allocations: 7.875 kB / 0.8218 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.888e-05/0.007654, allocations: 16 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003378/0.007992, allocations: 184.2 kB / 0.822 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.008122, allocations: 46.48 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.911e-05/0.008161, allocations: 16.94 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.07e-05/0.008182, allocations: 0 / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.008207, allocations: 38.56 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 2.485e-06/0.008209, allocations: 3.984 kB / 0.8221 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.0001978/0.008407, allocations: 57.61 kB / 0.8221 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.008442, allocations: 51.41 kB / 0.8222 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.545e-05/0.008527, allocations: 127.8 kB / 0.8223 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.008542, allocations: 25.7 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/0.008585, allocations: 96.06 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.716e-05/0.008613, allocations: 15.91 kB / 0.8224 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-05/0.008654, allocations: 13.7 kB / 0.8225 GB, free: 14.47 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.008754, allocations: 322.8 kB / 0.8228 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.489e-05/0.008789, allocations: 4 kB / 0.8228 GB, free: 14.14 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.008816, allocations: 11.98 kB / 0.8228 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.078e-05/0.008876, allocations: 20.84 kB / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.008878, allocations: 0 / 0.8228 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000109/0.008987, allocations: 53.67 kB / 0.8228 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.009004, allocations: 8 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.00901, allocations: 3.938 kB / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.448e-06/0.00902, allocations: 0 / 0.8229 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.009163, allocations: 23.91 kB / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.016e-06/0.009166, allocations: 0 / 0.8229 GB, free: 14.02 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.821e-05/0.009214, allocations: 4 kB / 0.8229 GB, free: 14.01 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/0.009228, allocations: 3.984 kB / 0.8229 GB, free: 14.01 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 7.417e-05/0.009302, allocations: 109.8 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.009328, allocations: 4 kB / 0.823 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.965e-05/0.009368, allocations: 15.94 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.00937, allocations: 0 / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.009374, allocations: 3.984 kB / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.009377, allocations: 0 / 0.823 GB, free: 13.87 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001361/0.009513, allocations: 81.88 kB / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.009515, allocations: 0 / 0.8231 GB, free: 13.77 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.016e-05/0.009605, allocations: 19.91 kB / 0.8231 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.147e-05/0.009617, allocations: 7.953 kB / 0.8231 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.00962, allocations: 4 kB / 0.8231 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.009629, allocations: 7.984 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.009635, allocations: 3.938 kB / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.009637, allocations: 0 / 0.8231 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001457/0.009782, allocations: 147.5 kB / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.528e-05/0.009798, allocations: 0 / 0.8233 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.009874, allocations: 4 kB / 0.8233 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.237e-05/0.009906, allocations: 11.92 kB / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.009913, allocations: 0 / 0.8233 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.899e-05/0.009972, allocations: 31.7 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.91e-07/0.009973, allocations: 4 kB / 0.8233 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001825/0.01016, allocations: 27.88 kB / 0.8234 GB, free: 13.49 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.0001574/0.01031, allocations: 104.3 kB / 0.8235 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001068/0.01042, allocations: 29.2 kB / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/0.01043, allocations: 0 / 0.8235 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.92e-05/0.01046, allocations: 24.88 kB / 0.8235 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001454/0.0106, allocations: 11.98 kB / 0.8235 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001116/0.01172, allocations: 172.4 kB / 0.8237 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.467e-05/0.01175, allocations: 63.2 kB / 0.8237 GB, free: 13.03 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.355e-05/0.01181, allocations: 15.98 kB / 0.8238 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.01186, allocations: 59.36 kB / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.01186, allocations: 0 / 0.8238 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of Templates: time 0.02893/0.0408, allocations: 1.232 MB / 0.825 GB, free: 11.73 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,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.3398249465972185]