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.001419/0.001419, allocations: 82.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.001552/0.001552, allocations: 185 kB / 24.09 MB, free: 416 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.9998/0.9998, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.866/1.866, allocations: 377.9 MB / 0.624 GB, free: 8.41 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 2.615e-06/2.615e-06, allocations: 0.6562 kB / 0.812 GB, free: 1.5 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.021e-05/2.282e-05, allocations: 6.25 kB / 0.812 GB, free: 1.492 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002899/0.002922, allocations: 1.518 MB / 0.8135 GB, free: 15.98 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001196/0.004118, allocations: 0.6512 MB / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.778e-05/0.004166, allocations: 0 / 0.8141 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.691e-05/0.004252, allocations: 8.719 kB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.548e-05/0.004338, allocations: 21.53 kB / 0.8141 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009689/0.005307, allocations: 364.4 kB / 0.8145 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002401/0.005547, allocations: 171.6 kB / 0.8146 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.005592, allocations: 7.984 kB / 0.8146 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.005732, allocations: 91.86 kB / 0.8147 GB, free: 14.68 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.019e-05/0.005822, allocations: 40.67 kB / 0.8148 GB, free: 14.64 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.773e-05/0.00586, allocations: 12.75 kB / 0.8148 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000442/0.006302, allocations: 279.5 kB / 0.815 GB, free: 14.36 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 6.939e-05/0.006372, allocations: 37.5 kB / 0.8151 GB, free: 14.32 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.535e-05/0.006437, allocations: 43.89 kB / 0.8151 GB, free: 14.28 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004707/0.006908, allocations: 339 kB / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00691, allocations: 0 / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.433e-06/0.006912, allocations: 0 / 0.8154 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.087e-06/0.006916, allocations: 0.7188 kB / 0.8154 GB, free: 13.95 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.0006168/0.007533, allocations: 0.4924 MB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.558e-05/0.007578, allocations: 9.688 kB / 0.8159 GB, free: 13.41 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.512e-05/0.007633, allocations: 20.84 kB / 0.816 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001948/0.007828, allocations: 152.5 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.991e-05/0.007848, allocations: 8.375 kB / 0.8161 GB, free: 13.2 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.885e-05/0.007877, allocations: 16.88 kB / 0.8161 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.008014, allocations: 91.86 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.688e-06/0.008023, allocations: 0.7812 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.008034, allocations: 1.156 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.008042, allocations: 4.375 kB / 0.8162 GB, free: 13.08 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.728e-05/0.0081, allocations: 27.84 kB / 0.8162 GB, free: 13.05 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008395/0.008939, allocations: 165.7 kB / 0.8164 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.009049, allocations: 113.4 kB / 0.8165 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.362e-05/0.009093, allocations: 52.45 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.009101, allocations: 4 kB / 0.8166 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001277/0.009229, allocations: 128 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.00923, allocations: 1.75 kB / 0.8167 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0002247/0.009455, allocations: 153.7 kB / 0.8168 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.37e-05/0.009509, allocations: 126.7 kB / 0.817 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.531e-05/0.009604, allocations: 193.8 kB / 0.8171 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.125e-05/0.009625, allocations: 40.42 kB / 0.8172 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.009679, allocations: 151.3 kB / 0.8173 GB, free: 11.78 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 4.733e-05/0.009726, allocations: 59.56 kB / 0.8174 GB, free: 11.72 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.748e-05/0.009794, allocations: 67.31 kB / 0.8174 GB, free: 11.65 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.009927, allocations: 0.4962 MB / 0.8179 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.71e-05/0.009954, allocations: 20.27 kB / 0.8179 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.01013, allocations: 446.8 kB / 0.8184 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.434e-05/0.01022, allocations: 100.5 kB / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/0.01022, allocations: 0 / 0.8185 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001431/0.01037, allocations: 149.4 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.01038, allocations: 4 kB / 0.8186 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.968e-05/0.0104, allocations: 7.984 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.046e-05/0.01041, allocations: 4.594 kB / 0.8186 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.075e-05/0.01049, allocations: 32.48 kB / 0.8187 GB, free: 10.25 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.01049, allocations: 7.938 kB / 0.8187 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.2e-05/0.01059, allocations: 31.5 kB / 0.8187 GB, free: 10.21 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.01059, allocations: 4 kB / 0.8187 GB, free: 10.21 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 8.686e-05/0.01068, allocations: 180.5 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.663e-05/0.0107, allocations: 15.91 kB / 0.8189 GB, free: 10 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.127e-05/0.01073, allocations: 23.33 kB / 0.8189 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.01073, allocations: 0 / 0.8189 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.01073, allocations: 7.938 kB / 0.8189 GB, free: 9.977 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.01074, allocations: 4 kB / 0.8189 GB, free: 9.973 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.567e-05/0.01082, allocations: 125.1 kB / 0.819 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.01083, allocations: 0 / 0.819 GB, free: 9.824 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.01085, allocations: 16 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.01085, allocations: 0.6719 kB / 0.8191 GB, free: 9.809 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.01086, allocations: 4.688 kB / 0.8191 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.01086, allocations: 0 / 0.8191 GB, free: 9.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.01086, allocations: 5 kB / 0.8191 GB, free: 9.801 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001497/0.01101, allocations: 191.5 kB / 0.8192 GB, free: 9.582 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.01102, allocations: 15.83 kB / 0.8193 GB, free: 9.566 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.01104, allocations: 9.078 kB / 0.8193 GB, free: 9.559 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.318e-05/0.01106, allocations: 4 kB / 0.8193 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.397e-05/0.0111, allocations: 11.98 kB / 0.8193 GB, free: 9.543 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.0111, allocations: 4.844 kB / 0.8193 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.01e-05/0.01115, allocations: 144.6 kB / 0.8194 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01115, allocations: 2.219 kB / 0.8194 GB, free: 9.398 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002114/0.01136, allocations: 99.8 kB / 0.8195 GB, free: 9.301 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.0002005/0.01156, allocations: 214.9 kB / 0.8197 GB, free: 9.082 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001728/0.01174, allocations: 181.2 kB / 0.8199 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.01174, allocations: 0.9375 kB / 0.8199 GB, free: 8.883 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.2e-05/0.01178, allocations: 46.03 kB / 0.8199 GB, free: 8.836 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.0119, allocations: 21.05 kB / 0.82 GB, free: 8.816 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.01219, allocations: 229.7 kB / 0.8202 GB, free: 8.555 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.072e-05/0.01223, allocations: 67.84 kB / 0.8203 GB, free: 8.469 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.185e-05/0.01227, allocations: 14.09 kB / 0.8203 GB, free: 8.453 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.486e-05/0.01235, allocations: 102.2 kB / 0.8204 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of SimCode: time 8.31e-07/0.01235, allocations: 1 kB / 0.8204 GB, free: 8.352 MB / 0.7761 GB Notification: Performance of Templates: time 0.004513/0.01686, allocations: 3.534 MB / 0.8238 GB, free: 4.891 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.198558448813856]