Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.0009167/0.0009167, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.0009539/0.0009539, allocations: 167.7 kB / 24.87 MB, free: 8.879 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.9245/0.9245, allocations: 177.1 MB / 205.3 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.797/1.797, allocations: 359 MB / 0.6063 GB, free: 10.9 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.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.873e-06/1.873e-06, allocations: 0 / 0.7883 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.769e-05, allocations: 11.03 kB / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002672/0.0027, allocations: 1.528 MB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001048/0.003747, allocations: 0.667 MB / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.753e-05/0.003795, allocations: 0 / 0.7904 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 8.657e-05/0.003882, allocations: 18.33 kB / 0.7904 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.281e-05/0.003964, allocations: 11.86 kB / 0.7904 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008966/0.004861, allocations: 350.9 kB / 0.7908 GB, free: 9.691 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.005101, allocations: 177.4 kB / 0.791 GB, free: 9.52 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.005147, allocations: 7.938 kB / 0.791 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.00527, allocations: 95.84 kB / 0.7911 GB, free: 9.418 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.279e-05/0.005353, allocations: 43.88 kB / 0.7911 GB, free: 9.375 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.033e-05/0.005384, allocations: 12.59 kB / 0.7911 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.005785, allocations: 276.9 kB / 0.7914 GB, free: 9.094 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.215e-05/0.005847, allocations: 35.89 kB / 0.7914 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.005912, allocations: 39.91 kB / 0.7914 GB, free: 9.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004017/0.006314, allocations: 331.1 kB / 0.7918 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.495e-06/0.006316, allocations: 5.688 kB / 0.7918 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.11e-07/0.006317, allocations: 0 / 0.7918 GB, free: 8.691 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.006321, allocations: 0 / 0.7918 GB, free: 8.691 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005568/0.006878, allocations: 0.4958 MB / 0.7922 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.006915, allocations: 9.219 kB / 0.7923 GB, free: 8.148 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.193e-05/0.006977, allocations: 24.81 kB / 0.7923 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000263/0.00724, allocations: 148.4 kB / 0.7924 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.732e-05/0.007257, allocations: 14.31 kB / 0.7924 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.007281, allocations: 8.375 kB / 0.7924 GB, free: 7.934 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.007409, allocations: 91.39 kB / 0.7925 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.007417, allocations: 192 / 0.7925 GB, free: 7.828 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.007428, allocations: 4.375 kB / 0.7925 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.605e-06/0.007436, allocations: 6.969 kB / 0.7925 GB, free: 7.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.389e-05/0.007489, allocations: 31.84 kB / 0.7926 GB, free: 7.789 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.007674, allocations: 160.7 kB / 0.7927 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.007787, allocations: 117.1 kB / 0.7928 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.04e-05/0.007847, allocations: 51.28 kB / 0.7929 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.035e-06/0.007855, allocations: 0.5312 kB / 0.7929 GB, free: 7.383 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001578/0.008013, allocations: 132 kB / 0.793 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.272e-06/0.008014, allocations: 0.7188 kB / 0.793 GB, free: 7.227 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0003001/0.008314, allocations: 150.7 kB / 0.7932 GB, free: 7.074 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.538e-05/0.00839, allocations: 126.7 kB / 0.7933 GB, free: 6.926 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.008504, allocations: 195.5 kB / 0.7935 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.257e-05/0.008536, allocations: 33.7 kB / 0.7935 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.815e-05/0.008604, allocations: 147.3 kB / 0.7936 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.008663, allocations: 51.58 kB / 0.7937 GB, free: 6.48 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.858e-05/0.008751, allocations: 71.91 kB / 0.7938 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001439/0.008895, allocations: 0.4962 MB / 0.7942 GB, free: 5.895 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.742e-05/0.008943, allocations: 28.97 kB / 0.7943 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002334/0.009176, allocations: 446.8 kB / 0.7947 GB, free: 5.301 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.009299, allocations: 100.2 kB / 0.7948 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.009301, allocations: 0 / 0.7948 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002177/0.009519, allocations: 149.5 kB / 0.7949 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.009533, allocations: 7.719 kB / 0.7949 GB, free: 5.035 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.248e-05/0.009556, allocations: 8.062 kB / 0.7949 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.009567, allocations: 4 kB / 0.7949 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001131/0.00968, allocations: 27.92 kB / 0.795 GB, free: 4.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.009687, allocations: 12.77 kB / 0.795 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.00983, allocations: 28.72 kB / 0.795 GB, free: 4.957 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.597e-05/0.009846, allocations: 8 kB / 0.795 GB, free: 4.949 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 27 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.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 (24): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0001116/0.009958, allocations: 176.6 kB / 0.7952 GB, free: 4.77 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.009988, allocations: 23.84 kB / 0.7952 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.018e-05/0.01002, allocations: 17.61 kB / 0.7952 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.01002, allocations: 0 / 0.7952 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.01002, allocations: 5.156 kB / 0.7952 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.01003, allocations: 4 kB / 0.7952 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001206/0.01015, allocations: 133.1 kB / 0.7954 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01015, allocations: 0 / 0.7954 GB, free: 4.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.052e-05/0.01019, allocations: 13.31 kB / 0.7954 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.0102, allocations: 0 / 0.7954 GB, free: 4.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.358e-06/0.01021, allocations: 4 kB / 0.7954 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.01021, allocations: 1.625 kB / 0.7954 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.01021, allocations: 4 kB / 0.7954 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.01043, allocations: 197.2 kB / 0.7956 GB, free: 4.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.911e-05/0.01045, allocations: 19.83 kB / 0.7956 GB, free: 4.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.124e-05/0.01047, allocations: 3.984 kB / 0.7956 GB, free: 4.305 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.672e-05/0.01052, allocations: 10.72 kB / 0.7956 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.01055, allocations: 7.984 kB / 0.7956 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.01057, allocations: 8 kB / 0.7956 GB, free: 4.281 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.615e-05/0.01062, allocations: 139.2 kB / 0.7958 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7e-08/0.01062, allocations: 0 / 0.7958 GB, free: 4.145 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003475/0.01097, allocations: 103.8 kB / 0.7959 GB, free: 4.043 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.tNonOcc,occSchDay2.tNext,$whenCondition2,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.tNonOcc,occSchDay1.tNext,$whenCondition1,occSchDay.occupied,occSchDay.tOcc,occSchDay.tNonOcc,occSchDay.tNext) * Number of discrete states: 3 (occSchDay.tNext,occSchDay1.tNext,occSchDay2.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002859/0.01125, allocations: 212 kB / 0.7961 GB, free: 3.824 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002272/0.01148, allocations: 180.6 kB / 0.7962 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.01148, allocations: 1.312 kB / 0.7962 GB, free: 3.625 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.34e-05/0.01154, allocations: 39.59 kB / 0.7963 GB, free: 3.582 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001839/0.01172, allocations: 18.91 kB / 0.7963 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003512/0.01207, allocations: 233.6 kB / 0.7965 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.595e-05/0.01212, allocations: 71.78 kB / 0.7966 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.635e-05/0.01216, allocations: 13.91 kB / 0.7966 GB, free: 3.195 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001143/0.01228, allocations: 102.9 kB / 0.7967 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of SimCode: time 9.52e-07/0.01228, allocations: 0 / 0.7967 GB, free: 3.094 MB / 0.7448 GB Notification: Performance of Templates: time 0.006645/0.01893, allocations: 3.573 MB / 0.8002 GB, free: 15.59 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.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.976853268221021]