Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_11_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_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001598/0.001598, allocations: 110.2 kB / 15.99 MB, free: 6.352 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 199.1 kB / 16.91 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.694/2.694, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 59.88 kB / 0.9087 GB, free: 14.22 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3684/0.3705, allocations: 159.2 MB / 1.064 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003182/0.3737, allocations: 1.544 MB / 1.066 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001226/0.3749, allocations: 0.6931 MB / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.375, allocations: 0 / 1.066 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 9.539e-05/0.3751, allocations: 7.922 kB / 1.066 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.226e-05/0.3752, allocations: 7.938 kB / 1.066 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3763, allocations: 314.5 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000286/0.3766, allocations: 171.6 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.512e-05/0.3767, allocations: 4 kB / 1.067 GB, free: 12.35 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.437e-05/0.3768, allocations: 79.75 kB / 1.067 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.48e-05/0.3769, allocations: 43.83 kB / 1.067 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.898e-05/0.3769, allocations: 12 kB / 1.067 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004072/0.3773, allocations: 255.8 kB / 1.067 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 8.28e-05/0.3774, allocations: 43.89 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 8.589e-05/0.3775, allocations: 55.72 kB / 1.067 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.000306/0.3778, allocations: 215.8 kB / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3778, allocations: 0 / 1.067 GB, free: 11.66 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3778, allocations: 3.938 kB / 1.067 GB, free: 11.65 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.3778, allocations: 0 / 1.067 GB, free: 11.65 MB / 0.8419 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.0006934/0.3785, allocations: 482.9 kB / 1.068 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.3786, allocations: 8.031 kB / 1.068 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.612e-05/0.3786, allocations: 12.84 kB / 1.068 GB, free: 11.11 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002517/0.3789, allocations: 212.1 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.564e-05/0.3789, allocations: 8.312 kB / 1.068 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.389e-05/0.379, allocations: 12.38 kB / 1.068 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.3792, allocations: 107 kB / 1.068 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.3792, allocations: 4.172 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3792, allocations: 7.938 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3792, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.762e-05/0.3793, allocations: 43.97 kB / 1.068 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003027/0.3796, allocations: 247.4 kB / 1.069 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000167/0.3798, allocations: 103.9 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.3799, allocations: 74.64 kB / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.3799, allocations: 0 / 1.069 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000265/0.3802, allocations: 137.8 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=21): time 1.103e-06/0.3802, allocations: 7.938 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of matching and sorting (n=21): time 0.0004324/0.3807, allocations: 217.9 kB / 1.069 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.509e-05/0.3808, allocations: 118.7 kB / 1.069 GB, free: 9.641 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.3809, allocations: 141.7 kB / 1.069 GB, free: 9.492 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.113e-05/0.3809, allocations: 37.69 kB / 1.069 GB, free: 9.449 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.381, allocations: 96.69 kB / 1.069 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 6.616e-05/0.3811, allocations: 55.3 kB / 1.07 GB, free: 9.297 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.241e-05/0.3812, allocations: 61.69 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001727/0.3814, allocations: 330.8 kB / 1.07 GB, free: 8.898 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.403e-05/0.3815, allocations: 52.25 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.3817, allocations: 184.4 kB / 1.07 GB, free: 8.621 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.3819, allocations: 138.5 kB / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.3819, allocations: 0 / 1.07 GB, free: 8.477 MB / 0.8419 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003115/0.3823, allocations: 197.3 kB / 1.07 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.72e-05/0.3823, allocations: 11.94 kB / 1.07 GB, free: 8.266 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.251e-05/0.3823, allocations: 4 kB / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.3823, allocations: 0 / 1.07 GB, free: 8.262 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.946e-05/0.3824, allocations: 15.98 kB / 1.07 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.3824, allocations: 0 / 1.07 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.3827, allocations: 55.8 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.751e-05/0.3827, allocations: 4 kB / 1.071 GB, free: 8.188 MB / 0.8419 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001427/0.3828, allocations: 144.1 kB / 1.071 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.752e-05/0.3829, allocations: 23.69 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.3829, allocations: 12.72 kB / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.3829, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3829, allocations: 0 / 1.071 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.154e-06/0.3829, allocations: 4 kB / 1.071 GB, free: 8 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000203/0.3831, allocations: 213.5 kB / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3831, allocations: 0 / 1.071 GB, free: 7.742 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.424e-05/0.3832, allocations: 8 kB / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.3832, allocations: 0 / 1.071 GB, free: 7.734 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.3832, allocations: 11.98 kB / 1.071 GB, free: 7.723 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.3832, allocations: 3.938 kB / 1.071 GB, free: 7.719 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3832, allocations: 4 kB / 1.071 GB, free: 7.715 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003016/0.3835, allocations: 214.5 kB / 1.071 GB, free: 7.48 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.345e-05/0.3836, allocations: 85.02 kB / 1.071 GB, free: 7.379 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.591e-05/0.3836, allocations: 7.984 kB / 1.071 GB, free: 7.371 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.507e-05/0.3837, allocations: 11.94 kB / 1.071 GB, free: 7.359 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.142e-05/0.3838, allocations: 7.984 kB / 1.071 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.758e-06/0.3838, allocations: 4 kB / 1.071 GB, free: 7.348 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 7.701e-05/0.3839, allocations: 113.2 kB / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3839, allocations: 0 / 1.071 GB, free: 7.238 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003494/0.3842, allocations: 107.9 kB / 1.071 GB, free: 7.133 MB / 0.8419 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) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003274/0.3846, allocations: 199.1 kB / 1.072 GB, free: 6.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.3849, allocations: 218 kB / 1.072 GB, free: 6.699 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.3849, allocations: 4 kB / 1.072 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.385, allocations: 55.92 kB / 1.072 GB, free: 6.641 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001739/0.3852, allocations: 14.02 kB / 1.072 GB, free: 6.629 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.3857, allocations: 310.5 kB / 1.072 GB, free: 6.285 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003534/0.3861, allocations: 0.7122 MB / 1.073 GB, free: 5.547 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.3861, allocations: 19.44 kB / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3861, allocations: 0 / 1.073 GB, free: 5.527 MB / 0.8419 GB Notification: Performance of Templates: time 0.005436/0.3916, allocations: 3.112 MB / 1.076 GB, free: 2.438 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,occSchDay.occupied,occSchDay1.occupied,occSchDay2.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc Variables in the result:occSchDay.occupied,occSchDay.tNexNonOcc,occSchDay.tNexOcc,occSchDay1.occupied,occSchDay1.tNexNonOcc,occSchDay1.tNexOcc,occSchDay2.occupied,occSchDay2.tNexNonOcc,occSchDay2.tNexOcc,time