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/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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001804/0.001804, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001817/0.001817, allocations: 191 kB / 17.29 MB, free: 5.516 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.479/1.479, allocations: 222.9 MB / 241 MB, free: 14.97 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.611/2.611, allocations: 442.6 MB / 0.7165 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 69.83 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3873/0.3885, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003288/0.3919, allocations: 1.497 MB / 1.028 GB, free: 0.5195 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3932, allocations: 0.6889 MB / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.636e-05/0.3933, allocations: 0 / 1.029 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.736e-05/0.3934, allocations: 11.92 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.772e-05/0.3935, allocations: 15.8 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3946, allocations: 342.7 kB / 1.029 GB, free: 15.47 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002626/0.3949, allocations: 167.7 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.395, allocations: 4 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.826e-05/0.3951, allocations: 75.81 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.719e-05/0.3952, allocations: 51.77 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.299e-05/0.3952, allocations: 12 kB / 1.029 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003546/0.3956, allocations: 247.8 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.58e-05/0.3957, allocations: 43.89 kB / 1.03 GB, free: 14.88 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.189e-05/0.3958, allocations: 67.7 kB / 1.03 GB, free: 14.81 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003973/0.3962, allocations: 299.3 kB / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.3962, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.204e-06/0.3962, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.412e-06/0.3962, allocations: 0 / 1.03 GB, free: 14.52 MB / 0.8106 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.0007014/0.3969, allocations: 470.9 kB / 1.031 GB, free: 14.01 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.397, allocations: 16.03 kB / 1.031 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.854e-05/0.397, allocations: 12.75 kB / 1.031 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002657/0.3973, allocations: 218.7 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.408e-05/0.3973, allocations: 8.375 kB / 1.031 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.212e-05/0.3974, allocations: 12.38 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.3976, allocations: 100.7 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.3976, allocations: 192 / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.3976, allocations: 7.938 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.3976, allocations: 7.938 kB / 1.031 GB, free: 13.58 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.599e-05/0.3977, allocations: 43.97 kB / 1.031 GB, free: 13.54 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003106/0.398, allocations: 247.4 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.3982, allocations: 111.9 kB / 1.031 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001074/0.3983, allocations: 78.59 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.485e-05/0.3983, allocations: 0 / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002788/0.3986, allocations: 134.5 kB / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.122e-06/0.3986, allocations: 0 / 1.032 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0004357/0.3991, allocations: 225.2 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.41e-05/0.3992, allocations: 114.8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.3993, allocations: 141.7 kB / 1.032 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.337e-05/0.3994, allocations: 37.7 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 8.018e-05/0.3994, allocations: 104.6 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.983e-05/0.3995, allocations: 51.34 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/0.3996, allocations: 57.69 kB / 1.032 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.3997, allocations: 330.8 kB / 1.033 GB, free: 11.76 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.126e-05/0.3998, allocations: 56.25 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.4001, allocations: 176.9 kB / 1.033 GB, free: 11.49 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002021/0.4003, allocations: 130.5 kB / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4003, allocations: 0 / 1.033 GB, free: 11.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003046/0.4006, allocations: 205.3 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.4006, allocations: 7.984 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.599e-05/0.4006, allocations: 4 kB / 1.033 GB, free: 11.14 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.4007, allocations: 4 kB / 1.033 GB, free: 11.13 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001017/0.4008, allocations: 11.94 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.4008, allocations: 4 kB / 1.033 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.401, allocations: 51.78 kB / 1.033 GB, free: 11.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.667e-05/0.401, allocations: 8 kB / 1.033 GB, free: 11.06 MB / 0.8106 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.0001438/0.4012, allocations: 144.1 kB / 1.033 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.4012, allocations: 15.75 kB / 1.033 GB, free: 10.89 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.571e-05/0.4013, allocations: 16.7 kB / 1.033 GB, free: 10.88 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/0.4013, allocations: 4 kB / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.421e-06/0.4013, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.4013, allocations: 0 / 1.033 GB, free: 10.87 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/0.4015, allocations: 213.5 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.4015, allocations: 4 kB / 1.034 GB, free: 10.61 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.203e-05/0.4015, allocations: 12 kB / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.4015, allocations: 0 / 1.034 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.445e-05/0.4016, allocations: 4 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.4016, allocations: 0 / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4016, allocations: 3.938 kB / 1.034 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002843/0.4019, allocations: 220.5 kB / 1.034 GB, free: 10.35 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.217e-05/0.4019, allocations: 92.95 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.402, allocations: 4 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.402, allocations: 11.92 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.593e-05/0.4021, allocations: 11.98 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/0.4021, allocations: 8 kB / 1.034 GB, free: 10.21 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.631e-05/0.4022, allocations: 101.8 kB / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4022, allocations: 0 / 1.034 GB, free: 10.11 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004042/0.4026, allocations: 107.9 kB / 1.034 GB, free: 10 MB / 0.8106 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.0003268/0.4029, allocations: 207.3 kB / 1.034 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003435/0.4033, allocations: 225.2 kB / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4033, allocations: 0 / 1.035 GB, free: 9.555 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 9.882e-05/0.4034, allocations: 59.91 kB / 1.035 GB, free: 9.496 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001819/0.4036, allocations: 9.312 kB / 1.035 GB, free: 9.488 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004745/0.4041, allocations: 252.7 kB / 1.035 GB, free: 9.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.4044, allocations: 0.7084 MB / 1.036 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.897e-05/0.4044, allocations: 9.156 kB / 1.036 GB, free: 8.461 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.4045, allocations: 15.44 kB / 1.036 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of SimCode: time 1.9e-07/0.4045, allocations: 0 / 1.036 GB, free: 8.445 MB / 0.8106 GB Notification: Performance of Templates: time 0.006318/0.4108, allocations: 3.078 MB / 1.039 GB, free: 5.402 MB / 0.8106 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 -s gbode -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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches