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.0008023/0.0008023, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.0009395/0.0009395, allocations: 169 kB / 24.28 MB, free: 280 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.053/1.053, allocations: 177.1 MB / 204.6 MB, free: 5.641 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.909/1.909, allocations: 377.8 MB / 0.6239 GB, free: 8.547 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.024e-06/2.024e-06, allocations: 5.031 kB / 0.8115 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.499e-05/2.701e-05, allocations: 2.312 kB / 0.8115 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002384/0.002411, allocations: 1.519 MB / 0.813 GB, free: 0.6016 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0009475/0.003359, allocations: 0.6592 MB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.407e-05/0.003413, allocations: 0.7812 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 7.732e-05/0.00349, allocations: 3.938 kB / 0.8136 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001478/0.003638, allocations: 21.53 kB / 0.8136 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008481/0.004486, allocations: 360.4 kB / 0.814 GB, free: 15.57 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002295/0.004716, allocations: 175.6 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.354e-05/0.004759, allocations: 4 kB / 0.8142 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.00487, allocations: 95.86 kB / 0.8143 GB, free: 15.3 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 8.003e-05/0.00495, allocations: 44.62 kB / 0.8143 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/0.004979, allocations: 12.78 kB / 0.8143 GB, free: 15.24 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.005366, allocations: 275.5 kB / 0.8146 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.112e-05/0.005437, allocations: 45.48 kB / 0.8146 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.005508, allocations: 39.86 kB / 0.8147 GB, free: 14.89 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0004021/0.00591, allocations: 327.1 kB / 0.815 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.005913, allocations: 0 / 0.815 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005914, allocations: 0.7188 kB / 0.815 GB, free: 14.57 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005919, allocations: 0 / 0.815 GB, free: 14.57 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.0007081/0.006627, allocations: 0.5079 MB / 0.8155 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.006666, allocations: 13.69 kB / 0.8155 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.00673, allocations: 12.89 kB / 0.8155 GB, free: 14 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000193/0.006923, allocations: 156.4 kB / 0.8156 GB, free: 13.82 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.006938, allocations: 8.375 kB / 0.8156 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.505e-05/0.006963, allocations: 8.906 kB / 0.8157 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.007109, allocations: 89.88 kB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.007116, allocations: 192 / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.007128, allocations: 5.156 kB / 0.8157 GB, free: 13.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.758e-06/0.007138, allocations: 8.312 kB / 0.8158 GB, free: 13.69 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.376e-05/0.007202, allocations: 29.06 kB / 0.8158 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002128/0.007414, allocations: 188.1 kB / 0.816 GB, free: 13.43 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.007537, allocations: 114.6 kB / 0.8161 GB, free: 13.29 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.418e-05/0.007612, allocations: 55.22 kB / 0.8161 GB, free: 13.22 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.177e-06/0.007621, allocations: 4 kB / 0.8161 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/0.0078, allocations: 135.2 kB / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.007801, allocations: 0 / 0.8163 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0003327/0.008133, allocations: 177.5 kB / 0.8164 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.207e-05/0.008195, allocations: 114.8 kB / 0.8165 GB, free: 12.74 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.008318, allocations: 194.4 kB / 0.8167 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.168e-05/0.008349, allocations: 44.48 kB / 0.8168 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.037e-05/0.00841, allocations: 143.4 kB / 0.8169 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.821e-05/0.008468, allocations: 59.53 kB / 0.817 GB, free: 12.29 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8e-05/0.008548, allocations: 67.34 kB / 0.817 GB, free: 12.21 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.008681, allocations: 0.4962 MB / 0.8175 GB, free: 11.7 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.221e-05/0.008744, allocations: 24.27 kB / 0.8175 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002409/0.008984, allocations: 459.9 kB / 0.818 GB, free: 11.1 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.009133, allocations: 108.6 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.009136, allocations: 3.938 kB / 0.8181 GB, free: 10.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002401/0.009376, allocations: 161.5 kB / 0.8182 GB, free: 10.82 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.009394, allocations: 10.03 kB / 0.8182 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.51e-05/0.00942, allocations: 8.547 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.009435, allocations: 3.938 kB / 0.8182 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.009554, allocations: 20.56 kB / 0.8183 GB, free: 10.78 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.009563, allocations: 8.484 kB / 0.8183 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001473/0.00971, allocations: 39.09 kB / 0.8183 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.321e-05/0.009723, allocations: 9.375 kB / 0.8183 GB, free: 10.73 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 0.0001124/0.009836, allocations: 175.3 kB / 0.8185 GB, free: 10.55 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.979e-05/0.009865, allocations: 26.45 kB / 0.8185 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.009896, allocations: 12.78 kB / 0.8185 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.009902, allocations: 7.922 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.009909, allocations: 8 kB / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.009913, allocations: 0 / 0.8185 GB, free: 10.5 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.01031, allocations: 152.5 kB / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.01031, allocations: 0 / 0.8187 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.01035, allocations: 12.47 kB / 0.8187 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.01036, allocations: 7.938 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01037, allocations: 4.688 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.01037, allocations: 4 kB / 0.8187 GB, free: 10.29 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.01037, allocations: 5 kB / 0.8187 GB, free: 10.28 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002275/0.0106, allocations: 190.2 kB / 0.8189 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.389e-05/0.01061, allocations: 13.05 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.577e-05/0.01064, allocations: 3.984 kB / 0.8189 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.33e-05/0.01068, allocations: 8 kB / 0.8189 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.267e-05/0.01074, allocations: 12.77 kB / 0.8189 GB, free: 10.03 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.029e-05/0.01075, allocations: 8 kB / 0.8189 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.388e-05/0.01081, allocations: 145.4 kB / 0.8191 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01081, allocations: 0 / 0.8191 GB, free: 9.883 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003909/0.0112, allocations: 107.7 kB / 0.8192 GB, free: 9.777 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.0003278/0.01153, allocations: 219.2 kB / 0.8194 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002887/0.01182, allocations: 185.5 kB / 0.8196 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01182, allocations: 0 / 0.8196 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.595e-05/0.01189, allocations: 47.59 kB / 0.8196 GB, free: 9.301 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.01207, allocations: 15.53 kB / 0.8196 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000398/0.01246, allocations: 233.7 kB / 0.8199 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.732e-05/0.01251, allocations: 72.97 kB / 0.8199 GB, free: 8.934 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.01255, allocations: 8.969 kB / 0.8199 GB, free: 8.922 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.031e-05/0.01258, allocations: 20.5 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01258, allocations: 1 kB / 0.82 GB, free: 8.902 MB / 0.7761 GB Notification: Performance of Templates: time 0.005648/0.01823, allocations: 3.266 MB / 0.8231 GB, free: 5.711 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.365071755833924]