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.001004/0.001004, allocations: 83.59 kB / 20.45 MB, free: 4.121 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.0009588/0.0009588, allocations: 165 kB / 23.82 MB, free: 0.75 MB / 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.9143/0.9143, allocations: 177.1 MB / 204.2 MB, free: 5.637 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.674/1.674, allocations: 359 MB / 0.6052 GB, free: 11 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 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.353e-05/2.51e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002328/0.002353, allocations: 1.551 MB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001259/0.003612, allocations: 1.252 MB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.563e-05/0.003678, allocations: 1.219 kB / 0.7898 GB, free: 9.715 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001858/0.003864, allocations: 27.78 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/0.004075, allocations: 43.66 kB / 0.7899 GB, free: 9.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001398/0.004215, allocations: 53.12 kB / 0.7899 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.00437, allocations: 152.4 kB / 0.7901 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.004492, allocations: 37.2 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.913e-05/0.004591, allocations: 104.5 kB / 0.7902 GB, free: 9.309 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.004701, allocations: 45.47 kB / 0.7902 GB, free: 9.266 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.871e-05/0.00473, allocations: 12 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.044e-05/0.004791, allocations: 24 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.254e-05/0.004853, allocations: 51.81 kB / 0.7903 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.52e-05/0.004908, allocations: 51.83 kB / 0.7904 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002151/0.005123, allocations: 182.9 kB / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.005126, allocations: 0 / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.21e-07/0.005127, allocations: 0 / 0.7906 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.109e-06/0.005132, allocations: 0 / 0.7906 GB, free: 8.953 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.0005049/0.005637, allocations: 0.5113 MB / 0.7911 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.005675, allocations: 16.02 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.429e-05/0.005739, allocations: 20.83 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002577/0.005997, allocations: 205 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000138/0.006135, allocations: 218.8 kB / 0.7915 GB, free: 7.879 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.612e-05/0.006161, allocations: 16.36 kB / 0.7915 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.006351, allocations: 186.7 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.006359, allocations: 192 / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.006375, allocations: 8.125 kB / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.796e-05/0.006403, allocations: 8 kB / 0.7917 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.611e-05/0.00644, allocations: 20.83 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005447/0.006984, allocations: 421.8 kB / 0.7921 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.104e-05/0.007035, allocations: 31.05 kB / 0.7922 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.62e-05/0.007062, allocations: 19.69 kB / 0.7922 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.983e-05/0.007081, allocations: 0.8438 kB / 0.7922 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.554e-05/0.007107, allocations: 41.33 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.007108, allocations: 1.094 kB / 0.7922 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001927/0.007301, allocations: 89.67 kB / 0.7923 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.728e-05/0.007328, allocations: 51.41 kB / 0.7924 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.007484, allocations: 267.8 kB / 0.7926 GB, free: 6.617 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.007505, allocations: 29.7 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/0.007581, allocations: 166.8 kB / 0.7928 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.198e-05/0.007603, allocations: 33.36 kB / 0.7928 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.491e-05/0.007648, allocations: 35.38 kB / 0.7929 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.007778, allocations: 0.5117 MB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.171e-05/0.007799, allocations: 4 kB / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.084e-05/0.00787, allocations: 120.8 kB / 0.7935 GB, free: 5.645 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.007986, allocations: 152.8 kB / 0.7936 GB, free: 5.449 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.007988, allocations: 4 kB / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001409/0.008129, allocations: 123.8 kB / 0.7937 GB, free: 5.32 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.008148, allocations: 8 kB / 0.7938 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.008154, allocations: 4.812 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/0.008167, allocations: 0 / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.414e-05/0.008241, allocations: 28.92 kB / 0.7938 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.008248, allocations: 7.938 kB / 0.7938 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.008288, allocations: 15.89 kB / 0.7938 GB, free: 5.258 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.008299, allocations: 13.2 kB / 0.7938 GB, free: 5.246 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 7.861e-05/0.008378, allocations: 164.5 kB / 0.794 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.197e-05/0.00841, allocations: 16.75 kB / 0.794 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001404/0.00855, allocations: 103.2 kB / 0.7941 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.008553, allocations: 2.219 kB / 0.7941 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.008556, allocations: 0 / 0.7941 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.008559, allocations: 0 / 0.7941 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001392/0.008698, allocations: 184.4 kB / 0.7943 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.0087, allocations: 0 / 0.7943 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.924e-05/0.008729, allocations: 15.98 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.008731, allocations: 3 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.008738, allocations: 4 kB / 0.7943 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.00874, allocations: 400 / 0.7943 GB, free: 4.723 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.008741, allocations: 4 kB / 0.7943 GB, free: 4.719 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000135/0.008876, allocations: 231.7 kB / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.455e-05/0.00889, allocations: 11.91 kB / 0.7945 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.008902, allocations: 4 kB / 0.7945 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.633e-05/0.008989, allocations: 11.98 kB / 0.7945 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.655e-05/0.009005, allocations: 9.359 kB / 0.7946 GB, free: 4.438 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.44e-05/0.00902, allocations: 11.98 kB / 0.7946 GB, free: 4.426 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.717e-05/0.009107, allocations: 181.4 kB / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009107, allocations: 0.625 kB / 0.7947 GB, free: 4.25 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001977/0.009305, allocations: 31.94 kB / 0.7948 GB, free: 4.219 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.0002571/0.009562, allocations: 128.2 kB / 0.7949 GB, free: 4.094 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001653/0.009727, allocations: 57.61 kB / 0.7949 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.00973, allocations: 0 / 0.7949 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.347e-05/0.009754, allocations: 27.61 kB / 0.795 GB, free: 4.004 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002635/0.01002, allocations: 40.19 kB / 0.795 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.01045, allocations: 258.7 kB / 0.7953 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.088e-05/0.0105, allocations: 83.31 kB / 0.7953 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 7.633e-05/0.01057, allocations: 48.81 kB / 0.7954 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.228e-05/0.01061, allocations: 16.5 kB / 0.7954 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of SimCode: time 1.283e-06/0.01061, allocations: 0 / 0.7954 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of Templates: time 0.004077/0.01468, allocations: 2.738 MB / 0.7981 GB, free: 0.8164 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: 4.794837872032076]