Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.0007566/0.0007566, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001033/0.001789, allocations: 449.8 kB / 10.44 MB, free: 252 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.0006811/0.0006811, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008613/0.001542, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9389/0.9389, allocations: 177.2 MB / 189.8 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08947/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.86/1.86, allocations: 378.3 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4363/2.296, allocations: 123.3 MB / 0.7283 GB, free: 5.746 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.7296 GB, free: 4.457 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.115e-05, allocations: 6.25 kB / 0.7296 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002474/0.002495, allocations: 1.483 MB / 0.7311 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.744e-05/0.002592, allocations: 34.62 kB / 0.7311 GB, free: 2.953 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.278e-05/0.002635, allocations: 3.938 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001273/0.002762, allocations: 15.88 kB / 0.7311 GB, free: 2.934 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.002839, allocations: 17.77 kB / 0.7311 GB, free: 2.918 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.507e-06/0.002842, allocations: 4 kB / 0.7311 GB, free: 2.914 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 8.363e-05/0.002926, allocations: 12.59 kB / 0.7312 GB, free: 2.906 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.872e-05/0.002974, allocations: 5.422 kB / 0.7312 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.727e-05/0.003062, allocations: 15.98 kB / 0.7312 GB, free: 2.891 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.212e-05/0.003124, allocations: 9.078 kB / 0.7312 GB, free: 2.883 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.288e-05/0.003147, allocations: 4 kB / 0.7312 GB, free: 2.879 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.643e-05/0.003203, allocations: 8.766 kB / 0.7312 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.469e-05/0.003248, allocations: 2.078 kB / 0.7312 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.02e-05/0.003268, allocations: 4.547 kB / 0.7312 GB, free: 2.867 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001321/0.0034, allocations: 34.41 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.369e-05/0.003414, allocations: 0.5 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003414, allocations: 1.406 kB / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.003429, allocations: 0 / 0.7312 GB, free: 2.836 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000327/0.003756, allocations: 230.2 kB / 0.7315 GB, free: 2.586 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.003791, allocations: 11.97 kB / 0.7315 GB, free: 2.574 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.127e-05/0.003822, allocations: 5.438 kB / 0.7315 GB, free: 2.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.003989, allocations: 139.1 kB / 0.7316 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.003998, allocations: 4.375 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.004008, allocations: 1 kB / 0.7316 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.627e-05/0.004084, allocations: 29.94 kB / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.803e-06/0.004091, allocations: 0.9531 kB / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.102e-06/0.004097, allocations: 1.25 kB / 0.7316 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.96e-05/0.004127, allocations: 8.359 kB / 0.7317 GB, free: 2.359 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.133e-05/0.004138, allocations: 5.156 kB / 0.7317 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.992e-05/0.004218, allocations: 62.7 kB / 0.7317 GB, free: 2.277 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.681e-05/0.004255, allocations: 18.52 kB / 0.7317 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.004268, allocations: 5.359 kB / 0.7317 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.673e-05/0.004284, allocations: 5.078 kB / 0.7317 GB, free: 2.238 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.288e-05/0.004307, allocations: 36.28 kB / 0.7318 GB, free: 2.195 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.004308, allocations: 0 / 0.7318 GB, free: 2.195 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 8.834e-05/0.004397, allocations: 37.62 kB / 0.7318 GB, free: 2.152 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.004425, allocations: 52.22 kB / 0.7319 GB, free: 2.09 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.004508, allocations: 114.7 kB / 0.732 GB, free: 1.965 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.218e-06/0.004518, allocations: 25.7 kB / 0.732 GB, free: 1.934 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.004544, allocations: 89.03 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.028e-05/0.004564, allocations: 0.6562 kB / 0.7321 GB, free: 1.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.242e-05/0.004587, allocations: 10.88 kB / 0.7321 GB, free: 1.828 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.764e-05/0.004674, allocations: 318.8 kB / 0.7324 GB, free: 1.508 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.694e-06/0.004682, allocations: 3.984 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.059e-06/0.004687, allocations: 1.688 kB / 0.7324 GB, free: 1.504 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.895e-05/0.004706, allocations: 11.69 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.004708, allocations: 1.203 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.828e-05/0.004756, allocations: 38.52 kB / 0.7325 GB, free: 1.445 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.004771, allocations: 8.938 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.004775, allocations: 1.25 kB / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.004788, allocations: 0 / 0.7325 GB, free: 1.438 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.671e-05/0.004835, allocations: 7.969 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.655e-06/0.004837, allocations: 1.75 kB / 0.7325 GB, free: 1.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.427e-05/0.004852, allocations: 4 kB / 0.7325 GB, free: 1.426 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.152e-06/0.004858, allocations: 4 kB / 0.7325 GB, free: 1.422 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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 5.98e-05/0.004918, allocations: 116.6 kB / 0.7326 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.282e-06/0.004924, allocations: 1.219 kB / 0.7326 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.84e-05/0.004992, allocations: 42.14 kB / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.004994, allocations: 0 / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.452e-06/0.004996, allocations: 0.6562 kB / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.004998, allocations: 0 / 0.7326 GB, free: 1.25 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.829e-05/0.005067, allocations: 66.97 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.005067, allocations: 0 / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.538e-05/0.005083, allocations: 7.922 kB / 0.7327 GB, free: 1.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-06/0.005092, allocations: 8.547 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.005094, allocations: 0 / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.118e-06/0.005099, allocations: 1.906 kB / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.0051, allocations: 0 / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.005101, allocations: 0 / 0.7327 GB, free: 1.152 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.405e-05/0.005165, allocations: 73.14 kB / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.005174, allocations: 0 / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.394e-06/0.005182, allocations: 0 / 0.7328 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.327e-05/0.005195, allocations: 5.906 kB / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.005198, allocations: 0 / 0.7328 GB, free: 1.059 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.518e-05/0.005223, allocations: 16.84 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.1e-08/0.005223, allocations: 0.5312 kB / 0.7328 GB, free: 1.039 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001482/0.005372, allocations: 5.391 kB / 0.7328 GB, free: 1.035 MB / 0.698 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 (1): * Single equations (assignments): 1 * 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.0001946/0.005566, allocations: 97.05 kB / 0.7329 GB, free: 0.9414 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 5.594e-05/0.005622, allocations: 12.8 kB / 0.7329 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.005627, allocations: 0.75 kB / 0.7329 GB, free: 0.9258 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.592e-05/0.005643, allocations: 14.47 kB / 0.7329 GB, free: 0.9102 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.799e-05/0.005731, allocations: 17.81 kB / 0.733 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003853/0.006116, allocations: 109.6 kB / 0.7331 GB, free: 0.7617 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.26e-05/0.006149, allocations: 56.02 kB / 0.7331 GB, free: 0.6875 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.891e-05/0.006167, allocations: 7.922 kB / 0.7331 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.006203, allocations: 51.38 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of SimCode: time 5.71e-07/0.006204, allocations: 1.25 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of Templates: time 0.002425/0.008629, allocations: 0.577 MB / 0.7337 GB, free: 92 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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: 4.815286742523313]