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.001939/0.001939, allocations: 106.2 kB / 16.41 MB, free: 6.457 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.002463/0.002463, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.607/1.607, allocations: 222.9 MB / 241 MB, free: 15.15 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.666/2.666, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001355, allocations: 68.11 kB / 1.019 GB, free: 9.441 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.065/1.067, allocations: 151.6 MB / 1.167 GB, free: 3.84 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003028/1.07, allocations: 1.489 MB / 1.169 GB, free: 2.344 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001255/1.071, allocations: 0.6967 MB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.793e-05/1.071, allocations: 0 / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 9.354e-05/1.071, allocations: 15.86 kB / 1.169 GB, free: 1.629 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.545e-05/1.071, allocations: 11.86 kB / 1.169 GB, free: 1.617 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/1.072, allocations: 343.2 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/1.073, allocations: 167.7 kB / 1.17 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 5.487e-05/1.073, allocations: 11.98 kB / 1.17 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/1.073, allocations: 75.81 kB / 1.17 GB, free: 1.035 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/1.073, allocations: 47.77 kB / 1.17 GB, free: 0.9883 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.737e-05/1.073, allocations: 12 kB / 1.17 GB, free: 0.9766 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000399/1.073, allocations: 247.8 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 7.96e-05/1.074, allocations: 43.88 kB / 1.17 GB, free: 0.6914 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.3e-05/1.074, allocations: 55.73 kB / 1.17 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0004943/1.074, allocations: 303.2 kB / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/1.074, allocations: 0 / 1.171 GB, free: 352 kB / 0.8887 GB Notification: Performance of FrontEnd: time 1.272e-06/1.074, allocations: 4 kB / 1.171 GB, free: 348 kB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.223e-06/1.074, allocations: 0 / 1.171 GB, free: 348 kB / 0.8887 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.0007071/1.075, allocations: 476.8 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/1.075, allocations: 8.922 kB / 1.171 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/1.075, allocations: 16.83 kB / 1.171 GB, free: 15.8 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002572/1.075, allocations: 218.4 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.393e-05/1.075, allocations: 12.38 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.098e-05/1.075, allocations: 8.375 kB / 1.171 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/1.076, allocations: 104.7 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.076, allocations: 192 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/1.076, allocations: 3.938 kB / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/1.076, allocations: 0 / 1.171 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/1.076, allocations: 47.97 kB / 1.172 GB, free: 15.36 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002808/1.076, allocations: 247.3 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/1.076, allocations: 107.8 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001006/1.076, allocations: 82.62 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.857e-06/1.076, allocations: 0 / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002668/1.077, allocations: 149.6 kB / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=21): time 1.643e-06/1.077, allocations: 0 / 1.172 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of matching and sorting (n=21): time 0.0004399/1.077, allocations: 210.2 kB / 1.172 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.876e-05/1.077, allocations: 114.8 kB / 1.172 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/1.077, allocations: 141.7 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.812e-05/1.077, allocations: 33.7 kB / 1.173 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.816e-05/1.077, allocations: 104.7 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 6.811e-05/1.077, allocations: 55.28 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.152e-05/1.077, allocations: 61.69 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001239/1.078, allocations: 326.8 kB / 1.173 GB, free: 13.58 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001054/1.078, allocations: 52.25 kB / 1.173 GB, free: 13.53 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002183/1.078, allocations: 188.3 kB / 1.173 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001924/1.078, allocations: 126.5 kB / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/1.078, allocations: 0 / 1.173 GB, free: 13.17 MB / 0.9044 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003118/1.078, allocations: 201.4 kB / 1.174 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/1.079, allocations: 14.28 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/1.079, allocations: 4.078 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.908e-05/1.079, allocations: 4 kB / 1.174 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.897e-05/1.079, allocations: 23.92 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.079, allocations: 3.984 kB / 1.174 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/1.079, allocations: 43.8 kB / 1.174 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/1.079, allocations: 8 kB / 1.174 GB, free: 12.87 MB / 0.9044 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.0001372/1.079, allocations: 136 kB / 1.174 GB, free: 12.73 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/1.079, allocations: 23.73 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.022e-05/1.079, allocations: 16.72 kB / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/1.079, allocations: 0 / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/1.079, allocations: 0 / 1.174 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/1.079, allocations: 4 kB / 1.174 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001758/1.079, allocations: 205.5 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/1.079, allocations: 0 / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/1.079, allocations: 8 kB / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-06/1.079, allocations: 0 / 1.174 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/1.079, allocations: 7.984 kB / 1.174 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/1.079, allocations: 3.938 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/1.079, allocations: 8 kB / 1.174 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002949/1.08, allocations: 210.5 kB / 1.174 GB, free: 12.18 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.842e-05/1.08, allocations: 92.86 kB / 1.174 GB, free: 12.07 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/1.08, allocations: 11.98 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.509e-05/1.08, allocations: 7.938 kB / 1.174 GB, free: 12.05 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.431e-05/1.08, allocations: 16.12 kB / 1.174 GB, free: 12.03 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.876e-06/1.08, allocations: 7.938 kB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 7.678e-05/1.08, allocations: 107.2 kB / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.1e-07/1.08, allocations: 0 / 1.175 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003676/1.08, allocations: 99.92 kB / 1.175 GB, free: 11.82 MB / 0.9044 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.0003563/1.081, allocations: 207.9 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.000344/1.081, allocations: 217 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/1.081, allocations: 0 / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.287e-05/1.081, allocations: 63.92 kB / 1.175 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001791/1.081, allocations: 8 kB / 1.175 GB, free: 11.31 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000516/1.082, allocations: 270.3 kB / 1.175 GB, free: 11 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/1.082, allocations: 0.7045 MB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.55e-05/1.082, allocations: 19.44 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of SimCode: time 3.91e-07/1.082, allocations: 4 kB / 1.176 GB, free: 10.25 MB / 0.9044 GB Notification: Performance of Templates: time 0.006219/1.089, allocations: 3.12 MB / 1.179 GB, free: 7.148 MB / 0.9044 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=480 -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