Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.698/1.698, allocations: 390.4 MB / 397.7 MB, free: 11.29 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.0008605/0.0008605, allocations: 177.3 kB / 490.8 MB, free: 1.973 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.05/1.05, allocations: 221.3 MB / 0.7863 GB, free: 13.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008158/0.0008158, allocations: 95.16 kB / 0.9264 GB, free: 14.29 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.348e-06/4.388e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.1638, allocations: 143 MB / 1.212 GB, free: 40.18 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4364/0.6003, allocations: 149.6 MB / 1.358 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001711/0.6005, allocations: 77.59 kB / 1.358 GB, free: 17.2 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.01205/0.6125, allocations: 4.719 MB / 1.362 GB, free: 16.91 MB / 0.823 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.6126, allocations: 6.25 kB / 1.362 GB, free: 16.9 MB / 0.823 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.0004297/0.613, allocations: 444.9 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.917e-05/0.613, allocations: 8.062 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.341e-05/0.6131, allocations: 11.91 kB / 1.363 GB, free: 32.5 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002509/0.6133, allocations: 225.5 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.6134, allocations: 6.016 kB / 1.363 GB, free: 32.29 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.257e-05/0.6134, allocations: 12.75 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001007/0.6135, allocations: 42.23 kB / 1.363 GB, free: 32.28 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001206/0.6136, allocations: 92.56 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.6136, allocations: 0 / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.6137, allocations: 1.344 kB / 1.363 GB, free: 32.23 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.6137, allocations: 6.578 kB / 1.363 GB, free: 32.22 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.6139, allocations: 227.7 kB / 1.363 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.614, allocations: 100.2 kB / 1.363 GB, free: 31.97 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.003e-05/0.6141, allocations: 81.97 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.544e-06/0.6141, allocations: 1.156 kB / 1.364 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001179/0.6142, allocations: 115.3 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.6142, allocations: 1.219 kB / 1.364 GB, free: 31.86 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0003073/0.6145, allocations: 154.9 kB / 1.364 GB, free: 31.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.179e-05/0.6145, allocations: 118.6 kB / 1.364 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.234e-05/0.6146, allocations: 127.7 kB / 1.364 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.874e-05/0.6147, allocations: 34.14 kB / 1.364 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.932e-05/0.6147, allocations: 86.23 kB / 1.364 GB, free: 31.48 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.318e-05/0.6148, allocations: 52.27 kB / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.6148, allocations: 0 / 1.364 GB, free: 31.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.94e-05/0.6149, allocations: 326.9 kB / 1.365 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.499e-05/0.6149, allocations: 53.8 kB / 1.365 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.6151, allocations: 187.3 kB / 1.365 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.6152, allocations: 81.95 kB / 1.365 GB, free: 30.98 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.6153, allocations: 7.844 kB / 1.365 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002868/0.6155, allocations: 201.8 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.6156, allocations: 5.375 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.271e-05/0.6156, allocations: 6.484 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.6156, allocations: 1.438 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-05/0.6157, allocations: 15.23 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6157, allocations: 1.531 kB / 1.365 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001782/0.6159, allocations: 50.08 kB / 1.365 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.6159, allocations: 6.844 kB / 1.365 GB, free: 30.91 MB / 0.8386 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 8.076e-05/0.616, allocations: 128.8 kB / 1.365 GB, free: 30.79 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.988e-05/0.616, allocations: 13.12 kB / 1.365 GB, free: 30.78 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.813e-05/0.6161, allocations: 12.72 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.6161, allocations: 2.781 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.6161, allocations: 1.438 kB / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.6161, allocations: 0 / 1.365 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.882e-05/0.6162, allocations: 183.5 kB / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.6162, allocations: 0 / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.291e-05/0.6162, allocations: 14.88 kB / 1.365 GB, free: 30.61 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.6162, allocations: 5.312 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.162e-05/0.6163, allocations: 4.266 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6163, allocations: 5.281 kB / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.6163, allocations: 0 / 1.365 GB, free: 30.6 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0002287/0.6165, allocations: 215.9 kB / 1.366 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.6165, allocations: 89.11 kB / 1.366 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.33e-05/0.6166, allocations: 2.828 kB / 1.366 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.6166, allocations: 6.469 kB / 1.366 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.276e-05/0.6167, allocations: 10.22 kB / 1.366 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.6167, allocations: 12.2 kB / 1.366 GB, free: 30.37 MB / 0.8386 GB Notification: Performance of sort global known variables: time 4.846e-05/0.6167, allocations: 102.2 kB / 1.366 GB, free: 30.29 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003211/0.6171, allocations: 112 kB / 1.366 GB, free: 30.27 MB / 0.8386 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.0002605/0.6173, allocations: 214.8 kB / 1.366 GB, free: 30.15 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002331/0.6176, allocations: 214.1 kB / 1.366 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.6176, allocations: 0 / 1.366 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/0.6177, allocations: 53.64 kB / 1.366 GB, free: 30.05 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001014/0.6178, allocations: 14.94 kB / 1.366 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.618, allocations: 175.6 kB / 1.367 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002159/0.6183, allocations: 0.7315 MB / 1.367 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of SimCode: time 2.21e-07/0.6183, allocations: 0 / 1.367 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of Templates: time 0.005072/0.6234, allocations: 2.991 MB / 1.37 GB, free: 28.94 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches