Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001801/0.001801, 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.002644/0.002644, allocations: 192.2 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.587/1.587, allocations: 225.6 MB / 250.8 MB, free: 2.926 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.179/3.179, allocations: 495.8 MB / 0.7831 GB, free: 12.3 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.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_12_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_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 67.88 kB / 1.137 GB, free: 12.27 MB / 0.92 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 1.464/1.466, allocations: 173.6 MB / 1.307 GB, free: 33.8 MB / 1.061 GB
Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002533/1.468, allocations: 1.495 MB / 1.308 GB, free: 32.75 MB / 1.061 GB
Notification: Performance of NFInst.instExpressions: time 0.0009592/1.469, allocations: 0.6776 MB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFInst.updateImplicitVariability: time 3.982e-05/1.469, allocations: 0 / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFTyping.typeComponents: time 8.317e-05/1.469, allocations: 9.969 kB / 1.309 GB, free: 32.29 MB / 1.061 GB
Notification: Performance of NFTyping.typeBindings: time 6.961e-05/1.469, allocations: 21.69 kB / 1.309 GB, free: 32.27 MB / 1.061 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0009592/1.47, allocations: 369.4 kB / 1.309 GB, free: 32.11 MB / 1.061 GB
Notification: Performance of NFFlatten.flatten: time 0.0002048/1.471, allocations: 170.7 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of NFFlatten.resolveConnections: time 5.303e-05/1.471, allocations: 6.266 kB / 1.309 GB, free: 32.04 MB / 1.061 GB
Notification: Performance of NFEvalConstants.evaluate: time 7.225e-05/1.471, allocations: 77.02 kB / 1.309 GB, free: 32.01 MB / 1.061 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.034e-05/1.471, allocations: 51.27 kB / 1.31 GB, free: 31.98 MB / 1.061 GB
Notification: Performance of NFPackage.collectConstants: time 3.081e-05/1.471, allocations: 11.62 kB / 1.31 GB, free: 31.98 MB / 1.061 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003605/1.471, allocations: 294.7 kB / 1.31 GB, free: 31.89 MB / 1.061 GB
Notification: Performance of NFScalarize.scalarize: time 7.245e-05/1.471, allocations: 37.5 kB / 1.31 GB, free: 31.87 MB / 1.061 GB
Notification: Performance of NFVerifyModel.verify: time 7.383e-05/1.471, allocations: 63.58 kB / 1.31 GB, free: 31.83 MB / 1.061 GB
Notification: Performance of NFConvertDAE.convert: time 0.0003457/1.472, allocations: 300.2 kB / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/1.472, allocations: 0 / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of FrontEnd: time 1.773e-06/1.472, allocations: 0 / 1.31 GB, free: 31.73 MB / 1.061 GB
Notification: Performance of Transformations before backend: time 6.642e-06/1.472, allocations: 0 / 1.31 GB, free: 31.73 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.0005831/1.472, allocations: 412.7 kB / 1.311 GB, free: 31.38 MB / 1.061 GB
Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/1.472, allocations: 11.88 kB / 1.311 GB, free: 31.38 MB / 1.061 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.214e-05/1.472, allocations: 10.48 kB / 1.311 GB, free: 31.38 MB / 1.061 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/1.473, allocations: 155 kB / 1.311 GB, free: 31.23 MB / 1.061 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.933e-05/1.473, allocations: 10.81 kB / 1.311 GB, free: 31.22 MB / 1.061 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.065e-05/1.473, allocations: 8.375 kB / 1.311 GB, free: 31.22 MB / 1.061 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001789/1.473, allocations: 102.7 kB / 1.311 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/1.473, allocations: 4.125 kB / 1.311 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/1.473, allocations: 3.938 kB / 1.311 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/1.473, allocations: 2.969 kB / 1.311 GB, free: 31.14 MB / 1.061 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 8.986e-05/1.473, allocations: 42.3 kB / 1.311 GB, free: 31.12 MB / 1.061 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002403/1.473, allocations: 221 kB / 1.311 GB, free: 30.92 MB / 1.061 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/1.473, allocations: 106.1 kB / 1.311 GB, free: 30.83 MB / 1.061 GB
Notification: Performance of preOpt resolveLoops (simulation): time 7.99e-05/1.473, allocations: 62.28 kB / 1.311 GB, free: 30.79 MB / 1.061 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/1.473, allocations: 6.75 kB / 1.311 GB, free: 30.79 MB / 1.061 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/1.474, allocations: 145.2 kB / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of pre-optimization done (n=21): time 1.132e-06/1.474, allocations: 0 / 1.311 GB, free: 30.68 MB / 1.061 GB
Notification: Performance of matching and sorting (n=21): time 0.000399/1.474, allocations: 213.5 kB / 1.312 GB, free: 30.59 MB / 1.061 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/1.474, allocations: 116 kB / 1.312 GB, free: 30.46 MB / 1.061 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.755e-05/1.474, allocations: 144.9 kB / 1.312 GB, free: 30.35 MB / 1.061 GB
Notification: Performance of collectPreVariables (initialization): time 2.796e-05/1.474, allocations: 35.33 kB / 1.312 GB, free: 30.31 MB / 1.061 GB
Notification: Performance of collectInitialEqns (initialization): time 4.606e-05/1.474, allocations: 94.75 kB / 1.312 GB, free: 30.22 MB / 1.061 GB
Notification: Performance of collectInitialBindings (initialization): time 5.092e-05/1.474, allocations: 63.78 kB / 1.312 GB, free: 30.17 MB / 1.061 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 7.5e-05/1.474, allocations: 63.97 kB / 1.312 GB, free: 30.14 MB / 1.061 GB
Notification: Performance of setup shared object (initialization): time 6.006e-05/1.474, allocations: 325.2 kB / 1.312 GB, free: 29.82 MB / 1.061 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/1.474, allocations: 52.03 kB / 1.313 GB, free: 29.8 MB / 1.061 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001592/1.475, allocations: 181.3 kB / 1.313 GB, free: 29.66 MB / 1.061 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/1.475, allocations: 134.5 kB / 1.313 GB, free: 29.58 MB / 1.061 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.475, allocations: 0 / 1.313 GB, free: 29.58 MB / 1.061 GB
Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002453/1.475, allocations: 200.9 kB / 1.313 GB, free: 29.49 MB / 1.061 GB
Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/1.475, allocations: 5.656 kB / 1.313 GB, free: 29.49 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.669e-05/1.475, allocations: 5.812 kB / 1.313 GB, free: 29.49 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/1.475, allocations: 0 / 1.313 GB, free: 29.49 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/1.475, allocations: 26.59 kB / 1.313 GB, free: 29.48 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.69e-06/1.475, allocations: 0 / 1.313 GB, free: 29.48 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002054/1.475, allocations: 52 kB / 1.313 GB, free: 29.46 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/1.475, allocations: 5.438 kB / 1.313 GB, free: 29.46 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 9.716e-05/1.476, allocations: 142.5 kB / 1.313 GB, free: 29.33 MB / 1.061 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.377e-05/1.476, allocations: 20.95 kB / 1.313 GB, free: 29.32 MB / 1.061 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.129e-05/1.476, allocations: 11.56 kB / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/1.476, allocations: 6.844 kB / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.476, allocations: 0 / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/1.476, allocations: 2.938 kB / 1.313 GB, free: 29.3 MB / 1.061 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001144/1.476, allocations: 179.7 kB / 1.313 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.476, allocations: 5.688 kB / 1.313 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.299e-05/1.476, allocations: 9 kB / 1.313 GB, free: 29.12 MB / 1.061 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/1.476, allocations: 4 kB / 1.313 GB, free: 29.11 MB / 1.061 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/1.476, allocations: 9.781 kB / 1.313 GB, free: 29.11 MB / 1.061 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/1.476, allocations: 3.5 kB / 1.313 GB, free: 29.11 MB / 1.061 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/1.476, allocations: 0 / 1.313 GB, free: 29.11 MB / 1.061 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000236/1.476, allocations: 208 kB / 1.314 GB, free: 28.98 MB / 1.061 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/1.476, allocations: 20.94 kB / 1.314 GB, free: 28.96 MB / 1.061 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.43e-05/1.476, allocations: 6.906 kB / 1.314 GB, free: 28.96 MB / 1.061 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.125e-05/1.476, allocations: 9.953 kB / 1.314 GB, free: 28.96 MB / 1.061 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.207e-05/1.476, allocations: 12.52 kB / 1.314 GB, free: 28.95 MB / 1.061 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/1.476, allocations: 6.844 kB / 1.314 GB, free: 28.95 MB / 1.061 GB
Notification: Performance of sorting global known variables: time 4.703e-05/1.476, allocations: 109.3 kB / 1.314 GB, free: 28.87 MB / 1.061 GB
Notification: Performance of sort global known variables: time 6e-08/1.476, allocations: 0 / 1.314 GB, free: 28.87 MB / 1.061 GB
Notification: Performance of remove unused functions: time 0.0003392/1.477, allocations: 101.4 kB / 1.314 GB, free: 28.85 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.0002642/1.477, allocations: 203.4 kB / 1.314 GB, free: 28.73 MB / 1.061 GB
Notification: Performance of simCode: created initialization part: time 0.0002758/1.477, allocations: 213.2 kB / 1.314 GB, free: 28.6 MB / 1.061 GB
Notification: Performance of simCode: created event and clocks part: time 2.305e-06/1.477, allocations: 0 / 1.314 GB, free: 28.6 MB / 1.061 GB
Notification: Performance of simCode: created simulation system equations: time 7.129e-05/1.477, allocations: 48 kB / 1.314 GB, free: 28.58 MB / 1.061 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001742/1.477, allocations: 10.53 kB / 1.314 GB, free: 28.57 MB / 1.061 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004443/1.478, allocations: 256.2 kB / 1.315 GB, free: 28.38 MB / 1.061 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001294/1.478, allocations: 0.7065 MB / 1.315 GB, free: 27.69 MB / 1.061 GB
Notification: Performance of simCode: alias equations: time 4.645e-05/1.478, allocations: 13.06 kB / 1.315 GB, free: 27.68 MB / 1.061 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 2.802e-05/1.478, allocations: 20.94 kB / 1.315 GB, free: 27.67 MB / 1.061 GB
Notification: Performance of SimCode: time 4.41e-07/1.478, allocations: 0 / 1.315 GB, free: 27.67 MB / 1.061 GB
Notification: Performance of Templates: time 0.006436/1.484, allocations: 3.168 MB / 1.318 GB, free: 27.36 MB / 1.061 GB
"
[Timeout remaining time 299]
make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.773814687505364]