Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 113.9 kB / 18.94 MB, free: 2.953 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001928/0.001928, allocations: 189.5 kB / 22.23 MB, free: 5.137 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.568/1.568, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.568/3.568, allocations: 496 MB / 0.7835 GB, free: 33.55 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime")
translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002066/0.002066, allocations: 63.83 kB / 1.138 GB, free: 33.82 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4736, allocations: 173.6 MB / 1.307 GB, free: 1.824 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003828/0.4775, allocations: 1.504 MB / 1.309 GB, free: 316 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.001365/0.4788, allocations: 0.6812 MB / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.506e-05/0.4789, allocations: 0 / 1.309 GB, free: 15.62 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001043/0.479, allocations: 15.86 kB / 1.309 GB, free: 15.61 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.4791, allocations: 11.86 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.4804, allocations: 354 kB / 1.31 GB, free: 15.25 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003095/0.4807, allocations: 171.7 kB / 1.31 GB, free: 15.09 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.999e-05/0.4807, allocations: 7.938 kB / 1.31 GB, free: 15.08 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.4808, allocations: 71.88 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001215/0.481, allocations: 51.75 kB / 1.31 GB, free: 14.96 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.253e-05/0.481, allocations: 12 kB / 1.31 GB, free: 14.95 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0005998/0.4816, allocations: 287.7 kB / 1.31 GB, free: 14.66 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 9.42e-05/0.4817, allocations: 39.91 kB / 1.31 GB, free: 14.62 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.4818, allocations: 67.64 kB / 1.31 GB, free: 14.56 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006602/0.4825, allocations: 311 kB / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.4825, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.603e-06/0.4825, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 7.144e-06/0.4825, allocations: 0 / 1.311 GB, free: 14.25 MB / 1.014 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.0007772/0.4833, allocations: 405.3 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.4833, allocations: 8.922 kB / 1.311 GB, free: 13.82 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.073e-05/0.4834, allocations: 12.89 kB / 1.311 GB, free: 13.8 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002668/0.4836, allocations: 150.3 kB / 1.311 GB, free: 13.63 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.906e-05/0.4837, allocations: 12.31 kB / 1.311 GB, free: 13.62 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.106e-05/0.4837, allocations: 12.38 kB / 1.311 GB, free: 13.61 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.4839, allocations: 96.8 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.4839, allocations: 192 / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.512e-05/0.4839, allocations: 3.938 kB / 1.311 GB, free: 13.5 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.639e-06/0.484, allocations: 4 kB / 1.311 GB, free: 13.49 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.4841, allocations: 51.89 kB / 1.311 GB, free: 13.44 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003399/0.4844, allocations: 226.4 kB / 1.312 GB, free: 13.17 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001856/0.4846, allocations: 99.83 kB / 1.312 GB, free: 13.05 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.4847, allocations: 62.7 kB / 1.312 GB, free: 12.98 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 8.897e-06/0.4847, allocations: 4 kB / 1.312 GB, free: 12.97 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000262/0.485, allocations: 142.9 kB / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=21): time 1.173e-06/0.485, allocations: 0 / 1.312 GB, free: 12.81 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21): time 0.0004854/0.4855, allocations: 213.5 kB / 1.312 GB, free: 12.6 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.4856, allocations: 122.7 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001686/0.4857, allocations: 139.9 kB / 1.312 GB, free: 12.31 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.741e-05/0.4858, allocations: 41.69 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 8.32e-05/0.4859, allocations: 96.64 kB / 1.313 GB, free: 12.16 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 9.563e-05/0.486, allocations: 59.58 kB / 1.313 GB, free: 12.11 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.98e-05/0.4861, allocations: 57.69 kB / 1.313 GB, free: 12.04 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001892/0.4863, allocations: 330.8 kB / 1.313 GB, free: 11.71 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4864, allocations: 48.27 kB / 1.313 GB, free: 11.66 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002665/0.4866, allocations: 177.1 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000223/0.4869, allocations: 134.5 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.985e-06/0.4869, allocations: 0 / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003642/0.4872, allocations: 201.4 kB / 1.314 GB, free: 11.1 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/0.4873, allocations: 8 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.995e-05/0.4873, allocations: 4 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.4873, allocations: 3.938 kB / 1.314 GB, free: 11.09 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001112/0.4874, allocations: 19.92 kB / 1.314 GB, free: 11.07 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.4874, allocations: 3.938 kB / 1.314 GB, free: 11.06 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002503/0.4877, allocations: 49.11 kB / 1.314 GB, free: 11.02 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.801e-05/0.4877, allocations: 8 kB / 1.314 GB, free: 11.01 MB / 1.014 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.0001679/0.4879, allocations: 144.4 kB / 1.314 GB, free: 10.86 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.169e-05/0.4879, allocations: 15.84 kB / 1.314 GB, free: 10.84 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.476e-05/0.4879, allocations: 16.72 kB / 1.314 GB, free: 10.82 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.4879, allocations: 8.078 kB / 1.314 GB, free: 10.82 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/0.4879, allocations: 3.984 kB / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/0.4879, allocations: 0 / 1.314 GB, free: 10.81 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/0.4882, allocations: 184.5 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.797e-06/0.4882, allocations: 4 kB / 1.314 GB, free: 10.59 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.4882, allocations: 12 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.4882, allocations: 0 / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.947e-05/0.4882, allocations: 15.98 kB / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4882, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.4882, allocations: 0 / 1.314 GB, free: 10.56 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.4886, allocations: 211.9 kB / 1.314 GB, free: 10.33 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.273e-05/0.4886, allocations: 15.84 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.4886, allocations: 3.984 kB / 1.314 GB, free: 10.31 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.923e-05/0.4887, allocations: 15.94 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.656e-05/0.4888, allocations: 7.984 kB / 1.314 GB, free: 10.29 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.014e-05/0.4888, allocations: 4 kB / 1.314 GB, free: 10.28 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.771e-05/0.4889, allocations: 109.3 kB / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of sort global known variables: time 9e-08/0.4889, allocations: 0 / 1.314 GB, free: 10.18 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0004236/0.4893, allocations: 103.8 kB / 1.314 GB, free: 10.07 MB / 1.014 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.0003895/0.4897, allocations: 201.5 kB / 1.315 GB, free: 9.871 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0004006/0.4901, allocations: 216.9 kB / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4901, allocations: 0 / 1.315 GB, free: 9.641 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.4902, allocations: 43.92 kB / 1.315 GB, free: 9.598 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000188/0.4904, allocations: 8 kB / 1.315 GB, free: 9.59 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005833/0.491, allocations: 256.9 kB / 1.315 GB, free: 9.309 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004326/0.4914, allocations: 0.7162 MB / 1.316 GB, free: 8.566 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 5.888e-05/0.4915, allocations: 12.97 kB / 1.316 GB, free: 8.551 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.203e-05/0.4915, allocations: 11.44 kB / 1.316 GB, free: 8.539 MB / 1.014 GB
Notification: Performance of SimCode: time 5.31e-07/0.4915, allocations: 3.938 kB / 1.316 GB, free: 8.535 MB / 1.014 GB
Notification: Performance of Templates: time 0.008152/0.4996, allocations: 3.177 MB / 1.319 GB, free: 5.391 MB / 1.014 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300]
""
[Timeout remaining time 300]
Reference file matches
[Calling sys.exit(0), Time elapsed: 10.341647521592677]