Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.393/1.393, allocations: 249.4 MB / 256.7 MB, free: 6.996 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 185 kB / 316 MB, free: 3.539 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.138/1.138, allocations: 205.2 MB / 0.5667 GB, free: 15.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008771/0.0008771, allocations: 89.22 kB / 0.671 GB, free: 4.816 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.114e-06/7.134e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1716, allocations: 106.3 MB / 0.8846 GB, free: 12.66 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.466/0.6376, allocations: 132.5 MB / 1.014 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002228/0.6379, allocations: 70.28 kB / 1.014 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.01469/0.6526, allocations: 4.308 MB / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.924e-06/0.6527, allocations: 0 / 1.018 GB, free: 2.488 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.001134/0.6538, allocations: 0.6263 MB / 1.019 GB, free: 1.828 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.6539, allocations: 12.03 kB / 1.019 GB, free: 1.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001258/0.654, allocations: 43.78 kB / 1.019 GB, free: 1.773 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007939/0.6548, allocations: 332 kB / 1.019 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.2e-05/0.6549, allocations: 15.73 kB / 1.019 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.825e-05/0.6549, allocations: 35.98 kB / 1.019 GB, free: 1.391 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000238/0.6552, allocations: 106 kB / 1.019 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004395/0.6556, allocations: 308.4 kB / 1.02 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.6557, allocations: 0 / 1.02 GB, free: 1.051 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.738e-05/0.6557, allocations: 18.91 kB / 1.02 GB, free: 1.035 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.6557, allocations: 4 kB / 1.02 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004897/0.6562, allocations: 454.7 kB / 1.02 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003347/0.6566, allocations: 275.2 kB / 1.02 GB, free: 348 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002008/0.6568, allocations: 145.1 kB / 1.021 GB, free: 216 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.6568, allocations: 7.984 kB / 1.021 GB, free: 208 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004672/0.6573, allocations: 323 kB / 1.021 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.967e-06/0.6573, allocations: 4 kB / 1.021 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.000652/0.658, allocations: 366.7 kB / 1.021 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.237e-05/0.6581, allocations: 202.8 kB / 1.021 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.6582, allocations: 128.2 kB / 1.022 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.058e-05/0.6583, allocations: 52.81 kB / 1.022 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.722e-05/0.6583, allocations: 95.55 kB / 1.022 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.184e-05/0.6584, allocations: 88.44 kB / 1.022 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.804e-05/0.6585, allocations: 16.09 kB / 1.022 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.6586, allocations: 332.2 kB / 1.022 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003251/0.6589, allocations: 194.3 kB / 1.022 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003331/0.6593, allocations: 252 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004903/0.6598, allocations: 197.7 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.6598, allocations: 3.906 kB / 1.023 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009729/0.6607, allocations: 0.5464 MB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.6608, allocations: 4 kB / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.6608, allocations: 0 / 1.023 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.6608, allocations: 4 kB / 1.023 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001518/0.661, allocations: 27.23 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.661, allocations: 4 kB / 1.023 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005462/0.6615, allocations: 123.7 kB / 1.023 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.177e-05/0.6616, allocations: 37.84 kB / 1.023 GB, free: 13.63 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001638/0.6618, allocations: 151.8 kB / 1.024 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.274e-05/0.6618, allocations: 27.81 kB / 1.024 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.606e-05/0.6619, allocations: 19.73 kB / 1.024 GB, free: 13.45 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-06/0.6619, allocations: 4 kB / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.564e-06/0.6619, allocations: 0 / 1.024 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.6619, allocations: 7.984 kB / 1.024 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.6622, allocations: 282.2 kB / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6622, allocations: 0 / 1.024 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.299e-05/0.6623, allocations: 23.92 kB / 1.024 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.34e-06/0.6623, allocations: 4 kB / 1.024 GB, free: 13.13 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.936e-05/0.6624, allocations: 15.34 kB / 1.024 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.6624, allocations: 8 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.6624, allocations: 3.984 kB / 1.024 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005694/0.663, allocations: 468.4 kB / 1.024 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.182e-05/0.663, allocations: 100.8 kB / 1.024 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.156e-05/0.6631, allocations: 26.55 kB / 1.025 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.6634, allocations: 27.97 kB / 1.025 GB, free: 12.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.413e-05/0.6634, allocations: 30.7 kB / 1.025 GB, free: 12.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-05/0.6635, allocations: 34.83 kB / 1.025 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.929e-05/0.6636, allocations: 102.1 kB / 1.025 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000392/0.664, allocations: 107.7 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000239/0.6642, allocations: 185 kB / 1.025 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007558/0.665, allocations: 0.607 MB / 1.026 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.665, allocations: 0 / 1.026 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002488/0.6652, allocations: 198.7 kB / 1.026 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.6654, allocations: 15.61 kB / 1.026 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006699/0.6661, allocations: 354.9 kB / 1.026 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003023/0.6664, allocations: 0.7585 MB / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.6664, allocations: 0 / 1.027 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.007617/0.674, allocations: 4.637 MB / 1.031 GB, free: 5.852 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches