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.00202/0.00202, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.003123/0.003123, allocations: 191.8 kB / 22.11 MB, free: 4.223 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.605/1.605, allocations: 225.6 MB / 250.8 MB, free: 2.684 MB / 190.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.13/3.13, allocations: 495.9 MB / 0.7831 GB, free: 12.25 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.002083/0.002083, allocations: 56.05 kB / 1.137 GB, free: 12.27 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.31/1.313, allocations: 173.6 MB / 1.307 GB, free: 33.76 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002792/1.315, allocations: 1.495 MB / 1.308 GB, free: 32.71 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.00101/1.316, allocations: 0.6812 MB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 4.573e-05/1.316, allocations: 2.656 kB / 1.309 GB, free: 32.25 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001019/1.317, allocations: 10.97 kB / 1.309 GB, free: 32.24 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 7.039e-05/1.317, allocations: 14.48 kB / 1.309 GB, free: 32.23 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009599/1.318, allocations: 380.1 kB / 1.309 GB, free: 32.05 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002525/1.318, allocations: 164.6 kB / 1.309 GB, free: 31.99 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/1.318, allocations: 9.391 kB / 1.309 GB, free: 31.99 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 9.184e-05/1.318, allocations: 75.17 kB / 1.309 GB, free: 31.95 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.000105/1.318, allocations: 55.64 kB / 1.31 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.383e-05/1.318, allocations: 11.5 kB / 1.31 GB, free: 31.93 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004233/1.318, allocations: 289.9 kB / 1.31 GB, free: 31.84 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 7.693e-05/1.319, allocations: 37.42 kB / 1.31 GB, free: 31.82 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 7.898e-05/1.319, allocations: 64.34 kB / 1.31 GB, free: 31.78 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003703/1.319, allocations: 300.8 kB / 1.31 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/1.319, allocations: 0 / 1.31 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.573e-06/1.319, allocations: 0 / 1.31 GB, free: 31.68 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 7.434e-06/1.319, allocations: 0 / 1.31 GB, free: 31.68 MB / 1.061 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.000626/1.32, allocations: 412.2 kB / 1.311 GB, free: 31.33 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 3.973e-05/1.32, allocations: 8.594 kB / 1.311 GB, free: 31.33 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/1.32, allocations: 13.39 kB / 1.311 GB, free: 31.33 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/1.32, allocations: 157.3 kB / 1.311 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/1.32, allocations: 7.156 kB / 1.311 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/1.32, allocations: 8.781 kB / 1.311 GB, free: 31.18 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001904/1.32, allocations: 102.7 kB / 1.311 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/1.32, allocations: 192 / 1.311 GB, free: 31.1 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/1.32, allocations: 11.17 kB / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.76e-06/1.32, allocations: 6.812 kB / 1.311 GB, free: 31.09 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.425e-05/1.32, allocations: 41.08 kB / 1.311 GB, free: 31.08 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/1.321, allocations: 218.8 kB / 1.311 GB, free: 30.87 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/1.321, allocations: 102.8 kB / 1.311 GB, free: 30.78 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 8.46e-05/1.321, allocations: 65.22 kB / 1.311 GB, free: 30.74 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/1.321, allocations: 3.031 kB / 1.311 GB, free: 30.74 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/1.321, allocations: 147.3 kB / 1.311 GB, free: 30.63 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=21): time 1.243e-06/1.321, allocations: 3.938 kB / 1.311 GB, free: 30.62 MB / 1.061 GB
Notification: Performance of matching and sorting (n=21): time 0.0003946/1.321, allocations: 206.5 kB / 1.312 GB, free: 30.54 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/1.321, allocations: 118.1 kB / 1.312 GB, free: 30.41 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.854e-05/1.322, allocations: 144.9 kB / 1.312 GB, free: 30.3 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.826e-05/1.322, allocations: 35.3 kB / 1.312 GB, free: 30.26 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.488e-05/1.322, allocations: 98.02 kB / 1.312 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/1.322, allocations: 63.3 kB / 1.312 GB, free: 30.12 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.513e-05/1.322, allocations: 59.55 kB / 1.312 GB, free: 30.09 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 5.977e-05/1.322, allocations: 328.9 kB / 1.312 GB, free: 29.77 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/1.322, allocations: 52.78 kB / 1.312 GB, free: 29.75 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001707/1.322, allocations: 180.7 kB / 1.313 GB, free: 29.61 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001619/1.322, allocations: 129.4 kB / 1.313 GB, free: 29.53 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/1.322, allocations: 3.328 kB / 1.313 GB, free: 29.53 MB / 1.061 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002426/1.322, allocations: 196.2 kB / 1.313 GB, free: 29.44 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/1.322, allocations: 5.812 kB / 1.313 GB, free: 29.44 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.198e-05/1.323, allocations: 2.938 kB / 1.313 GB, free: 29.44 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/1.323, allocations: 10.3 kB / 1.313 GB, free: 29.44 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.396e-05/1.323, allocations: 18.47 kB / 1.313 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/1.323, allocations: 3.938 kB / 1.313 GB, free: 29.43 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002046/1.323, allocations: 47.41 kB / 1.313 GB, free: 29.41 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.397e-05/1.323, allocations: 6.688 kB / 1.313 GB, free: 29.41 MB / 1.061 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.0001002/1.323, allocations: 146.1 kB / 1.313 GB, free: 29.28 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/1.323, allocations: 17.62 kB / 1.313 GB, free: 29.27 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.972e-05/1.323, allocations: 11.47 kB / 1.313 GB, free: 29.26 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/1.323, allocations: 6.844 kB / 1.313 GB, free: 29.25 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/1.323, allocations: 0 / 1.313 GB, free: 29.25 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/1.323, allocations: 6.234 kB / 1.313 GB, free: 29.25 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000116/1.323, allocations: 176.8 kB / 1.313 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.323, allocations: 0 / 1.313 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.379e-05/1.323, allocations: 19.44 kB / 1.313 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/1.323, allocations: 2.812 kB / 1.313 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.177e-05/1.323, allocations: 2.844 kB / 1.313 GB, free: 29.07 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/1.323, allocations: 3.938 kB / 1.313 GB, free: 29.06 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/1.323, allocations: 0 / 1.313 GB, free: 29.06 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002406/1.323, allocations: 213 kB / 1.314 GB, free: 28.93 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.67e-05/1.323, allocations: 23.2 kB / 1.314 GB, free: 28.92 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/1.323, allocations: 6.062 kB / 1.314 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/1.324, allocations: 6.469 kB / 1.314 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.189e-05/1.324, allocations: 15.11 kB / 1.314 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/1.324, allocations: 5.062 kB / 1.314 GB, free: 28.91 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.846e-05/1.324, allocations: 110.8 kB / 1.314 GB, free: 28.82 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.324, allocations: 0 / 1.314 GB, free: 28.82 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.000329/1.324, allocations: 104.8 kB / 1.314 GB, free: 28.8 MB / 1.061 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.0002794/1.324, allocations: 202.6 kB / 1.314 GB, free: 28.68 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002839/1.325, allocations: 208.9 kB / 1.314 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 1.784e-06/1.325, allocations: 0 / 1.314 GB, free: 28.55 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 7.752e-05/1.325, allocations: 45.8 kB / 1.314 GB, free: 28.54 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001779/1.325, allocations: 17.3 kB / 1.314 GB, free: 28.53 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00042/1.325, allocations: 258.4 kB / 1.315 GB, free: 28.33 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001605/1.325, allocations: 0.7047 MB / 1.315 GB, free: 27.64 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 4.249e-05/1.325, allocations: 12.91 kB / 1.315 GB, free: 27.63 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.908e-05/1.325, allocations: 15.62 kB / 1.315 GB, free: 27.62 MB / 1.061 GB
Notification: Performance of SimCode: time 2.9e-07/1.325, allocations: 4 kB / 1.315 GB, free: 27.62 MB / 1.061 GB
Notification: Performance of Templates: time 0.006125/1.332, allocations: 3.162 MB / 1.318 GB, free: 27.32 MB / 1.061 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.37833796069026]