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.0009387/0.0009387, allocations: 86.64 kB / 20.68 MB, free: 3.816 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.001033/0.001033, allocations: 181 kB / 24.09 MB, free: 420 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.9823/0.9823, allocations: 177.1 MB / 204.5 MB, free: 5.527 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.741/1.741, allocations: 359 MB / 0.6055 GB, free: 10.86 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.824e-06/1.824e-06, allocations: 0 / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 9.718e-06/1.154e-05, allocations: 2.969 kB / 0.7875 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001824/0.001836, allocations: 1.54 MB / 0.789 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0009627/0.002798, allocations: 1.253 MB / 0.7903 GB, free: 9.438 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.599e-05/0.002844, allocations: 4 kB / 0.7903 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001457/0.00299, allocations: 16.95 kB / 0.7903 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001483/0.003138, allocations: 47.7 kB / 0.7903 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.00325, allocations: 60.98 kB / 0.7904 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001358/0.003385, allocations: 152 kB / 0.7905 GB, free: 9.164 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.003493, allocations: 41.2 kB / 0.7906 GB, free: 9.125 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.134e-05/0.003584, allocations: 110.6 kB / 0.7907 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.653e-05/0.003671, allocations: 39.89 kB / 0.7907 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.508e-05/0.003696, allocations: 12 kB / 0.7907 GB, free: 8.969 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.091e-05/0.003746, allocations: 24 kB / 0.7907 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 4.913e-05/0.003796, allocations: 51.81 kB / 0.7908 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.372e-05/0.003839, allocations: 47.83 kB / 0.7908 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001648/0.004004, allocations: 187.3 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.004006, allocations: 1.438 kB / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.11e-07/0.004007, allocations: 0 / 0.791 GB, free: 8.664 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.875e-06/0.00401, allocations: 0 / 0.791 GB, free: 8.664 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.0004236/0.004433, allocations: 0.5158 MB / 0.7915 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.004463, allocations: 8.906 kB / 0.7915 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.223e-05/0.004506, allocations: 20.84 kB / 0.7915 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.004674, allocations: 197 kB / 0.7917 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-05/0.004768, allocations: 219 kB / 0.7919 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.708e-05/0.004785, allocations: 12.3 kB / 0.792 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001496/0.004934, allocations: 189.9 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-06/0.00494, allocations: 1.562 kB / 0.7921 GB, free: 7.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.325e-05/0.004953, allocations: 8.125 kB / 0.7921 GB, free: 7.367 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.202e-05/0.004975, allocations: 8 kB / 0.7922 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.505e-05/0.005001, allocations: 19.92 kB / 0.7922 GB, free: 7.34 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004198/0.00542, allocations: 377.9 kB / 0.7925 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.51e-05/0.005455, allocations: 36.58 kB / 0.7926 GB, free: 6.898 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.715e-05/0.005473, allocations: 11.69 kB / 0.7926 GB, free: 6.883 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.498e-05/0.005498, allocations: 8.75 kB / 0.7926 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.022e-05/0.005518, allocations: 37.39 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 8.82e-07/0.005519, allocations: 0.5312 kB / 0.7926 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001397/0.005658, allocations: 91.38 kB / 0.7927 GB, free: 6.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.809e-05/0.005676, allocations: 51.56 kB / 0.7928 GB, free: 6.676 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.005806, allocations: 258.8 kB / 0.793 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.798e-05/0.005824, allocations: 33.7 kB / 0.793 GB, free: 6.363 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.946e-05/0.005884, allocations: 170.8 kB / 0.7932 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.005902, allocations: 30.27 kB / 0.7932 GB, free: 6.164 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.005936, allocations: 39.36 kB / 0.7933 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.006037, allocations: 0.504 MB / 0.7938 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.473e-05/0.006052, allocations: 7.984 kB / 0.7938 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.765e-05/0.006109, allocations: 120.1 kB / 0.7939 GB, free: 5.426 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.892e-05/0.006198, allocations: 147.5 kB / 0.794 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.0062, allocations: 4.625 kB / 0.794 GB, free: 5.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001202/0.00632, allocations: 127.8 kB / 0.7942 GB, free: 5.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.648e-06/0.00633, allocations: 6.281 kB / 0.7942 GB, free: 5.098 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.006335, allocations: 7.938 kB / 0.7942 GB, free: 5.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.109e-05/0.006346, allocations: 4.906 kB / 0.7942 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.466e-05/0.006401, allocations: 23.98 kB / 0.7942 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.006406, allocations: 4.844 kB / 0.7942 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.006439, allocations: 15.83 kB / 0.7942 GB, free: 5.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.006448, allocations: 13.66 kB / 0.7942 GB, free: 5.031 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 6.467e-05/0.006512, allocations: 160.5 kB / 0.7944 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.006542, allocations: 19.91 kB / 0.7944 GB, free: 4.844 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002332/0.006775, allocations: 98.98 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006777, allocations: 0.875 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-06/0.006778, allocations: 0 / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.00678, allocations: 2.188 kB / 0.7945 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001133/0.006893, allocations: 149.1 kB / 0.7946 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-07/0.006894, allocations: 0 / 0.7946 GB, free: 4.574 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.006919, allocations: 15.94 kB / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.00692, allocations: 0 / 0.7947 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-06/0.006924, allocations: 4 kB / 0.7947 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.006926, allocations: 6.141 kB / 0.7947 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006927, allocations: 0 / 0.7947 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000104/0.007031, allocations: 223.8 kB / 0.7949 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.416e-05/0.007045, allocations: 19.84 kB / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.997e-06/0.007054, allocations: 0 / 0.7949 GB, free: 4.293 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.00714, allocations: 12.48 kB / 0.7949 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.007151, allocations: 3.984 kB / 0.7949 GB, free: 4.277 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.402e-05/0.007165, allocations: 17.83 kB / 0.7949 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 6.599e-05/0.007231, allocations: 177.3 kB / 0.7951 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.007231, allocations: 0 / 0.7951 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001917/0.007423, allocations: 31.94 kB / 0.7951 GB, free: 4.059 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.0001442/0.007567, allocations: 119.7 kB / 0.7952 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.074e-05/0.007648, allocations: 56.92 kB / 0.7953 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.00765, allocations: 3.406 kB / 0.7953 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.989e-05/0.007669, allocations: 27.61 kB / 0.7953 GB, free: 3.852 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001928/0.007862, allocations: 32.53 kB / 0.7954 GB, free: 3.82 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.008136, allocations: 270.3 kB / 0.7956 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.64e-05/0.008173, allocations: 75.33 kB / 0.7957 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.637e-05/0.008229, allocations: 28.91 kB / 0.7957 GB, free: 3.402 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000177/0.008406, allocations: 155.5 kB / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of SimCode: time 3.71e-07/0.008406, allocations: 0 / 0.7959 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of Templates: time 0.003806/0.01221, allocations: 2.744 MB / 0.7985 GB, free: 0.5625 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.759144053794444]