Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.756/1.756, allocations: 387.2 MB / 394.5 MB, free: 13.69 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009378/0.0009378, allocations: 183.9 kB / 487 MB, free: 5.383 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.114/1.114, allocations: 221.3 MB / 0.7819 GB, free: 1.418 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009177/0.0009177, allocations: 91.3 kB / 0.9213 GB, free: 2.668 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.579e-06/4.599e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1808/0.1808, allocations: 142.3 MB / 1.205 GB, free: 26.24 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5111/0.692, allocations: 148.8 MB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001726/0.6922, allocations: 75.66 kB / 1.351 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01316/0.7054, allocations: 4.71 MB / 1.355 GB, free: 15.29 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.7054, allocations: 2.625 kB / 1.355 GB, free: 15.29 MB / 0.8073 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.0004635/0.7059, allocations: 458.2 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.7059, allocations: 8.5 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.706, allocations: 12.09 kB / 1.356 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002674/0.7063, allocations: 222 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.7063, allocations: 6.844 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.39e-05/0.7063, allocations: 7.531 kB / 1.356 GB, free: 14.67 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001183/0.7065, allocations: 46.34 kB / 1.356 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001341/0.7066, allocations: 93.3 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.7066, allocations: 0.8438 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7066, allocations: 1.203 kB / 1.356 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/0.7066, allocations: 9.703 kB / 1.356 GB, free: 14.6 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002105/0.7069, allocations: 223.4 kB / 1.356 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.707, allocations: 106 kB / 1.356 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.105e-05/0.7071, allocations: 69.22 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.7071, allocations: 4.969 kB / 1.356 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001386/0.7072, allocations: 125.8 kB / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.312e-06/0.7072, allocations: 0 / 1.357 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003663/0.7076, allocations: 153.8 kB / 1.357 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.615e-05/0.7077, allocations: 114.7 kB / 1.357 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.964e-05/0.7078, allocations: 133.1 kB / 1.357 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 3.187e-05/0.7078, allocations: 33.91 kB / 1.357 GB, free: 13.94 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.93e-05/0.7078, allocations: 91.5 kB / 1.357 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.698e-05/0.7079, allocations: 47.28 kB / 1.357 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.574e-06/0.7079, allocations: 0 / 1.357 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.714e-05/0.7079, allocations: 327.6 kB / 1.357 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.24e-05/0.708, allocations: 45.66 kB / 1.357 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.7082, allocations: 199 kB / 1.358 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.7084, allocations: 76.78 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.7084, allocations: 0.6875 kB / 1.358 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003344/0.7088, allocations: 198.6 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.7088, allocations: 5.453 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.705e-05/0.7088, allocations: 6.75 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.7088, allocations: 1.969 kB / 1.358 GB, free: 13.31 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.017e-05/0.7089, allocations: 19.14 kB / 1.358 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.7089, allocations: 2.953 kB / 1.358 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.7091, allocations: 51.89 kB / 1.358 GB, free: 13.29 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.758e-05/0.7092, allocations: 12.05 kB / 1.358 GB, free: 13.29 MB / 0.8073 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.094e-05/0.7092, allocations: 123.7 kB / 1.358 GB, free: 13.17 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.7093, allocations: 14.02 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.7093, allocations: 12.25 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.7093, allocations: 2.219 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7093, allocations: 1.312 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.7093, allocations: 1.688 kB / 1.358 GB, free: 13.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001153/0.7095, allocations: 182 kB / 1.358 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.7095, allocations: 1.516 kB / 1.358 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.417e-05/0.7095, allocations: 13.81 kB / 1.358 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.7095, allocations: 6.141 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.7095, allocations: 7.672 kB / 1.358 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.7095, allocations: 5.203 kB / 1.358 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.7096, allocations: 5.531 kB / 1.358 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002939/0.7099, allocations: 204.7 kB / 1.359 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.7099, allocations: 93.64 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.7099, allocations: 6.828 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.918e-05/0.71, allocations: 6.641 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.71, allocations: 7.469 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.7101, allocations: 6.672 kB / 1.359 GB, free: 12.76 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.687e-05/0.7101, allocations: 111.2 kB / 1.359 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003975/0.7105, allocations: 104 kB / 1.359 GB, free: 12.66 MB / 0.8073 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) * 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 (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.0003337/0.7108, allocations: 219.5 kB / 1.359 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002781/0.7111, allocations: 206.9 kB / 1.359 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.7111, allocations: 0.8438 kB / 1.359 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.95e-05/0.7112, allocations: 53.83 kB / 1.359 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001184/0.7114, allocations: 13.22 kB / 1.359 GB, free: 12.43 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003381/0.7117, allocations: 174 kB / 1.36 GB, free: 12.33 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001611/0.7119, allocations: 0.7358 MB / 1.36 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of SimCode: time 2.5e-07/0.7119, allocations: 0 / 1.36 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of Templates: time 0.006622/0.7185, allocations: 3.005 MB / 1.363 GB, free: 10.83 MB / 0.8073 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches