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.001492/0.001492, allocations: 81.95 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.001379/0.001379, allocations: 166.1 kB / 24.87 MB, free: 9.258 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.063/1.063, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.884/1.884, allocations: 377.9 MB / 0.6247 GB, free: 8.426 MB / 0.5886 GB " [Timeout remaining time 178] 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.202e-06/1.202e-06, allocations: 0 / 0.8127 GB, free: 388 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.231e-05/1.352e-05, allocations: 2.312 kB / 0.8127 GB, free: 384 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001635/0.001648, allocations: 1.524 MB / 0.8142 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000682/0.00233, allocations: 0.6552 MB / 0.8149 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.431e-05/0.002365, allocations: 4 kB / 0.8149 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 6.523e-05/0.00243, allocations: 8.609 kB / 0.8149 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.092e-05/0.002491, allocations: 22.2 kB / 0.8149 GB, free: 14.17 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006252/0.003116, allocations: 358.9 kB / 0.8152 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001678/0.003284, allocations: 171.7 kB / 0.8154 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.348e-05/0.003317, allocations: 7.938 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.352e-05/0.003401, allocations: 93.2 kB / 0.8155 GB, free: 13.55 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.003e-05/0.003461, allocations: 39.95 kB / 0.8155 GB, free: 13.51 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.003482, allocations: 13.53 kB / 0.8155 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002639/0.003746, allocations: 283.5 kB / 0.8158 GB, free: 13.22 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 4.408e-05/0.00379, allocations: 39.89 kB / 0.8158 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.643e-05/0.003836, allocations: 35.92 kB / 0.8159 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002735/0.00411, allocations: 328.8 kB / 0.8162 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.004112, allocations: 4 kB / 0.8162 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.8e-07/0.004112, allocations: 0 / 0.8162 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.004116, allocations: 0 / 0.8162 GB, free: 12.82 MB / 0.7292 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.0003988/0.004515, allocations: 0.504 MB / 0.8167 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.004543, allocations: 12.03 kB / 0.8167 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.986e-05/0.004583, allocations: 13.42 kB / 0.8167 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.004717, allocations: 156.3 kB / 0.8169 GB, free: 12.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.004728, allocations: 8.938 kB / 0.8169 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.004746, allocations: 12.84 kB / 0.8169 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.99e-05/0.004836, allocations: 89.27 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.004843, allocations: 1.375 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.00485, allocations: 384 / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004855, allocations: 4.359 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.885e-05/0.004894, allocations: 36.38 kB / 0.817 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001319/0.005026, allocations: 157.9 kB / 0.8172 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.055e-05/0.005107, allocations: 105.3 kB / 0.8173 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.548e-05/0.005152, allocations: 51.3 kB / 0.8173 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.204e-06/0.005159, allocations: 9.156 kB / 0.8173 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003571/0.005516, allocations: 131.9 kB / 0.8174 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.052e-06/0.005517, allocations: 1 kB / 0.8174 GB, free: 11.36 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0002101/0.005728, allocations: 153.4 kB / 0.8176 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.373e-05/0.005781, allocations: 122.7 kB / 0.8177 GB, free: 11.06 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.293e-05/0.005864, allocations: 196.5 kB / 0.8179 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.005888, allocations: 41.7 kB / 0.8179 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.885e-05/0.005937, allocations: 140.4 kB / 0.8181 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.415e-05/0.005981, allocations: 59.5 kB / 0.8181 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.813e-05/0.006039, allocations: 67.31 kB / 0.8182 GB, free: 10.53 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.006145, allocations: 0.5048 MB / 0.8187 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.854e-05/0.006174, allocations: 16.27 kB / 0.8187 GB, free: 9.996 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001677/0.006342, allocations: 452 kB / 0.8191 GB, free: 9.43 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.006419, allocations: 90.91 kB / 0.8192 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.00642, allocations: 0 / 0.8192 GB, free: 9.328 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001381/0.006558, allocations: 158.8 kB / 0.8194 GB, free: 9.168 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.117e-05/0.006569, allocations: 10.03 kB / 0.8194 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.514e-05/0.006585, allocations: 4 kB / 0.8194 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.672e-06/0.006591, allocations: 0 / 0.8194 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.006663, allocations: 29.36 kB / 0.8194 GB, free: 9.129 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.006667, allocations: 7.938 kB / 0.8194 GB, free: 9.121 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.127e-05/0.006758, allocations: 33.98 kB / 0.8195 GB, free: 9.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.006768, allocations: 14.91 kB / 0.8195 GB, free: 9.078 MB / 0.7292 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.07e-05/0.006849, allocations: 183.2 kB / 0.8196 GB, free: 8.887 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.712e-05/0.006866, allocations: 19.91 kB / 0.8197 GB, free: 8.867 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.952e-05/0.006885, allocations: 12.78 kB / 0.8197 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.006887, allocations: 0 / 0.8197 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.004e-06/0.006889, allocations: 7.938 kB / 0.8197 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/0.006893, allocations: 0.5 kB / 0.8197 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.005e-05/0.006973, allocations: 133.1 kB / 0.8198 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.006974, allocations: 1.938 kB / 0.8198 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.329e-05/0.006998, allocations: 8 kB / 0.8198 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.006999, allocations: 0 / 0.8198 GB, free: 8.684 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.007007, allocations: 7.984 kB / 0.8198 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.007008, allocations: 0 / 0.8198 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.00701, allocations: 8.781 kB / 0.8198 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00015/0.00716, allocations: 181.3 kB / 0.82 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.007171, allocations: 16.69 kB / 0.82 GB, free: 8.445 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.007186, allocations: 4 kB / 0.82 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.705e-05/0.007213, allocations: 9.281 kB / 0.82 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.749e-05/0.00724, allocations: 7.984 kB / 0.82 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.007249, allocations: 15.92 kB / 0.8201 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.829e-05/0.007287, allocations: 135.2 kB / 0.8202 GB, free: 8.277 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.007287, allocations: 6.75 kB / 0.8202 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002121/0.007499, allocations: 103.7 kB / 0.8203 GB, free: 8.172 MB / 0.7292 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.0001895/0.007689, allocations: 214.9 kB / 0.8205 GB, free: 7.953 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001553/0.007844, allocations: 174.3 kB / 0.8207 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.007845, allocations: 0 / 0.8207 GB, free: 7.762 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.873e-05/0.007884, allocations: 50.3 kB / 0.8207 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/0.007994, allocations: 14.38 kB / 0.8207 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000251/0.008245, allocations: 240.3 kB / 0.821 GB, free: 7.434 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.265e-05/0.008278, allocations: 71.84 kB / 0.821 GB, free: 7.344 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.985e-05/0.008308, allocations: 8.969 kB / 0.821 GB, free: 7.332 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.042e-05/0.008388, allocations: 106.2 kB / 0.8211 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.008389, allocations: 0.9375 kB / 0.8211 GB, free: 7.227 MB / 0.7292 GB Notification: Performance of Templates: time 0.004521/0.01291, allocations: 3.568 MB / 0.8246 GB, free: 3.73 MB / 0.7292 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.257510934956372]