Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.0007943/0.0007943, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001907/0.002701, 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.001112/0.001112, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001365/0.002477, 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.9159/0.9159, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07234/0.9882, allocations: 53.67 MB / 243.4 MB, free: 15.49 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.392/2.392, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2359/2.628, allocations: 146 MB / 0.8176 GB, free: 3.816 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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.8189 GB, free: 2.512 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.39e-05/2.544e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003189/0.003215, allocations: 1.594 MB / 0.8205 GB, free: 0.8984 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001904/0.005118, allocations: 1.29 MB / 0.8217 GB, free: 15.6 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.336e-05/0.005202, allocations: 11.88 kB / 0.8217 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.005386, allocations: 15.86 kB / 0.8218 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001693/0.005555, allocations: 39.72 kB / 0.8218 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001882/0.005744, allocations: 55.84 kB / 0.8218 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002171/0.005961, allocations: 151.5 kB / 0.822 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.006098, allocations: 37.89 kB / 0.822 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002016/0.0063, allocations: 128.5 kB / 0.8221 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001468/0.006447, allocations: 43.84 kB / 0.8222 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.516e-05/0.006492, allocations: 12 kB / 0.8222 GB, free: 15.12 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 9.151e-05/0.006583, allocations: 23.98 kB / 0.8222 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 7.772e-05/0.006661, allocations: 31.88 kB / 0.8223 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.754e-05/0.006719, allocations: 31.88 kB / 0.8223 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0002887/0.007007, allocations: 155.4 kB / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.518e-05/0.007022, allocations: 0 / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.264e-06/0.007025, allocations: 0 / 0.8224 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.198e-05/0.007047, allocations: 0 / 0.8224 GB, free: 14.88 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007805/0.007827, allocations: 419.6 kB / 0.8228 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.007869, allocations: 8.031 kB / 0.8228 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.53e-05/0.007944, allocations: 20.92 kB / 0.8229 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003207/0.008265, allocations: 177.5 kB / 0.823 GB, free: 14.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000166/0.008431, allocations: 214.2 kB / 0.8232 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.616e-05/0.008467, allocations: 8.375 kB / 0.8232 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002848/0.008752, allocations: 200.1 kB / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.00876, allocations: 0 / 0.8234 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.00878, allocations: 8 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.586e-05/0.008816, allocations: 7.984 kB / 0.8234 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.831e-05/0.008855, allocations: 12 kB / 0.8235 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006661/0.009521, allocations: 285.5 kB / 0.8237 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.289e-05/0.009584, allocations: 22.58 kB / 0.8238 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.832e-05/0.009612, allocations: 12.8 kB / 0.8238 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.604e-05/0.009648, allocations: 11.98 kB / 0.8238 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.009679, allocations: 34.56 kB / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 2.415e-06/0.009682, allocations: 0 / 0.8238 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001944/0.009876, allocations: 57.67 kB / 0.8239 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.443e-05/0.00991, allocations: 51.41 kB / 0.8239 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001676/0.01008, allocations: 195.7 kB / 0.8241 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.0101, allocations: 25.7 kB / 0.8241 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.236e-05/0.01017, allocations: 112 kB / 0.8242 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.891e-05/0.0102, allocations: 23.78 kB / 0.8243 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.95e-05/0.01025, allocations: 33.64 kB / 0.8243 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001076/0.01035, allocations: 334.7 kB / 0.8246 GB, free: 12.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.01038, allocations: 11.98 kB / 0.8246 GB, free: 12.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.811e-05/0.01046, allocations: 82.22 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001319/0.01059, allocations: 120.9 kB / 0.8248 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.01059, allocations: 0 / 0.8248 GB, free: 12.14 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001589/0.01075, allocations: 97.39 kB / 0.8249 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.791e-05/0.01077, allocations: 8.375 kB / 0.8249 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.735e-06/0.01078, allocations: 8 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.824e-05/0.01079, allocations: 4 kB / 0.8249 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01091, allocations: 27.92 kB / 0.8249 GB, free: 11.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.01091, allocations: 7.984 kB / 0.825 GB, free: 11.98 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.224e-05/0.01097, allocations: 19.89 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.01099, allocations: 4 kB / 0.825 GB, free: 11.96 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (12): * Single equations (assignments): 12 * 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 9.376e-05/0.01108, allocations: 124.5 kB / 0.8251 GB, free: 11.82 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.285e-05/0.01113, allocations: 11.98 kB / 0.8251 GB, free: 11.81 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001742/0.01131, allocations: 79.02 kB / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.01131, allocations: 0 / 0.8252 GB, free: 11.72 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.01131, allocations: 8 kB / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.01132, allocations: 0 / 0.8252 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001778/0.0115, allocations: 105.7 kB / 0.8253 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.0115, allocations: 0 / 0.8253 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.539e-05/0.01155, allocations: 15.98 kB / 0.8253 GB, free: 11.58 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.065e-05/0.01157, allocations: 15.89 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.01158, allocations: 0 / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.01159, allocations: 4 kB / 0.8253 GB, free: 11.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.01159, allocations: 3.938 kB / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01159, allocations: 0 / 0.8253 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001495/0.01174, allocations: 159.4 kB / 0.8255 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.01176, allocations: 8 kB / 0.8255 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001502/0.01191, allocations: 11.98 kB / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.01192, allocations: 0 / 0.8255 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.438e-05/0.01195, allocations: 15.97 kB / 0.8255 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.824e-05/0.01202, allocations: 51.09 kB / 0.8256 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.01202, allocations: 0 / 0.8256 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002998/0.01232, allocations: 31.94 kB / 0.8256 GB, free: 11.27 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 (8): * Single equations (assignments): 8 * 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.0002845/0.0126, allocations: 105.5 kB / 0.8257 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001179/0.01272, allocations: 40.72 kB / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.921e-06/0.01273, allocations: 0 / 0.8257 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 4.292e-05/0.01277, allocations: 34.38 kB / 0.8258 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003811/0.01315, allocations: 171.4 kB / 0.8259 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007149/0.01386, allocations: 260 kB / 0.8262 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.133e-05/0.01394, allocations: 79.31 kB / 0.8263 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 9.946e-05/0.01403, allocations: 36.78 kB / 0.8263 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.01432, allocations: 107.2 kB / 0.8264 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of SimCode: time 1.183e-06/0.01432, allocations: 0 / 0.8264 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of Templates: time 0.006003/0.02032, allocations: 2.902 MB / 0.8292 GB, free: 7.508 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.239370961673558]