Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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.OccupancySchedulePositiveStartTime") [: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.427/1.427, allocations: 249.4 MB / 256.7 MB, free: 7.008 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.001222/0.001223, allocations: 185.2 kB / 316 MB, free: 3.504 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.403/1.403, allocations: 205.2 MB / 0.5667 GB, free: 15.63 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.0008614/0.0008613, allocations: 83.34 kB / 0.671 GB, free: 4.758 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.631e-06/5.721e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1561, allocations: 106.3 MB / 0.8846 GB, free: 12.61 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4686/0.6248, allocations: 132.6 MB / 1.014 GB, free: 6.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001973/0.625, allocations: 67.91 kB / 1.014 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of FrontEnd: time 0.0146/0.6396, allocations: 4.314 MB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.09e-05/0.6397, allocations: 4 kB / 1.018 GB, free: 2.293 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.001148/0.6408, allocations: 0.6239 MB / 1.019 GB, free: 1.633 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.6409, allocations: 8.031 kB / 1.019 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.641, allocations: 43.73 kB / 1.019 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008671/0.6419, allocations: 335.3 kB / 1.019 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.285e-05/0.6419, allocations: 14.67 kB / 1.019 GB, free: 1.238 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.6421, allocations: 43.97 kB / 1.019 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002542/0.6423, allocations: 107.4 kB / 1.019 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005169/0.6429, allocations: 306.6 kB / 1.02 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.6429, allocations: 3.938 kB / 1.02 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.323e-05/0.6429, allocations: 11.98 kB / 1.02 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.6429, allocations: 4 kB / 1.02 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006026/0.6436, allocations: 452.8 kB / 1.02 GB, free: 432 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004163/0.644, allocations: 283.2 kB / 1.02 GB, free: 144 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002288/0.6442, allocations: 144.6 kB / 1.021 GB, free: 16 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.6443, allocations: 8 kB / 1.021 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004425/0.6447, allocations: 327.9 kB / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 1.974e-06/0.6447, allocations: 0 / 1.021 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of matching and sorting (n=36): time 0.0006353/0.6454, allocations: 364.6 kB / 1.021 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.6455, allocations: 195.5 kB / 1.021 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.6456, allocations: 136.5 kB / 1.022 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.824e-05/0.6457, allocations: 45.36 kB / 1.022 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.146e-05/0.6458, allocations: 103.7 kB / 1.022 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/0.6459, allocations: 88.62 kB / 1.022 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.236e-05/0.6459, allocations: 12 kB / 1.022 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.6461, allocations: 333.4 kB / 1.022 GB, free: 14.52 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.6465, allocations: 199.3 kB / 1.022 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003971/0.6469, allocations: 249.1 kB / 1.023 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000494/0.6474, allocations: 191.2 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6474, allocations: 3.906 kB / 1.023 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.0009785/0.6484, allocations: 0.5494 MB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.6484, allocations: 8 kB / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.6484, allocations: 0 / 1.023 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.818e-05/0.6484, allocations: 4.094 kB / 1.023 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.6486, allocations: 30.73 kB / 1.023 GB, free: 13.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.6486, allocations: 4 kB / 1.023 GB, free: 13.58 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005588/0.6491, allocations: 122.9 kB / 1.023 GB, free: 13.46 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.203e-05/0.6492, allocations: 30.86 kB / 1.023 GB, free: 13.44 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.0001649/0.6494, allocations: 151.5 kB / 1.024 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.311e-05/0.6494, allocations: 19.81 kB / 1.024 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.489e-05/0.6495, allocations: 22.92 kB / 1.024 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.6495, allocations: 8 kB / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6495, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.6495, allocations: 0 / 1.024 GB, free: 13.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002602/0.6498, allocations: 287.1 kB / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.6498, allocations: 0 / 1.024 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.288e-05/0.6499, allocations: 19.94 kB / 1.024 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.6499, allocations: 4 kB / 1.024 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.65, allocations: 23.2 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.65, allocations: 4 kB / 1.024 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.65, allocations: 3.984 kB / 1.024 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0005721/0.6505, allocations: 466.3 kB / 1.024 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.531e-05/0.6506, allocations: 104.7 kB / 1.025 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.6507, allocations: 25.36 kB / 1.025 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.651, allocations: 27.97 kB / 1.025 GB, free: 12.31 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.651, allocations: 26.77 kB / 1.025 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.6511, allocations: 38.64 kB / 1.025 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.728e-05/0.6511, allocations: 101.7 kB / 1.025 GB, free: 12.17 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003787/0.6515, allocations: 111.8 kB / 1.025 GB, free: 12.06 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.0002348/0.6518, allocations: 180.6 kB / 1.025 GB, free: 11.89 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007795/0.6526, allocations: 0.6137 MB / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6526, allocations: 0 / 1.026 GB, free: 11.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002611/0.6528, allocations: 198.9 kB / 1.026 GB, free: 11.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001575/0.653, allocations: 15.17 kB / 1.026 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007108/0.6537, allocations: 359.7 kB / 1.026 GB, free: 10.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00033/0.6541, allocations: 0.7514 MB / 1.027 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of SimCode: time 2.4e-07/0.6541, allocations: 4 kB / 1.027 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of Templates: time 0.007578/0.6617, allocations: 4.642 MB / 1.031 GB, free: 5.656 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches