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.01033/0.01033, allocations: 101.7 kB / 15.88 MB, free: 5.867 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.001965/0.001965, allocations: 193.8 kB / 16.79 MB, free: 5.809 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.534/1.534, allocations: 222.9 MB / 240.5 MB, free: 4.566 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.944/2.944, allocations: 461.9 MB / 0.7348 GB, free: 14.24 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001264/0.001264, allocations: 62.28 kB / 0.899 GB, free: 37.13 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3907/0.3919, allocations: 157.4 MB / 1.053 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003107/0.3951, allocations: 1.539 MB / 1.054 GB, free: 6.805 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.3964, allocations: 0.7359 MB / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.35e-05/0.3964, allocations: 0 / 1.055 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 7.347e-05/0.3965, allocations: 3.984 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.454e-05/0.3966, allocations: 19.84 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007604/0.3973, allocations: 282.8 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002167/0.3976, allocations: 159.6 kB / 1.055 GB, free: 5.613 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.8e-05/0.3976, allocations: 8 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.649e-05/0.3977, allocations: 67.75 kB / 1.055 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.187e-05/0.3978, allocations: 47.83 kB / 1.056 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.932e-05/0.3978, allocations: 4 kB / 1.056 GB, free: 5.488 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.3982, allocations: 239.8 kB / 1.056 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 8.285e-05/0.3983, allocations: 39.89 kB / 1.056 GB, free: 5.215 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 8.194e-05/0.3983, allocations: 51.72 kB / 1.056 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002827/0.3986, allocations: 219.8 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.3986, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.61e-07/0.3987, allocations: 0 / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.3987, allocations: 0 / 1.056 GB, free: 4.949 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.000638/0.3993, allocations: 478.8 kB / 1.057 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.3993, allocations: 15.97 kB / 1.057 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.47e-05/0.3994, allocations: 16.75 kB / 1.057 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.3996, allocations: 216 kB / 1.057 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.3997, allocations: 12.36 kB / 1.057 GB, free: 4.137 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.032e-05/0.3997, allocations: 16.36 kB / 1.057 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.3999, allocations: 98.61 kB / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.622e-06/0.3999, allocations: 192 / 1.057 GB, free: 4.012 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.3999, allocations: 7.938 kB / 1.057 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.3999, allocations: 4 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.339e-05/0.4, allocations: 43.97 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002715/0.4003, allocations: 247.4 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000147/0.4005, allocations: 103.8 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.4006, allocations: 82.64 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.056e-05/0.4006, allocations: 0 / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002858/0.4009, allocations: 130.6 kB / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 1.192e-06/0.4009, allocations: 0 / 1.057 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0004288/0.4013, allocations: 226 kB / 1.058 GB, free: 3.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.478e-05/0.4014, allocations: 118.8 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001305/0.4015, allocations: 139.2 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.491e-05/0.4016, allocations: 33.7 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.698e-05/0.4017, allocations: 104.7 kB / 1.058 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 6.231e-05/0.4017, allocations: 59.2 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.4018, allocations: 57.69 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001451/0.402, allocations: 326.8 kB / 1.058 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.4021, allocations: 56.25 kB / 1.059 GB, free: 2.129 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002193/0.4023, allocations: 176.5 kB / 1.059 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001865/0.4025, allocations: 142.5 kB / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4025, allocations: 0 / 1.059 GB, free: 1.766 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002945/0.4028, allocations: 197.3 kB / 1.059 GB, free: 1.566 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.4028, allocations: 4 kB / 1.059 GB, free: 1.562 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.4029, allocations: 4 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4029, allocations: 4 kB / 1.059 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.193e-05/0.403, allocations: 11.94 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/0.403, allocations: 8.219 kB / 1.059 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000217/0.4032, allocations: 43.8 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.799e-05/0.4032, allocations: 23.92 kB / 1.059 GB, free: 1.469 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.0001193/0.4034, allocations: 136.2 kB / 1.059 GB, free: 1.328 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.692e-05/0.4034, allocations: 15.84 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.937e-05/0.4034, allocations: 16.7 kB / 1.059 GB, free: 1.297 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.4034, allocations: 4 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4034, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.144e-06/0.4034, allocations: 0 / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001861/0.4036, allocations: 213.4 kB / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.4036, allocations: 0 / 1.059 GB, free: 1.035 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.538e-05/0.4037, allocations: 16 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4037, allocations: 0 / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.282e-05/0.4037, allocations: 8 kB / 1.06 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.4037, allocations: 3.984 kB / 1.06 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.4037, allocations: 3.938 kB / 1.06 GB, free: 1.004 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002933/0.404, allocations: 213.3 kB / 1.06 GB, free: 0.7734 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.333e-05/0.4041, allocations: 89.02 kB / 1.06 GB, free: 0.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.268e-05/0.4041, allocations: 3.984 kB / 1.06 GB, free: 0.6641 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.912e-05/0.4042, allocations: 15.94 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.451e-05/0.4043, allocations: 7.984 kB / 1.06 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.936e-06/0.4043, allocations: 4 kB / 1.06 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.003e-05/0.4044, allocations: 109.1 kB / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.61e-07/0.4044, allocations: 0 / 1.06 GB, free: 0.5312 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003627/0.4047, allocations: 99.94 kB / 1.06 GB, free: 444 kB / 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.0003322/0.4051, allocations: 214 kB / 1.06 GB, free: 224 kB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003283/0.4054, allocations: 221 kB / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4054, allocations: 0 / 1.06 GB, free: 15.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.871e-05/0.4055, allocations: 51.92 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001681/0.4057, allocations: 8 kB / 1.061 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005008/0.4062, allocations: 308.1 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.4065, allocations: 0.7125 MB / 1.061 GB, free: 14.85 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.008e-05/0.4066, allocations: 19.44 kB / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of SimCode: time 3.51e-07/0.4066, allocations: 0 / 1.062 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of Templates: time 0.00475/0.4113, allocations: 3.097 MB / 1.065 GB, free: 11.75 MB / 0.8262 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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