Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007764/0.0007764, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001137/0.001913, 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.001077/0.001077, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001413/0.002489, 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.9301/0.9301, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09789/1.028, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.851/1.851, allocations: 378.4 MB / 0.6079 GB, free: 7.699 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4629/2.313, allocations: 123.3 MB / 0.7283 GB, free: 5.727 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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.[0-9,]+.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.542e-06/1.542e-06, allocations: 0 / 0.7296 GB, free: 4.438 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.578e-05/1.732e-05, allocations: 4.125 kB / 0.7296 GB, free: 4.434 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002775/0.002792, allocations: 1.601 MB / 0.7312 GB, free: 2.852 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.00162/0.004412, allocations: 1.291 MB / 0.7325 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.494e-05/0.004477, allocations: 3.938 kB / 0.7325 GB, free: 1.559 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.0046, allocations: 19.86 kB / 0.7325 GB, free: 1.539 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001441/0.004744, allocations: 39.95 kB / 0.7325 GB, free: 1.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.004923, allocations: 55.84 kB / 0.7326 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002117/0.005134, allocations: 150.5 kB / 0.7327 GB, free: 1.32 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.005255, allocations: 30.58 kB / 0.7327 GB, free: 1.289 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001859/0.005441, allocations: 127.7 kB / 0.7329 GB, free: 1.164 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001255/0.005566, allocations: 48.67 kB / 0.7329 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.801e-05/0.005604, allocations: 12 kB / 0.7329 GB, free: 1.105 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.078e-05/0.005685, allocations: 24.81 kB / 0.7329 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.617e-05/0.005751, allocations: 39.86 kB / 0.733 GB, free: 1.043 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.221e-05/0.005803, allocations: 29.34 kB / 0.733 GB, free: 1.016 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.006047, allocations: 151.4 kB / 0.7332 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.006055, allocations: 0 / 0.7332 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.01e-07/0.006055, allocations: 0 / 0.7332 GB, free: 0.8672 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.348e-06/0.006065, allocations: 0.5312 kB / 0.7332 GB, free: 0.8672 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005906/0.006655, allocations: 413 kB / 0.7335 GB, free: 452 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.12e-05/0.006687, allocations: 12.03 kB / 0.7336 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.954e-05/0.006746, allocations: 12.92 kB / 0.7336 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002442/0.00699, allocations: 191.3 kB / 0.7338 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001588/0.007149, allocations: 222.2 kB / 0.734 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.009e-05/0.007179, allocations: 4.375 kB / 0.734 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.007411, allocations: 191.1 kB / 0.7342 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-06/0.007418, allocations: 1.781 kB / 0.7342 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.583e-05/0.007444, allocations: 16.11 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.007471, allocations: 4 kB / 0.7342 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.739e-05/0.007508, allocations: 19.92 kB / 0.7342 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/0.008074, allocations: 275.6 kB / 0.7345 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.113e-05/0.008125, allocations: 36 kB / 0.7345 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.246e-05/0.008147, allocations: 8.859 kB / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.008169, allocations: 0 / 0.7345 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.297e-05/0.008192, allocations: 38.56 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.283e-06/0.008193, allocations: 1.344 kB / 0.7345 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001629/0.008356, allocations: 65.59 kB / 0.7346 GB, free: 15.22 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.614e-05/0.008382, allocations: 51.41 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001493/0.008531, allocations: 187.7 kB / 0.7348 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.008557, allocations: 30.3 kB / 0.7349 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.255e-05/0.008609, allocations: 109.1 kB / 0.735 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.351e-05/0.008633, allocations: 27.92 kB / 0.735 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.96e-05/0.008673, allocations: 25.7 kB / 0.735 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.449e-05/0.008767, allocations: 331.8 kB / 0.7353 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.307e-05/0.00879, allocations: 8 kB / 0.7353 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.858e-05/0.008859, allocations: 82.28 kB / 0.7354 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.008978, allocations: 117.2 kB / 0.7355 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/0.008981, allocations: 3.938 kB / 0.7355 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001427/0.009124, allocations: 100.8 kB / 0.7356 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.009139, allocations: 4 kB / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.77e-06/0.009145, allocations: 5.25 kB / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.009158, allocations: 4 kB / 0.7356 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.255e-05/0.009251, allocations: 27.92 kB / 0.7357 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.009256, allocations: 4 kB / 0.7357 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.706e-05/0.009313, allocations: 13.14 kB / 0.7357 GB, free: 13.99 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.435e-05/0.009327, allocations: 8 kB / 0.7357 GB, free: 13.98 MB / 0.7136 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 8.379e-05/0.009411, allocations: 129.4 kB / 0.7358 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.00945, allocations: 11.98 kB / 0.7358 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001351/0.009586, allocations: 91.64 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.009589, allocations: 4 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.00959, allocations: 1 kB / 0.7359 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.009594, allocations: 3.984 kB / 0.7359 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001505/0.009744, allocations: 94.78 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.009747, allocations: 4 kB / 0.736 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.009792, allocations: 19.94 kB / 0.736 GB, free: 13.6 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.072e-05/0.009813, allocations: 31.02 kB / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.253e-06/0.009814, allocations: 0 / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.2e-06/0.009819, allocations: 0 / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.502e-06/0.009821, allocations: 0 / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.009822, allocations: 0 / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001163/0.009938, allocations: 155.5 kB / 0.7362 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.009956, allocations: 4 kB / 0.7362 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01009, allocations: 11.98 kB / 0.7362 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.0101, allocations: 11.02 kB / 0.7362 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.181e-05/0.01012, allocations: 3.984 kB / 0.7362 GB, free: 13.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.401e-05/0.01019, allocations: 59.09 kB / 0.7363 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.01019, allocations: 0 / 0.7363 GB, free: 13.32 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001783/0.01037, allocations: 35.92 kB / 0.7363 GB, free: 13.29 MB / 0.7136 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.0001621/0.01053, allocations: 106.4 kB / 0.7364 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.087e-05/0.01061, allocations: 56.97 kB / 0.7365 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.01061, allocations: 4 kB / 0.7365 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.528e-05/0.01064, allocations: 20.84 kB / 0.7365 GB, free: 13.1 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002086/0.01085, allocations: 156.9 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.01128, allocations: 266.9 kB / 0.7369 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.01132, allocations: 79.19 kB / 0.737 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.425e-05/0.01137, allocations: 28.91 kB / 0.737 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001801/0.01155, allocations: 111.2 kB / 0.7371 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of SimCode: time 4.71e-07/0.01155, allocations: 0 / 0.7371 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of Templates: time 0.004531/0.01608, allocations: 2.915 MB / 0.74 GB, free: 9.641 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule/Buildings_12_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: 4.752321355044842]