Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.001044/0.001044, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.001701/0.001701, allocations: 172.3 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.9616/0.9616, allocations: 177.2 MB / 205.3 MB, free: 5.484 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.795/1.795, allocations: 359 MB / 0.6063 GB, free: 10.92 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.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,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.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 3.938 kB / 0.7883 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.456e-05/1.604e-05, allocations: 7.312 kB / 0.7883 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001796/0.001812, allocations: 1.508 MB / 0.7898 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0008323/0.002645, allocations: 0.6708 MB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.002687, allocations: 0 / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 7.412e-05/0.002761, allocations: 12.64 kB / 0.7904 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 6.281e-05/0.002824, allocations: 11.88 kB / 0.7904 GB, free: 10.08 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000741/0.003565, allocations: 368.5 kB / 0.7908 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001818/0.003747, allocations: 172.3 kB / 0.7909 GB, free: 9.551 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.811e-05/0.003785, allocations: 8.797 kB / 0.791 GB, free: 9.543 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.669e-05/0.003872, allocations: 91.88 kB / 0.791 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.481e-05/0.003936, allocations: 44.89 kB / 0.7911 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.00396, allocations: 12 kB / 0.7911 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003336/0.004293, allocations: 276.4 kB / 0.7914 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.643e-05/0.00435, allocations: 43.89 kB / 0.7914 GB, free: 9.086 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.004406, allocations: 43.89 kB / 0.7914 GB, free: 9.043 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.004727, allocations: 327.9 kB / 0.7918 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.004729, allocations: 0 / 0.7918 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.51e-07/0.004729, allocations: 1.219 kB / 0.7918 GB, free: 8.723 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.666e-06/0.004733, allocations: 0 / 0.7918 GB, free: 8.723 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.0007661/0.005499, allocations: 0.5001 MB / 0.7922 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.005533, allocations: 10.88 kB / 0.7923 GB, free: 8.176 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.005577, allocations: 12.89 kB / 0.7923 GB, free: 8.164 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.00573, allocations: 160.3 kB / 0.7924 GB, free: 7.98 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.848e-06/0.00574, allocations: 4.375 kB / 0.7924 GB, free: 7.977 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.844e-05/0.005758, allocations: 12.38 kB / 0.7924 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001061/0.005864, allocations: 85.28 kB / 0.7925 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.936e-06/0.005873, allocations: 4.125 kB / 0.7925 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.00588, allocations: 384 / 0.7925 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.005885, allocations: 1.75 kB / 0.7925 GB, free: 7.859 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.005924, allocations: 27.91 kB / 0.7926 GB, free: 7.832 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001445/0.006068, allocations: 164.5 kB / 0.7927 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.004e-05/0.006158, allocations: 109.9 kB / 0.7928 GB, free: 7.492 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.235e-05/0.006201, allocations: 56.78 kB / 0.7929 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.751e-06/0.006206, allocations: 3.938 kB / 0.7929 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001197/0.006326, allocations: 132.1 kB / 0.793 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 1.032e-06/0.006327, allocations: 0 / 0.793 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0002211/0.006548, allocations: 162.8 kB / 0.7932 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.143e-05/0.0066, allocations: 119.4 kB / 0.7933 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.786e-05/0.006688, allocations: 195.4 kB / 0.7935 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.006711, allocations: 38.39 kB / 0.7935 GB, free: 6.711 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.006761, allocations: 143.4 kB / 0.7936 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.642e-05/0.006807, allocations: 60.45 kB / 0.7937 GB, free: 6.508 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.006869, allocations: 71.31 kB / 0.7938 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.006979, allocations: 0.4962 MB / 0.7942 GB, free: 5.922 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.897e-05/0.007008, allocations: 21.64 kB / 0.7943 GB, free: 5.898 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.007185, allocations: 450.8 kB / 0.7947 GB, free: 5.332 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.47e-05/0.00727, allocations: 102.9 kB / 0.7948 GB, free: 5.219 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.007273, allocations: 5.812 kB / 0.7948 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001403/0.007413, allocations: 145.5 kB / 0.7949 GB, free: 5.066 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.007424, allocations: 6.031 kB / 0.7949 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.00744, allocations: 4 kB / 0.7949 GB, free: 5.059 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.835e-06/0.007448, allocations: 3.938 kB / 0.7949 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.726e-05/0.007525, allocations: 29.52 kB / 0.795 GB, free: 5.027 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.737e-06/0.007529, allocations: 3.938 kB / 0.795 GB, free: 5.023 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.651e-05/0.007626, allocations: 38.39 kB / 0.795 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.676e-06/0.007634, allocations: 8.438 kB / 0.795 GB, free: 4.98 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 8.492e-05/0.007719, allocations: 177.6 kB / 0.7952 GB, free: 4.801 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.833e-05/0.007737, allocations: 19.91 kB / 0.7952 GB, free: 4.781 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.969e-05/0.007757, allocations: 8.781 kB / 0.7952 GB, free: 4.777 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.00776, allocations: 4 kB / 0.7952 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.07e-06/0.007765, allocations: 11.92 kB / 0.7952 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.007768, allocations: 2.469 kB / 0.7952 GB, free: 4.762 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.893e-05/0.007857, allocations: 133.1 kB / 0.7954 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007858, allocations: 0 / 0.7954 GB, free: 4.605 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.517e-05/0.007883, allocations: 15.92 kB / 0.7954 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.007886, allocations: 4 kB / 0.7954 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.007891, allocations: 0 / 0.7954 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.464e-06/0.007894, allocations: 4 kB / 0.7954 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.007894, allocations: 0.5312 kB / 0.7954 GB, free: 4.582 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.008046, allocations: 193 kB / 0.7956 GB, free: 4.363 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.405e-05/0.00806, allocations: 20.55 kB / 0.7956 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.008075, allocations: 0.5312 kB / 0.7956 GB, free: 4.344 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.741e-05/0.008102, allocations: 11.98 kB / 0.7956 GB, free: 4.332 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.148e-05/0.008134, allocations: 9.141 kB / 0.7956 GB, free: 4.324 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.771e-06/0.008139, allocations: 4 kB / 0.7956 GB, free: 4.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.278e-05/0.008182, allocations: 143.2 kB / 0.7958 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.008182, allocations: 0.5 kB / 0.7958 GB, free: 4.18 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002362/0.008418, allocations: 100.3 kB / 0.7958 GB, free: 4.082 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.0002039/0.008622, allocations: 216 kB / 0.7961 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000164/0.008786, allocations: 181.4 kB / 0.7962 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.008788, allocations: 0 / 0.7962 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.569e-05/0.008823, allocations: 37.39 kB / 0.7963 GB, free: 3.621 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001152/0.008938, allocations: 15.88 kB / 0.7963 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002724/0.009211, allocations: 241.6 kB / 0.7965 GB, free: 3.332 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.009246, allocations: 71.83 kB / 0.7966 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.243e-05/0.009278, allocations: 9.797 kB / 0.7966 GB, free: 3.23 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.031e-05/0.009359, allocations: 104.4 kB / 0.7967 GB, free: 3.129 MB / 0.7448 GB Notification: Performance of SimCode: time 6.32e-07/0.009359, allocations: 3.938 kB / 0.7967 GB, free: 3.125 MB / 0.7448 GB Notification: Performance of Templates: time 0.004877/0.01424, allocations: 3.571 MB / 0.8002 GB, free: 15.63 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.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.089493428822607]