Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.002113/0.002113, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002795/0.002795, allocations: 190.3 kB / 22.23 MB, free: 5.105 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.67/1.67, allocations: 225.6 MB / 251 MB, free: 13.04 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.102/3.102, allocations: 476.7 MB / 0.7646 GB, free: 9.887 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.OccupancySchedulePositiveStartTime,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_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime")
translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,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_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.89 kB / 1.11 GB, free: 6.34 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.142, allocations: 168.8 MB / 1.274 GB, free: 4.242 MB / 0.9669 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003723/1.146, allocations: 1.499 MB / 1.276 GB, free: 2.734 MB / 0.9669 GB
Notification: Performance of NFInst.instExpressions: time 0.001436/1.148, allocations: 0.7061 MB / 1.276 GB, free: 2.027 MB / 0.9669 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/1.148, allocations: 0 / 1.276 GB, free: 2.027 MB / 0.9669 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001168/1.148, allocations: 11.88 kB / 1.276 GB, free: 2.016 MB / 0.9669 GB
Notification: Performance of NFTyping.typeBindings: time 9.294e-05/1.148, allocations: 11.86 kB / 1.276 GB, free: 2.004 MB / 0.9669 GB
Notification: Performance of NFTyping.typeClassSections: time 0.001445/1.149, allocations: 363 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB
Notification: Performance of NFFlatten.flatten: time 0.0003972/1.15, allocations: 179.6 kB / 1.277 GB, free: 1.477 MB / 0.9669 GB
Notification: Performance of NFFlatten.resolveConnections: time 9.057e-05/1.15, allocations: 4 kB / 1.277 GB, free: 1.473 MB / 0.9669 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/1.15, allocations: 67.89 kB / 1.277 GB, free: 1.406 MB / 0.9669 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001355/1.15, allocations: 55.75 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB
Notification: Performance of NFPackage.collectConstants: time 5.808e-05/1.15, allocations: 12 kB / 1.277 GB, free: 1.34 MB / 0.9669 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.000566/1.151, allocations: 295.6 kB / 1.277 GB, free: 1.051 MB / 0.9669 GB
Notification: Performance of NFScalarize.scalarize: time 9.913e-05/1.151, allocations: 43.89 kB / 1.277 GB, free: 1.008 MB / 0.9669 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001118/1.151, allocations: 55.73 kB / 1.278 GB, free: 0.9531 MB / 0.9669 GB
Notification: Performance of NFConvertDAE.convert: time 0.0005762/1.151, allocations: 301.5 kB / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/1.151, allocations: 0 / 1.278 GB, free: 0.6641 MB / 0.9669 GB
Notification: Performance of FrontEnd: time 1.993e-06/1.151, allocations: 3.938 kB / 1.278 GB, free: 0.6602 MB / 0.9669 GB
Notification: Performance of Transformations before backend: time 9.498e-06/1.151, allocations: 3.938 kB / 1.278 GB, free: 0.6562 MB / 0.9669 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.0008935/1.152, allocations: 401.4 kB / 1.278 GB, free: 236 kB / 0.9669 GB
Notification: Performance of prepare preOptimizeDAE: time 5.518e-05/1.152, allocations: 8.031 kB / 1.278 GB, free: 228 kB / 0.9669 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 7.3e-05/1.152, allocations: 12.89 kB / 1.278 GB, free: 216 kB / 0.9669 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/1.153, allocations: 162.3 kB / 1.278 GB, free: 28 kB / 0.9669 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/1.153, allocations: 8.375 kB / 1.278 GB, free: 20 kB / 0.9669 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 4.131e-05/1.153, allocations: 12.38 kB / 1.278 GB, free: 8 kB / 0.9669 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/1.153, allocations: 99.12 kB / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/1.153, allocations: 192 / 1.278 GB, free: 15.9 MB / 0.9825 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/1.153, allocations: 7.938 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/1.153, allocations: 4 kB / 1.279 GB, free: 15.89 MB / 0.9825 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/1.153, allocations: 43.91 kB / 1.279 GB, free: 15.84 MB / 0.9825 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003444/1.154, allocations: 226.4 kB / 1.279 GB, free: 15.57 MB / 0.9825 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001951/1.154, allocations: 99.86 kB / 1.279 GB, free: 15.45 MB / 0.9825 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001108/1.154, allocations: 66.61 kB / 1.279 GB, free: 15.38 MB / 0.9825 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.47e-05/1.154, allocations: 8 kB / 1.279 GB, free: 15.37 MB / 0.9825 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000349/1.154, allocations: 133.8 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of pre-optimization done (n=21): time 1.192e-06/1.154, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=21): time 0.0005221/1.155, allocations: 213.5 kB / 1.279 GB, free: 15 MB / 0.9825 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001456/1.155, allocations: 118.8 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/1.155, allocations: 145.8 kB / 1.28 GB, free: 14.71 MB / 0.9825 GB
Notification: Performance of collectPreVariables (initialization): time 4.441e-05/1.155, allocations: 33.7 kB / 1.28 GB, free: 14.67 MB / 0.9825 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.155, allocations: 96.64 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB
Notification: Performance of collectInitialBindings (initialization): time 8.669e-05/1.155, allocations: 63.52 kB / 1.28 GB, free: 14.5 MB / 0.9825 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001056/1.155, allocations: 57.69 kB / 1.28 GB, free: 14.44 MB / 0.9825 GB
Notification: Performance of setup shared object (initialization): time 0.0002182/1.156, allocations: 330.8 kB / 1.28 GB, free: 14.11 MB / 0.9825 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001175/1.156, allocations: 52.27 kB / 1.28 GB, free: 14.05 MB / 0.9825 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002649/1.156, allocations: 180.5 kB / 1.28 GB, free: 13.84 MB / 0.9825 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002214/1.156, allocations: 130.5 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.156, allocations: 4 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.000375/1.157, allocations: 205.4 kB / 1.281 GB, free: 13.49 MB / 0.9825 GB
Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/1.157, allocations: 7.938 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.395e-05/1.157, allocations: 4 kB / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (initialization): time 2.502e-05/1.157, allocations: 0 / 1.281 GB, free: 13.48 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/1.157, allocations: 23.92 kB / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.879e-06/1.157, allocations: 0 / 1.281 GB, free: 13.45 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002617/1.157, allocations: 47.84 kB / 1.281 GB, free: 13.41 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/1.157, allocations: 4.938 kB / 1.281 GB, free: 13.4 MB / 0.9825 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.0001827/1.157, allocations: 152.5 kB / 1.281 GB, free: 13.24 MB / 0.9825 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.852e-05/1.157, allocations: 15.84 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.268e-05/1.157, allocations: 16.66 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/1.157, allocations: 4 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/1.157, allocations: 0 / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/1.157, allocations: 3.984 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002314/1.158, allocations: 172.6 kB / 1.281 GB, free: 12.99 MB / 0.9825 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/1.158, allocations: 0 / 1.281 GB, free: 12.99 MB / 0.9825 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.052e-05/1.158, allocations: 19.98 kB / 1.281 GB, free: 12.97 MB / 0.9825 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/1.158, allocations: 0 / 1.281 GB, free: 12.97 MB / 0.9825 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/1.158, allocations: 8 kB / 1.281 GB, free: 12.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/1.158, allocations: 0 / 1.281 GB, free: 12.96 MB / 0.9825 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/1.158, allocations: 0 / 1.281 GB, free: 12.96 MB / 0.9825 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003685/1.158, allocations: 214.6 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB
Notification: Performance of postOpt removeConstants (simulation): time 2.387e-05/1.158, allocations: 15.84 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.794e-05/1.158, allocations: 8 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.35e-05/1.158, allocations: 7.938 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.589e-05/1.158, allocations: 7.984 kB / 1.281 GB, free: 12.69 MB / 0.9825 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.765e-05/1.158, allocations: 11.98 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB
Notification: Performance of sorting global known variables: time 8.641e-05/1.158, allocations: 105 kB / 1.281 GB, free: 12.57 MB / 0.9825 GB
Notification: Performance of sort global known variables: time 9e-08/1.158, allocations: 0 / 1.281 GB, free: 12.57 MB / 0.9825 GB
Notification: Performance of remove unused functions: time 0.0004921/1.159, allocations: 103.8 kB / 1.282 GB, free: 12.47 MB / 0.9825 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.0004088/1.159, allocations: 210.8 kB / 1.282 GB, free: 12.26 MB / 0.9825 GB
Notification: Performance of simCode: created initialization part: time 0.0004002/1.16, allocations: 205 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB
Notification: Performance of simCode: created event and clocks part: time 2.144e-06/1.16, allocations: 0 / 1.282 GB, free: 12.04 MB / 0.9825 GB
Notification: Performance of simCode: created simulation system equations: time 0.000105/1.16, allocations: 51.92 kB / 1.282 GB, free: 11.99 MB / 0.9825 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001909/1.16, allocations: 7.984 kB / 1.282 GB, free: 11.98 MB / 0.9825 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005013/1.16, allocations: 248.5 kB / 1.282 GB, free: 11.71 MB / 0.9825 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/1.161, allocations: 0.7161 MB / 1.283 GB, free: 10.96 MB / 0.9825 GB
Notification: Performance of simCode: alias equations: time 4.884e-05/1.161, allocations: 16.91 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.825e-05/1.161, allocations: 11.44 kB / 1.283 GB, free: 10.94 MB / 0.9825 GB
Notification: Performance of SimCode: time 3.21e-07/1.161, allocations: 0 / 1.283 GB, free: 10.94 MB / 0.9825 GB
Notification: Performance of Templates: time 0.007959/1.169, allocations: 3.187 MB / 1.286 GB, free: 7.785 MB / 0.9825 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300]
(rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.3028121907264]