Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.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.001412/0.001412, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001528/0.001528, allocations: 169 kB / 24.28 MB, free: 276 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 1.014/1.014, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.826/1.826, allocations: 359 MB / 0.6055 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.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") translateModel(Buildings.Controls.SetPoints.Examples.OccupancySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.tNexNonOcc|occSchWee.tNexNonOcc|occSchDay.occupied|occSchWee.occupied",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.787 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.575e-05/2.733e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.OccupancySchedule): time 0.002179/0.002206, allocations: 1.462 MB / 0.7885 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0007057/0.002912, allocations: 498.9 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.636e-05/0.002958, allocations: 0.5625 kB / 0.789 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.338e-05/0.003042, allocations: 12.56 kB / 0.789 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.676e-05/0.003099, allocations: 7.984 kB / 0.789 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006421/0.003741, allocations: 240.8 kB / 0.7892 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001951/0.003936, allocations: 155.6 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.12e-05/0.003977, allocations: 1.656 kB / 0.7894 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.357e-05/0.00406, allocations: 75.94 kB / 0.7894 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.066e-05/0.004131, allocations: 39.89 kB / 0.7895 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.336e-05/0.004155, allocations: 9.594 kB / 0.7895 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.004396, allocations: 191.6 kB / 0.7897 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.889e-05/0.004455, allocations: 35.91 kB / 0.7897 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.959e-05/0.004514, allocations: 35.92 kB / 0.7897 GB, free: 10.11 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.004795, allocations: 247.9 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.004798, allocations: 0 / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.62e-07/0.004799, allocations: 3.438 kB / 0.79 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.004805, allocations: 0 / 0.79 GB, free: 9.863 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.000473/0.005278, allocations: 475.8 kB / 0.7904 GB, free: 9.359 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.005314, allocations: 12.03 kB / 0.7904 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.875e-05/0.005372, allocations: 20.89 kB / 0.7905 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001636/0.005536, allocations: 148.4 kB / 0.7906 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.461e-05/0.005551, allocations: 12.38 kB / 0.7906 GB, free: 9.145 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.047e-05/0.005571, allocations: 8.375 kB / 0.7906 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.005693, allocations: 78.25 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.0057, allocations: 192 / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.005709, allocations: 0.9062 kB / 0.7907 GB, free: 9.047 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.672e-06/0.005716, allocations: 5.75 kB / 0.7907 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.429e-05/0.00576, allocations: 19.92 kB / 0.7907 GB, free: 9.023 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001678/0.005928, allocations: 176.3 kB / 0.7909 GB, free: 8.812 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.782e-05/0.006006, allocations: 74.11 kB / 0.791 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.508e-05/0.006051, allocations: 40.77 kB / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.006058, allocations: 0 / 0.791 GB, free: 8.668 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001337/0.006192, allocations: 109 kB / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=14): time 8.61e-07/0.006192, allocations: 0 / 0.7911 GB, free: 8.539 MB / 0.7448 GB Notification: Performance of matching and sorting (n=14): time 0.0002274/0.00642, allocations: 126.2 kB / 0.7912 GB, free: 8.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.817e-05/0.006468, allocations: 81.11 kB / 0.7913 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.006585, allocations: 213.2 kB / 0.7915 GB, free: 8.09 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.04e-05/0.006605, allocations: 33.7 kB / 0.7915 GB, free: 8.051 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.006663, allocations: 147.2 kB / 0.7917 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.108e-05/0.006704, allocations: 40.5 kB / 0.7917 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.56e-05/0.00676, allocations: 59.34 kB / 0.7918 GB, free: 7.793 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.006871, allocations: 0.4975 MB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.461e-05/0.006906, allocations: 15.98 kB / 0.7923 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002324/0.007138, allocations: 0.5952 MB / 0.7928 GB, free: 6.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.155e-05/0.00722, allocations: 67.3 kB / 0.7929 GB, free: 6.426 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007222, allocations: 4.469 kB / 0.7929 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000128/0.00735, allocations: 126.1 kB / 0.793 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.007364, allocations: 5.094 kB / 0.793 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.001e-05/0.007384, allocations: 4 kB / 0.793 GB, free: 6.285 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.007397, allocations: 3.938 kB / 0.793 GB, free: 6.281 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.565e-05/0.007482, allocations: 24.77 kB / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.007489, allocations: 0 / 0.7931 GB, free: 6.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001325/0.007622, allocations: 50.44 kB / 0.7931 GB, free: 6.211 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.307e-06/0.007631, allocations: 8 kB / 0.7931 GB, free: 6.203 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 18 (occSchWee.tNext,$PRE.occSchWee.tNext,occSchWee.tNonOcc,$PRE.occSchWee.tNonOcc,occSchWee.tOcc,$PRE.occSchWee.tOcc,occSchWee.occupied,$PRE.occSchWee.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.582e-05/0.007717, allocations: 165.1 kB / 0.7933 GB, free: 6.031 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.71e-05/0.007734, allocations: 23.83 kB / 0.7933 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.007757, allocations: 13.31 kB / 0.7933 GB, free: 6 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.00776, allocations: 4.812 kB / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.007764, allocations: 0 / 0.7933 GB, free: 5.996 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.007769, allocations: 4.906 kB / 0.7933 GB, free: 5.992 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.381e-05/0.007862, allocations: 144.6 kB / 0.7935 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.007864, allocations: 0 / 0.7935 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.197e-05/0.007886, allocations: 12.75 kB / 0.7935 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.007889, allocations: 0 / 0.7935 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.007901, allocations: 16.92 kB / 0.7935 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.007903, allocations: 0 / 0.7935 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.007905, allocations: 5.156 kB / 0.7935 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001321/0.008037, allocations: 148 kB / 0.7936 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.008049, allocations: 11.89 kB / 0.7937 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.008068, allocations: 4 kB / 0.7937 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.536e-05/0.008093, allocations: 4.969 kB / 0.7937 GB, free: 5.594 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.008134, allocations: 11.92 kB / 0.7937 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.93e-06/0.008139, allocations: 6.156 kB / 0.7937 GB, free: 5.578 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.008198, allocations: 153.7 kB / 0.7938 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.008198, allocations: 0 / 0.7938 GB, free: 5.43 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002171/0.008416, allocations: 67.88 kB / 0.7939 GB, free: 5.363 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,occSchWee.occupied,occSchWee.tOcc,occSchWee.tNonOcc,occSchWee.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 2 (occSchDay.tNext,occSchWee.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002192/0.008635, allocations: 175.8 kB / 0.7941 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003274/0.008962, allocations: 134.9 kB / 0.7942 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.008964, allocations: 0 / 0.7942 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.684e-05/0.009001, allocations: 35.66 kB / 0.7942 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.009126, allocations: 8 kB / 0.7942 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003324/0.009458, allocations: 218.3 kB / 0.7944 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.982e-05/0.009498, allocations: 71.33 kB / 0.7945 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.075e-05/0.009529, allocations: 5.859 kB / 0.7945 GB, free: 4.645 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.009553, allocations: 16.5 kB / 0.7945 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of SimCode: time 8.12e-07/0.009554, allocations: 0.5312 kB / 0.7945 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.004371/0.01392, allocations: 2.726 MB / 0.7972 GB, free: 1.973 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.sim & ./Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Examples.OccupancySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Examples_OccupancySchedule.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.294086558977142]