Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.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_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.766/1.766, allocations: 387.2 MB / 394.5 MB, free: 13.68 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.0009655/0.0009655, allocations: 180.7 kB / 487 MB, free: 5.406 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.108/1.108, 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.0007924/0.0007924, allocations: 95.92 kB / 0.9213 GB, free: 2.664 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 4.849e-06/4.869e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1865/0.1865, allocations: 142.3 MB / 1.205 GB, free: 26.29 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4895/0.6761, allocations: 148.9 MB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001772/0.6763, allocations: 73.05 kB / 1.351 GB, free: 15.8 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.01319/0.6895, allocations: 4.719 MB / 1.355 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 9.237e-06/0.6895, allocations: 2.875 kB / 1.355 GB, free: 15.52 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.0004305/0.69, allocations: 453.9 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.69, allocations: 9.719 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.6901, allocations: 16.45 kB / 1.356 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002632/0.6903, allocations: 218.2 kB / 1.356 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.322e-05/0.6903, allocations: 2.531 kB / 1.356 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.155e-05/0.6904, allocations: 11.66 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.6905, allocations: 43.55 kB / 1.356 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.6906, allocations: 95.38 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.6907, allocations: 3.938 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.6907, allocations: 1.344 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-06/0.6907, allocations: 1.641 kB / 1.356 GB, free: 14.84 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001968/0.6909, allocations: 227.6 kB / 1.356 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001127/0.691, allocations: 105.2 kB / 1.356 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.349e-05/0.6911, allocations: 76.05 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.433e-06/0.6911, allocations: 1.031 kB / 1.356 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001251/0.6912, allocations: 127.7 kB / 1.357 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.6912, allocations: 0 / 1.357 GB, free: 14.46 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0003177/0.6916, allocations: 149.4 kB / 1.357 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.6916, allocations: 114.7 kB / 1.357 GB, free: 14.3 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.193e-05/0.6917, allocations: 133.1 kB / 1.357 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.936e-05/0.6917, allocations: 35.62 kB / 1.357 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.6917, allocations: 89.31 kB / 1.357 GB, free: 14.09 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.6918, allocations: 48.5 kB / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.373e-06/0.6918, allocations: 0 / 1.357 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 4.28e-05/0.6919, allocations: 330.8 kB / 1.357 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.6919, allocations: 48.7 kB / 1.358 GB, free: 13.74 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.6921, allocations: 194.3 kB / 1.358 GB, free: 13.6 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.6923, allocations: 76.23 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.6923, allocations: 0.75 kB / 1.358 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003252/0.6926, allocations: 200 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6926, allocations: 5.281 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/0.6926, allocations: 6.859 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.6927, allocations: 1.344 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.519e-05/0.6927, allocations: 11.55 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.6928, allocations: 2.531 kB / 1.358 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001869/0.6929, allocations: 51.89 kB / 1.358 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.662e-05/0.693, allocations: 15.84 kB / 1.358 GB, free: 13.52 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 6.573e-05/0.693, allocations: 112.6 kB / 1.358 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.193e-05/0.6931, allocations: 22.2 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.055e-05/0.6931, allocations: 15.59 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.6931, allocations: 1.969 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.6931, allocations: 0.8125 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6931, allocations: 1.953 kB / 1.358 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000109/0.6932, allocations: 179.7 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.6933, allocations: 0.9062 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.6933, allocations: 13.94 kB / 1.358 GB, free: 13.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/0.6933, allocations: 5.812 kB / 1.358 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.6933, allocations: 7.266 kB / 1.358 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6933, allocations: 0.75 kB / 1.358 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.6933, allocations: 5.75 kB / 1.358 GB, free: 13.22 MB / 0.8073 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002624/0.6936, allocations: 208.3 kB / 1.359 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.374e-05/0.6936, allocations: 89.16 kB / 1.359 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.547e-05/0.6937, allocations: 2.672 kB / 1.359 GB, free: 13 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.049e-05/0.6937, allocations: 14.12 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.923e-05/0.6938, allocations: 11.55 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.543e-05/0.6938, allocations: 10.28 kB / 1.359 GB, free: 12.99 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.391e-05/0.6939, allocations: 105 kB / 1.359 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0003697/0.6942, allocations: 107.5 kB / 1.359 GB, free: 12.89 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.0002727/0.6945, allocations: 215.7 kB / 1.359 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0002463/0.6948, allocations: 214.4 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.6948, allocations: 0 / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 7.26e-05/0.6949, allocations: 52.92 kB / 1.359 GB, free: 12.67 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001113/0.695, allocations: 16.03 kB / 1.359 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002973/0.6953, allocations: 167.3 kB / 1.36 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002355/0.6955, allocations: 0.7395 MB / 1.36 GB, free: 27.84 MB / 0.823 GB Notification: Performance of SimCode: time 2.5e-07/0.6955, allocations: 0 / 1.36 GB, free: 27.84 MB / 0.823 GB Notification: Performance of Templates: time 0.005563/0.7011, allocations: 3 MB / 1.363 GB, free: 27.12 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","../files/Buildings_9_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches