Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009958/0.0009958, allocations: 71.75 kB / 20.97 MB, free: 3.582 MB / 18.57 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.001041/0.001041, allocations: 169 kB / 24.28 MB, free: 280 kB / 18.57 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.9962/0.9962, allocations: 177.1 MB / 204.6 MB, free: 5.262 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.763/1.763, allocations: 359 MB / 0.6055 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.807e-06/3.807e-06, allocations: 3.984 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.717e-05/3.098e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003455/0.003486, allocations: 1.544 MB / 0.7886 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001874/0.00536, allocations: 1.256 MB / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.264e-05/0.005443, allocations: 0 / 0.7898 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002386/0.005681, allocations: 15.86 kB / 0.7898 GB, free: 9.969 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002638/0.005945, allocations: 44.78 kB / 0.7899 GB, free: 9.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.006157, allocations: 56.83 kB / 0.7899 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002268/0.006383, allocations: 148.3 kB / 0.7901 GB, free: 9.727 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.006565, allocations: 49.19 kB / 0.7901 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001685/0.006734, allocations: 102.3 kB / 0.7902 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001708/0.006904, allocations: 50.48 kB / 0.7903 GB, free: 9.535 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.37e-05/0.006948, allocations: 12 kB / 0.7903 GB, free: 9.523 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.947e-05/0.007038, allocations: 24 kB / 0.7903 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.75e-05/0.007125, allocations: 47.88 kB / 0.7903 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.072e-05/0.007206, allocations: 51.83 kB / 0.7904 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003236/0.007529, allocations: 181.1 kB / 0.7906 GB, free: 9.227 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.007534, allocations: 4 kB / 0.7906 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.264e-06/0.007537, allocations: 3.938 kB / 0.7906 GB, free: 9.219 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.007545, allocations: 0 / 0.7906 GB, free: 9.219 MB / 0.7448 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.00092/0.008465, allocations: 0.508 MB / 0.7911 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.808e-05/0.008513, allocations: 12.03 kB / 0.7911 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.008618, allocations: 26.06 kB / 0.7911 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003361/0.008954, allocations: 201 kB / 0.7913 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001743/0.009128, allocations: 222.2 kB / 0.7915 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.44e-05/0.009163, allocations: 6.125 kB / 0.7915 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.009458, allocations: 193 kB / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.009468, allocations: 192 / 0.7917 GB, free: 7.926 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.399e-05/0.009492, allocations: 4.125 kB / 0.7917 GB, free: 7.922 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.195e-05/0.009534, allocations: 17.28 kB / 0.7917 GB, free: 7.906 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.009594, allocations: 23.92 kB / 0.7917 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008037/0.0104, allocations: 417.4 kB / 0.7921 GB, free: 7.441 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.521e-05/0.01047, allocations: 35.06 kB / 0.7922 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.01051, allocations: 18.27 kB / 0.7922 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.037e-05/0.01054, allocations: 4 kB / 0.7922 GB, free: 7.371 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.503e-05/0.01057, allocations: 37.39 kB / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 2.014e-06/0.01058, allocations: 0 / 0.7922 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0002725/0.01085, allocations: 85.47 kB / 0.7923 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.98e-05/0.01089, allocations: 55.41 kB / 0.7924 GB, free: 7.168 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002416/0.01113, allocations: 266.9 kB / 0.7926 GB, free: 6.887 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.01115, allocations: 26.23 kB / 0.7926 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.01125, allocations: 175.5 kB / 0.7928 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.183e-05/0.01129, allocations: 35.67 kB / 0.7928 GB, free: 6.645 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/0.01134, allocations: 31.91 kB / 0.7929 GB, free: 6.605 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.0115, allocations: 0.504 MB / 0.7934 GB, free: 6.09 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.102e-05/0.01154, allocations: 13.64 kB / 0.7934 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001093/0.01165, allocations: 120.2 kB / 0.7935 GB, free: 5.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001573/0.01181, allocations: 148.5 kB / 0.7936 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.01181, allocations: 0 / 0.7936 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002393/0.01205, allocations: 132.3 kB / 0.7938 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.995e-05/0.01208, allocations: 4 kB / 0.7938 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.01209, allocations: 7.938 kB / 0.7938 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.05e-05/0.01211, allocations: 4 kB / 0.7938 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.01221, allocations: 24.83 kB / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.01222, allocations: 0 / 0.7938 GB, free: 5.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.479e-05/0.01227, allocations: 13.11 kB / 0.7938 GB, free: 5.535 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.01228, allocations: 8 kB / 0.7938 GB, free: 5.527 MB / 0.7448 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 0.0001079/0.01239, allocations: 173.8 kB / 0.794 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.059e-05/0.01243, allocations: 19.91 kB / 0.794 GB, free: 5.328 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000177/0.0126, allocations: 103.3 kB / 0.7941 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.796e-06/0.01261, allocations: 0 / 0.7941 GB, free: 5.227 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.069e-06/0.01261, allocations: 5.75 kB / 0.7941 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.01261, allocations: 0 / 0.7941 GB, free: 5.223 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001657/0.01278, allocations: 180.4 kB / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.01278, allocations: 0 / 0.7943 GB, free: 5.012 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.586e-05/0.01282, allocations: 15.98 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.01282, allocations: 2.594 kB / 0.7943 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.01283, allocations: 4 kB / 0.7943 GB, free: 4.992 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.01283, allocations: 3.938 kB / 0.7943 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01283, allocations: 0 / 0.7943 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001707/0.013, allocations: 231.8 kB / 0.7945 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.01302, allocations: 15.84 kB / 0.7945 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.546e-05/0.01304, allocations: 4 kB / 0.7945 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.01315, allocations: 13.02 kB / 0.7945 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.01317, allocations: 4 kB / 0.7946 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.662e-05/0.01318, allocations: 13.16 kB / 0.7946 GB, free: 4.695 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.973e-05/0.01328, allocations: 189.4 kB / 0.7947 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01328, allocations: 0 / 0.7947 GB, free: 4.512 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002039/0.01349, allocations: 29.03 kB / 0.7948 GB, free: 4.484 MB / 0.7448 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.0002546/0.01374, allocations: 111.4 kB / 0.7949 GB, free: 4.375 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001265/0.01387, allocations: 59.52 kB / 0.7949 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01387, allocations: 0 / 0.7949 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.804e-05/0.0139, allocations: 27.67 kB / 0.795 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002419/0.01414, allocations: 43.94 kB / 0.795 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000405/0.01454, allocations: 261.3 kB / 0.7953 GB, free: 3.957 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.063e-05/0.01459, allocations: 79.31 kB / 0.7953 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 8.748e-05/0.01468, allocations: 53.83 kB / 0.7954 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.24e-05/0.01471, allocations: 20.5 kB / 0.7954 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of SimCode: time 9.22e-07/0.01472, allocations: 1.094 kB / 0.7954 GB, free: 3.785 MB / 0.7448 GB Notification: Performance of Templates: time 0.00585/0.02056, allocations: 2.467 MB / 0.7978 GB, free: 1.367 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.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.152850640006363]