Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001623/0.001623, allocations: 102 kB / 16.27 MB, free: 5.902 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001494, allocations: 188.7 kB / 17.2 MB, free: 5.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.534/1.534, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.743/2.743, allocations: 437.1 MB / 0.711 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001884/0.001884, allocations: 67.61 kB / 0.8699 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3572/0.3591, allocations: 151.6 MB / 1.018 GB, free: 10.64 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00288/0.362, allocations: 1.476 MB / 1.019 GB, free: 9.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.3633, allocations: 0.6944 MB / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.476e-05/0.3633, allocations: 0 / 1.02 GB, free: 8.457 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 8.554e-05/0.3634, allocations: 7.875 kB / 1.02 GB, free: 8.449 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 5.764e-05/0.3635, allocations: 19.84 kB / 1.02 GB, free: 8.43 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009793/0.3645, allocations: 336.7 kB / 1.02 GB, free: 8.105 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002345/0.3647, allocations: 171.6 kB / 1.021 GB, free: 7.938 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.768e-05/0.3648, allocations: 15.97 kB / 1.021 GB, free: 7.922 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.535e-05/0.3649, allocations: 75.81 kB / 1.021 GB, free: 7.848 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.701e-05/0.365, allocations: 47.81 kB / 1.021 GB, free: 7.801 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.742e-05/0.365, allocations: 12 kB / 1.021 GB, free: 7.789 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00037/0.3654, allocations: 247.8 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.392e-05/0.3655, allocations: 39.89 kB / 1.021 GB, free: 7.508 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 8.76e-05/0.3656, allocations: 63.72 kB / 1.021 GB, free: 7.445 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0004448/0.366, allocations: 295.6 kB / 1.021 GB, free: 7.156 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.366, allocations: 3.984 kB / 1.021 GB, free: 7.152 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3661, allocations: 3.938 kB / 1.021 GB, free: 7.148 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3661, allocations: 0 / 1.021 GB, free: 7.148 MB / 0.795 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.0006425/0.3667, allocations: 478.9 kB / 1.022 GB, free: 6.629 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3667, allocations: 12.92 kB / 1.022 GB, free: 6.617 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.706e-05/0.3668, allocations: 20.75 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.3671, allocations: 212.1 kB / 1.022 GB, free: 6.352 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3671, allocations: 4.375 kB / 1.022 GB, free: 6.348 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.3672, allocations: 12.38 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001781/0.3674, allocations: 96.73 kB / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3674, allocations: 192 / 1.022 GB, free: 6.227 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.607e-05/0.3674, allocations: 7.938 kB / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3674, allocations: 0 / 1.022 GB, free: 6.219 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.3675, allocations: 47.97 kB / 1.022 GB, free: 6.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003194/0.3679, allocations: 247.4 kB / 1.022 GB, free: 5.875 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.368, allocations: 107.9 kB / 1.023 GB, free: 5.742 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001162/0.3681, allocations: 82.48 kB / 1.023 GB, free: 5.652 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 8.176e-06/0.3682, allocations: 4 kB / 1.023 GB, free: 5.648 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002748/0.3684, allocations: 135.5 kB / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.3684, allocations: 0 / 1.023 GB, free: 5.496 MB / 0.795 GB Notification: Performance of matching and sorting (n=21): time 0.0004221/0.3689, allocations: 225.3 kB / 1.023 GB, free: 5.27 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.092e-05/0.369, allocations: 118.8 kB / 1.023 GB, free: 5.129 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001382/0.3691, allocations: 144.3 kB / 1.023 GB, free: 4.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.3692, allocations: 37.7 kB / 1.023 GB, free: 4.938 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.357e-05/0.3692, allocations: 92.7 kB / 1.023 GB, free: 4.84 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 6.768e-05/0.3693, allocations: 63.19 kB / 1.023 GB, free: 4.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.547e-05/0.3694, allocations: 53.7 kB / 1.023 GB, free: 4.719 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001689/0.3696, allocations: 330.8 kB / 1.024 GB, free: 4.387 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.3697, allocations: 60.06 kB / 1.024 GB, free: 4.324 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002441/0.37, allocations: 185 kB / 1.024 GB, free: 4.102 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002857/0.3703, allocations: 126.5 kB / 1.024 GB, free: 3.969 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.3703, allocations: 4 kB / 1.024 GB, free: 3.965 MB / 0.795 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003188/0.3706, allocations: 205.3 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.3706, allocations: 4 kB / 1.024 GB, free: 3.754 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/0.3706, allocations: 4 kB / 1.024 GB, free: 3.75 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.3707, allocations: 11.92 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.088e-05/0.3707, allocations: 12 kB / 1.024 GB, free: 3.727 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.602e-06/0.3708, allocations: 4 kB / 1.024 GB, free: 3.723 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.371, allocations: 43.8 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.371, allocations: 8 kB / 1.024 GB, free: 3.672 MB / 0.795 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.0001998/0.3712, allocations: 144 kB / 1.025 GB, free: 3.523 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.3712, allocations: 11.84 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.3713, allocations: 12.72 kB / 1.025 GB, free: 3.496 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3713, allocations: 4 kB / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3713, allocations: 0 / 1.025 GB, free: 3.492 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3713, allocations: 3.984 kB / 1.025 GB, free: 3.488 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.3715, allocations: 209.4 kB / 1.025 GB, free: 3.234 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-05/0.3715, allocations: 4 kB / 1.025 GB, free: 3.23 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.159e-05/0.3716, allocations: 19.98 kB / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3716, allocations: 0 / 1.025 GB, free: 3.211 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.3716, allocations: 4 kB / 1.025 GB, free: 3.207 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.48e-06/0.3716, allocations: 7.938 kB / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3716, allocations: 0 / 1.025 GB, free: 3.199 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002967/0.3719, allocations: 214.5 kB / 1.025 GB, free: 2.965 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 6.109e-05/0.372, allocations: 89.02 kB / 1.025 GB, free: 2.859 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.372, allocations: 4 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.215e-05/0.3721, allocations: 7.938 kB / 1.025 GB, free: 2.848 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.745e-05/0.3721, allocations: 7.984 kB / 1.025 GB, free: 2.84 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.3722, allocations: 15.94 kB / 1.025 GB, free: 2.824 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.176e-05/0.3722, allocations: 105.8 kB / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of sort global known variables: time 4.789e-06/0.3723, allocations: 0 / 1.025 GB, free: 2.723 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003626/0.3726, allocations: 107.9 kB / 1.025 GB, free: 2.617 MB / 0.795 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.0003225/0.373, allocations: 203.9 kB / 1.026 GB, free: 2.41 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0003461/0.3733, allocations: 217.1 kB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.3733, allocations: 0 / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.743e-05/0.3734, allocations: 63.91 kB / 1.026 GB, free: 2.117 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001721/0.3736, allocations: 9.484 kB / 1.026 GB, free: 2.109 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.3741, allocations: 275.8 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004217/0.3745, allocations: 0.7086 MB / 1.027 GB, free: 1.07 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.083e-05/0.3746, allocations: 19.44 kB / 1.027 GB, free: 1.055 MB / 0.795 GB Notification: Performance of SimCode: time 2.7e-07/0.3746, allocations: 4 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of Templates: time 0.005532/0.3801, allocations: 3.108 MB / 1.03 GB, free: 13.97 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches