Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001073/0.001073, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001454/0.001454, allocations: 165 kB / 23.82 MB, free: 0.7461 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 1.025/1.025, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.857/1.857, allocations: 377.9 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.8115 GB, free: 1.793 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.237e-05/2.416e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.789 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001897/0.001921, allocations: 1.527 MB / 0.813 GB, free: 284 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0007629/0.002684, allocations: 0.6718 MB / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.73e-05/0.002721, allocations: 0 / 0.8136 GB, free: 15.61 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.182e-05/0.002793, allocations: 7.875 kB / 0.8137 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 6.25e-05/0.002856, allocations: 19.8 kB / 0.8137 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008755/0.003731, allocations: 360.7 kB / 0.814 GB, free: 15.23 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002402/0.003971, allocations: 163.7 kB / 0.8142 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.485e-05/0.004016, allocations: 21.59 kB / 0.8142 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 9.864e-05/0.004115, allocations: 87.88 kB / 0.8143 GB, free: 14.96 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 6.865e-05/0.004184, allocations: 43.88 kB / 0.8143 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.785e-05/0.004211, allocations: 17.47 kB / 0.8143 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003628/0.004574, allocations: 279.5 kB / 0.8146 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 5.474e-05/0.004629, allocations: 31.91 kB / 0.8146 GB, free: 14.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.51e-05/0.004694, allocations: 43.89 kB / 0.8147 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003895/0.005084, allocations: 328.9 kB / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.005086, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.51e-07/0.005087, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.005091, allocations: 0 / 0.815 GB, free: 14.23 MB / 0.7761 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.0005166/0.005607, allocations: 0.5002 MB / 0.8155 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.005645, allocations: 12.98 kB / 0.8155 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.06e-05/0.005705, allocations: 16.84 kB / 0.8155 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.005887, allocations: 164.4 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.481e-05/0.005902, allocations: 6.969 kB / 0.8157 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.005924, allocations: 16.36 kB / 0.8157 GB, free: 13.46 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001319/0.006056, allocations: 89.23 kB / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.006063, allocations: 192 / 0.8158 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.093e-05/0.006074, allocations: 4.359 kB / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.006081, allocations: 384 / 0.8158 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.203e-05/0.006133, allocations: 31.92 kB / 0.8158 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001833/0.006317, allocations: 188.5 kB / 0.816 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/0.006424, allocations: 109.9 kB / 0.8161 GB, free: 12.95 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.971e-05/0.006484, allocations: 59.83 kB / 0.8161 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.006494, allocations: 5.656 kB / 0.8162 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001494/0.006643, allocations: 128 kB / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 8.11e-07/0.006644, allocations: 0 / 0.8163 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.000302/0.006946, allocations: 173.4 kB / 0.8164 GB, free: 12.55 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.007004, allocations: 111.3 kB / 0.8165 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.007111, allocations: 207.3 kB / 0.8167 GB, free: 12.2 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.462e-05/0.007136, allocations: 34.3 kB / 0.8168 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.007192, allocations: 144.2 kB / 0.8169 GB, free: 12.01 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.007242, allocations: 63.56 kB / 0.817 GB, free: 11.95 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.269e-05/0.007305, allocations: 64.5 kB / 0.817 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001277/0.007433, allocations: 0.4962 MB / 0.8175 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.942e-05/0.007482, allocations: 28.27 kB / 0.8175 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.007682, allocations: 453.4 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001282/0.007811, allocations: 111 kB / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.007813, allocations: 0 / 0.8181 GB, free: 10.65 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001768/0.007989, allocations: 169.4 kB / 0.8182 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.008004, allocations: 6.844 kB / 0.8183 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.008027, allocations: 5.125 kB / 0.8183 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.008042, allocations: 7.938 kB / 0.8183 GB, free: 10.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.882e-05/0.008141, allocations: 27.92 kB / 0.8183 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/0.008148, allocations: 4.906 kB / 0.8183 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.008257, allocations: 35.86 kB / 0.8183 GB, free: 10.4 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.008268, allocations: 8.844 kB / 0.8183 GB, free: 10.39 MB / 0.7761 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 9.859e-05/0.008367, allocations: 185.5 kB / 0.8185 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.227e-05/0.008389, allocations: 23.91 kB / 0.8185 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.402e-05/0.008413, allocations: 16.72 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.008417, allocations: 3.938 kB / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.008422, allocations: 0 / 0.8186 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.008427, allocations: 7.984 kB / 0.8186 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001001/0.008527, allocations: 151.3 kB / 0.8187 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.008529, allocations: 0 / 0.8187 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.008e-05/0.008559, allocations: 8 kB / 0.8187 GB, free: 9.965 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.008563, allocations: 4 kB / 0.8187 GB, free: 9.961 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.527e-06/0.008572, allocations: 4 kB / 0.8187 GB, free: 9.957 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.008575, allocations: 4 kB / 0.8187 GB, free: 9.953 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.008578, allocations: 3.938 kB / 0.8187 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000192/0.00877, allocations: 194.9 kB / 0.8189 GB, free: 9.73 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.239e-05/0.008782, allocations: 11.89 kB / 0.8189 GB, free: 9.719 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.132e-05/0.008804, allocations: 8 kB / 0.8189 GB, free: 9.711 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.002e-05/0.008834, allocations: 7.984 kB / 0.8189 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.47e-05/0.008878, allocations: 8.484 kB / 0.819 GB, free: 9.695 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.008887, allocations: 12.47 kB / 0.819 GB, free: 9.684 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.99e-05/0.008937, allocations: 139.2 kB / 0.8191 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.008937, allocations: 1.406 kB / 0.8191 GB, free: 9.547 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002679/0.009205, allocations: 103.8 kB / 0.8192 GB, free: 9.445 MB / 0.7761 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.0002436/0.009449, allocations: 220.2 kB / 0.8194 GB, free: 9.223 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.009666, allocations: 193.6 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009668, allocations: 0.6562 kB / 0.8196 GB, free: 9.012 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.107e-05/0.009719, allocations: 43.61 kB / 0.8196 GB, free: 8.965 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001319/0.009851, allocations: 14.92 kB / 0.8196 GB, free: 8.953 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003321/0.01018, allocations: 229.5 kB / 0.8199 GB, free: 8.695 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.823e-05/0.01022, allocations: 71.83 kB / 0.8199 GB, free: 8.605 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.374e-05/0.01025, allocations: 13.25 kB / 0.8199 GB, free: 8.59 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.678e-05/0.01028, allocations: 20.5 kB / 0.82 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of SimCode: time 4.11e-07/0.01028, allocations: 0 / 0.82 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of Templates: time 0.005272/0.01555, allocations: 3.535 MB / 0.8234 GB, free: 5.113 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.379787638783455]