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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 387.1 MB / 399.7 MB, free: 9.512 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.0009654/0.0009656, allocations: 176.9 kB / 492.3 MB, free: 0.6445 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.57/1.57, allocations: 221.3 MB / 0.7871 GB, free: 12.93 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.0008676/0.0008676, allocations: 93.22 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.434e-05/3.435e-05, allocations: 1.562 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2832/0.2833, allocations: 142.3 MB / 1.212 GB, free: 38.57 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8682/1.152, allocations: 149.6 MB / 1.358 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001925/1.152, allocations: 70.42 kB / 1.359 GB, free: 19.07 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0136/1.165, allocations: 5.033 MB / 1.363 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.433e-06/1.165, allocations: 0 / 1.363 GB, free: 34.48 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.328e-05/1.165, allocations: 3.844 kB / 1.363 GB, free: 34.48 MB / 0.8386 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.0004899/1.166, allocations: 446.4 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4e-05/1.166, allocations: 11.91 kB / 1.364 GB, free: 34.09 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.25e-05/1.166, allocations: 11.59 kB / 1.364 GB, free: 34.08 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002735/1.166, allocations: 220.2 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.494e-05/1.166, allocations: 6.719 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/1.166, allocations: 15.19 kB / 1.364 GB, free: 33.87 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001742/1.167, allocations: 99.77 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/1.167, allocations: 3.844 kB / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/1.167, allocations: 0 / 1.364 GB, free: 33.81 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/1.167, allocations: 4 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.725e-05/1.167, allocations: 46.23 kB / 1.364 GB, free: 33.8 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002142/1.167, allocations: 260.3 kB / 1.365 GB, free: 33.59 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/1.167, allocations: 111.9 kB / 1.365 GB, free: 33.52 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.911e-05/1.167, allocations: 76.44 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.726e-06/1.167, allocations: 3.812 kB / 1.365 GB, free: 33.48 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001681/1.167, allocations: 132 kB / 1.365 GB, free: 33.41 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/1.167, allocations: 7.984 kB / 1.365 GB, free: 33.4 MB / 0.8386 GB Notification: Performance of matching and sorting (n=21): time 0.0002961/1.168, allocations: 178.5 kB / 1.365 GB, free: 33.36 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.368e-05/1.168, allocations: 120.8 kB / 1.365 GB, free: 33.23 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.276e-05/1.168, allocations: 130.9 kB / 1.365 GB, free: 33.13 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.909e-05/1.168, allocations: 36.52 kB / 1.365 GB, free: 33.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.828e-05/1.168, allocations: 94.84 kB / 1.365 GB, free: 33.02 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.481e-05/1.168, allocations: 55.27 kB / 1.365 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.168, allocations: 6.562 kB / 1.365 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 6.613e-05/1.168, allocations: 334.8 kB / 1.366 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.982e-05/1.168, allocations: 49.91 kB / 1.366 GB, free: 32.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001583/1.168, allocations: 192.7 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.89e-05/1.168, allocations: 66.31 kB / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.168, allocations: 0 / 1.366 GB, free: 32.53 MB / 0.8386 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002421/1.169, allocations: 196.9 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/1.169, allocations: 7.812 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.365e-05/1.169, allocations: 6.453 kB / 1.366 GB, free: 32.48 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/1.169, allocations: 7.812 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.993e-05/1.169, allocations: 18.12 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/1.169, allocations: 3.906 kB / 1.366 GB, free: 32.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/1.169, allocations: 49.69 kB / 1.366 GB, free: 32.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.447e-05/1.169, allocations: 7.688 kB / 1.366 GB, free: 32.46 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.061e-05/1.169, allocations: 141.5 kB / 1.366 GB, free: 32.34 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.863e-05/1.169, allocations: 14.2 kB / 1.366 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.207e-05/1.169, allocations: 12.41 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/1.169, allocations: 3.406 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/1.169, allocations: 0 / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/1.169, allocations: 2.906 kB / 1.367 GB, free: 32.33 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/1.169, allocations: 212.9 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/1.169, allocations: 0 / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.173e-05/1.169, allocations: 7.688 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/1.169, allocations: 0 / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/1.169, allocations: 14.22 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.843e-06/1.169, allocations: 3.906 kB / 1.367 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.169, allocations: 3.938 kB / 1.367 GB, free: 32.12 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002285/1.17, allocations: 240.7 kB / 1.367 GB, free: 32 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.433e-05/1.17, allocations: 88.73 kB / 1.367 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/1.17, allocations: 7.875 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.483e-05/1.17, allocations: 10.39 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.219e-05/1.17, allocations: 6.688 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/1.17, allocations: 11.84 kB / 1.367 GB, free: 31.89 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.135e-05/1.17, allocations: 106 kB / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.6e-07/1.17, allocations: 0 / 1.367 GB, free: 31.82 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003704/1.17, allocations: 118 kB / 1.367 GB, free: 31.79 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.0002687/1.171, allocations: 220.4 kB / 1.368 GB, free: 31.68 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002432/1.171, allocations: 222.5 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/1.171, allocations: 0 / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 7.005e-05/1.171, allocations: 59.91 kB / 1.368 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/1.171, allocations: 7.609 kB / 1.368 GB, free: 31.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002936/1.171, allocations: 177.1 kB / 1.368 GB, free: 31.46 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002492/1.172, allocations: 0.7244 MB / 1.369 GB, free: 30.76 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.569e-05/1.172, allocations: 11.89 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.264e-05/1.172, allocations: 11.25 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/1.172, allocations: 3.844 kB / 1.369 GB, free: 30.75 MB / 0.8386 GB Notification: Performance of Templates: time 0.004639/1.176, allocations: 2.836 MB / 1.371 GB, free: 30.49 MB / 0.8386 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