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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001542/0.001542, allocations: 110 kB / 18.93 MB, free: 2.945 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.001837/0.001837, allocations: 188 kB / 22.22 MB, free: 5.164 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.57/1.57, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.571/3.571, allocations: 0.4893 GB / 0.7884 GB, free: 33.1 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-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=2500,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=2500,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") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002089/0.002089, allocations: 68.44 kB / 1.145 GB, free: 30.69 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.5077/0.5098, allocations: 174.9 MB / 1.316 GB, free: 9.695 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003958/0.5137, allocations: 1.505 MB / 1.317 GB, free: 8.18 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.001557/0.5153, allocations: 0.6812 MB / 1.318 GB, free: 7.496 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 9.427e-05/0.5154, allocations: 4 kB / 1.318 GB, free: 7.492 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001103/0.5155, allocations: 3.938 kB / 1.318 GB, free: 7.488 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.5156, allocations: 23.78 kB / 1.318 GB, free: 7.465 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.5171, allocations: 349.7 kB / 1.318 GB, free: 7.125 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.0003731/0.5175, allocations: 175.7 kB / 1.319 GB, free: 6.953 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 6.465e-05/0.5175, allocations: 11.98 kB / 1.319 GB, free: 6.941 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001615/0.5177, allocations: 71.83 kB / 1.319 GB, free: 6.871 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001227/0.5178, allocations: 51.77 kB / 1.319 GB, free: 6.82 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 4.834e-05/0.5179, allocations: 12 kB / 1.319 GB, free: 6.809 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.5185, allocations: 291.7 kB / 1.319 GB, free: 6.523 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001092/0.5186, allocations: 43.89 kB / 1.319 GB, free: 6.48 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001171/0.5188, allocations: 59.72 kB / 1.319 GB, free: 6.422 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0006656/0.5194, allocations: 307 kB / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.5194, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.823e-06/0.5194, allocations: 0 / 1.319 GB, free: 6.121 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 8.335e-06/0.5194, allocations: 0 / 1.319 GB, free: 6.121 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.0007631/0.5202, allocations: 409.3 kB / 1.32 GB, free: 5.688 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.5202, allocations: 12.03 kB / 1.32 GB, free: 5.676 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.686e-05/0.5203, allocations: 12.89 kB / 1.32 GB, free: 5.664 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002664/0.5206, allocations: 158.2 kB / 1.32 GB, free: 5.484 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.46e-05/0.5206, allocations: 8.375 kB / 1.32 GB, free: 5.477 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.384e-05/0.5206, allocations: 8.375 kB / 1.32 GB, free: 5.469 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002186/0.5209, allocations: 100.7 kB / 1.32 GB, free: 5.355 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.5209, allocations: 8.188 kB / 1.32 GB, free: 5.348 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.958e-05/0.5209, allocations: 7.922 kB / 1.32 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.5209, allocations: 0 / 1.32 GB, free: 5.34 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001095/0.521, allocations: 43.98 kB / 1.32 GB, free: 5.297 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002974/0.5213, allocations: 218.4 kB / 1.32 GB, free: 5.035 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001654/0.5215, allocations: 107.9 kB / 1.321 GB, free: 4.902 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001096/0.5216, allocations: 66.61 kB / 1.321 GB, free: 4.828 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.031e-05/0.5216, allocations: 0 / 1.321 GB, free: 4.828 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003054/0.5219, allocations: 143.9 kB / 1.321 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.5219, allocations: 0 / 1.321 GB, free: 4.668 MB / 1.014 GB
Notification: Performance of matching and sorting (n=21): time 0.0004729/0.5224, allocations: 221.3 kB / 1.321 GB, free: 4.445 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.511e-05/0.5224, allocations: 114.8 kB / 1.321 GB, free: 4.309 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001483/0.5226, allocations: 143.8 kB / 1.321 GB, free: 4.16 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 4.446e-05/0.5226, allocations: 37.7 kB / 1.321 GB, free: 4.117 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 7.559e-05/0.5227, allocations: 92.64 kB / 1.321 GB, free: 4.023 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 8.358e-05/0.5228, allocations: 55.58 kB / 1.321 GB, free: 3.969 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 9.523e-05/0.5229, allocations: 69.69 kB / 1.321 GB, free: 3.895 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001674/0.5231, allocations: 322.8 kB / 1.322 GB, free: 3.57 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 9.66e-05/0.5232, allocations: 52.2 kB / 1.322 GB, free: 3.516 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000255/0.5234, allocations: 185.6 kB / 1.322 GB, free: 3.293 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002096/0.5236, allocations: 130.5 kB / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5236, allocations: 0 / 1.322 GB, free: 3.156 MB / 1.014 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.000309/0.5239, allocations: 201.4 kB / 1.322 GB, free: 2.953 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 1.787e-05/0.524, allocations: 8 kB / 1.322 GB, free: 2.945 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.998e-05/0.524, allocations: 7.984 kB / 1.322 GB, free: 2.938 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.524, allocations: 0 / 1.322 GB, free: 2.938 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5241, allocations: 15.94 kB / 1.322 GB, free: 2.922 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5241, allocations: 0 / 1.322 GB, free: 2.922 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002226/0.5243, allocations: 50.59 kB / 1.322 GB, free: 2.875 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.5244, allocations: 12 kB / 1.322 GB, free: 2.863 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.0001456/0.5245, allocations: 141.2 kB / 1.322 GB, free: 2.719 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.99e-05/0.5245, allocations: 19.84 kB / 1.323 GB, free: 2.699 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.961e-05/0.5246, allocations: 16.72 kB / 1.323 GB, free: 2.676 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.5246, allocations: 3.984 kB / 1.323 GB, free: 2.672 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.521e-06/0.5246, allocations: 0 / 1.323 GB, free: 2.672 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5246, allocations: 8 kB / 1.323 GB, free: 2.664 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002082/0.5248, allocations: 180.5 kB / 1.323 GB, free: 2.445 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.5248, allocations: 0 / 1.323 GB, free: 2.445 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.909e-05/0.5249, allocations: 11.98 kB / 1.323 GB, free: 2.434 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.5249, allocations: 0 / 1.323 GB, free: 2.434 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.5249, allocations: 4 kB / 1.323 GB, free: 2.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.5249, allocations: 0 / 1.323 GB, free: 2.43 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.17e-06/0.5249, allocations: 7.938 kB / 1.323 GB, free: 2.422 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.5252, allocations: 214.6 kB / 1.323 GB, free: 2.188 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.143e-05/0.5252, allocations: 15.84 kB / 1.323 GB, free: 2.172 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.656e-05/0.5252, allocations: 4 kB / 1.323 GB, free: 2.168 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.5253, allocations: 11.94 kB / 1.323 GB, free: 2.156 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.5254, allocations: 11.97 kB / 1.323 GB, free: 2.145 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.5254, allocations: 8 kB / 1.323 GB, free: 2.137 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 8.922e-05/0.5255, allocations: 109 kB / 1.323 GB, free: 2.031 MB / 1.014 GB
Notification: Performance of sort global known variables: time 8e-08/0.5255, allocations: 4 kB / 1.323 GB, free: 2.027 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0003748/0.5258, allocations: 99.8 kB / 1.323 GB, free: 1.93 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.0003716/0.5262, allocations: 212.5 kB / 1.323 GB, free: 1.715 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.000368/0.5266, allocations: 208.9 kB / 1.324 GB, free: 1.492 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.5266, allocations: 0 / 1.324 GB, free: 1.492 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.5267, allocations: 47.91 kB / 1.324 GB, free: 1.445 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.5268, allocations: 9.5 kB / 1.324 GB, free: 1.438 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005459/0.5274, allocations: 249 kB / 1.324 GB, free: 1.164 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.5278, allocations: 0.7083 MB / 1.325 GB, free: 440 kB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.624e-05/0.5278, allocations: 16.91 kB / 1.325 GB, free: 420 kB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 3.371e-05/0.5279, allocations: 19.44 kB / 1.325 GB, free: 400 kB / 1.014 GB
Notification: Performance of SimCode: time 3e-07/0.5279, allocations: 0 / 1.325 GB, free: 400 kB / 1.014 GB
Notification: Performance of Templates: time 0.007957/0.5358, allocations: 3.177 MB / 1.328 GB, free: 13.25 MB / 1.029 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300]
(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=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 800]
diffSimulationResults("Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.55543218087405]