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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001714/0.001714, allocations: 99.64 kB / 18.95 MB, free: 2.836 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 214.4 kB / 22.24 MB, free: 5.102 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.415/3.415, allocations: 0.4892 GB / 0.7943 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 74.17 kB / 1.154 GB, free: 25.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4401/0.4423, allocations: 176.1 MB / 1.326 GB, free: 1.859 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003188/0.4455, allocations: 1.483 MB / 1.327 GB, free: 380 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00129/0.4468, allocations: 0.6228 MB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.592e-05/0.4468, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.164e-05/0.4469, allocations: 11.92 kB / 1.328 GB, free: 15.73 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.101e-05/0.447, allocations: 15.84 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001247/0.4483, allocations: 353.5 kB / 1.328 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0003295/0.4486, allocations: 175.7 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.67e-05/0.4486, allocations: 4 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001292/0.4488, allocations: 79.75 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.4489, allocations: 43.83 kB / 1.328 GB, free: 15.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.693e-05/0.4489, allocations: 12 kB / 1.328 GB, free: 15.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005888/0.4495, allocations: 271.7 kB / 1.328 GB, free: 14.8 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 9.671e-05/0.4496, allocations: 47.89 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.4497, allocations: 43.8 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006382/0.4503, allocations: 315 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.4503, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.655e-06/0.4503, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.352e-05/0.4504, allocations: 0 / 1.329 GB, free: 14.41 MB / 1.029 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.0008073/0.4512, allocations: 401.4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.4512, allocations: 12.03 kB / 1.329 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.4513, allocations: 16.84 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.4516, allocations: 154.3 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.4516, allocations: 12.38 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.4516, allocations: 8.375 kB / 1.329 GB, free: 13.76 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002561/0.4519, allocations: 100.7 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4519, allocations: 192 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.764e-05/0.4519, allocations: 7.938 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.4519, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.452, allocations: 47.91 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.4524, allocations: 179 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001987/0.4526, allocations: 103.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.4527, allocations: 66.67 kB / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4527, allocations: 0 / 1.33 GB, free: 13.18 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000397/0.4531, allocations: 139.5 kB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.472e-06/0.4531, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0005291/0.4536, allocations: 222.1 kB / 1.33 GB, free: 12.8 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.4537, allocations: 118.8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/0.4539, allocations: 147.7 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.951e-05/0.454, allocations: 37.7 kB / 1.331 GB, free: 12.46 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.999e-05/0.454, allocations: 96.64 kB / 1.331 GB, free: 12.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 7.548e-05/0.4541, allocations: 47.64 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/0.4543, allocations: 65.69 kB / 1.331 GB, free: 12.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002445/0.4545, allocations: 330.8 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4546, allocations: 48.27 kB / 1.331 GB, free: 11.86 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005502/0.4552, allocations: 463.2 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/0.4554, allocations: 138.5 kB / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.534e-06/0.4554, allocations: 0 / 1.332 GB, free: 11.15 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003562/0.4558, allocations: 205.3 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4558, allocations: 7.938 kB / 1.332 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.4558, allocations: 7.984 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.16e-05/0.4558, allocations: 4 kB / 1.332 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.56e-05/0.4559, allocations: 8 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.758e-06/0.4559, allocations: 8 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002562/0.4562, allocations: 47.8 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.4562, allocations: 8 kB / 1.332 GB, free: 10.86 MB / 1.029 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.0001573/0.4564, allocations: 140.9 kB / 1.332 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.4564, allocations: 15.89 kB / 1.332 GB, free: 10.69 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.991e-05/0.4564, allocations: 16.7 kB / 1.332 GB, free: 10.67 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.4564, allocations: 4 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.4565, allocations: 144 / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.981e-06/0.4565, allocations: 7.984 kB / 1.332 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001604/0.4566, allocations: 141.2 kB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.4566, allocations: 0 / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.274e-05/0.4567, allocations: 12 kB / 1.332 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.318e-06/0.4567, allocations: 7.938 kB / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.4567, allocations: 0 / 1.332 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.017e-06/0.4567, allocations: 7.938 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4567, allocations: 3.984 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003944/0.4571, allocations: 206.6 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.377e-05/0.4571, allocations: 15.84 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.914e-05/0.4571, allocations: 15.94 kB / 1.333 GB, free: 10.2 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.048e-05/0.4572, allocations: 7.984 kB / 1.333 GB, free: 10.19 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.899e-05/0.4573, allocations: 15.92 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.4573, allocations: 4 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.36e-05/0.4574, allocations: 112.4 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4574, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000404/0.4578, allocations: 99.8 kB / 1.333 GB, free: 9.965 MB / 1.029 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.0004022/0.4582, allocations: 199.2 kB / 1.333 GB, free: 9.762 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004338/0.4586, allocations: 212.9 kB / 1.333 GB, free: 9.535 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.4586, allocations: 4 kB / 1.333 GB, free: 9.531 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001945/0.4588, allocations: 47.92 kB / 1.333 GB, free: 9.484 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001974/0.459, allocations: 11.31 kB / 1.333 GB, free: 9.477 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000621/0.4596, allocations: 248.5 kB / 1.333 GB, free: 9.203 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.4598, allocations: 96.48 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.174e-05/0.4598, allocations: 8.984 kB / 1.334 GB, free: 9.074 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.4599, allocations: 15.42 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of SimCode: time 6.01e-07/0.4599, allocations: 8 kB / 1.334 GB, free: 9.055 MB / 1.029 GB Notification: Performance of Templates: time 0.009323/0.4692, allocations: 3.29 MB / 1.337 GB, free: 5.812 MB / 1.029 GB " [Timeout remaining time 300] 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: 9.840870145708323]