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.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.001442/0.001442, allocations: 80.41 kB / 20.23 MB, free: 4.203 MB / 18.57 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.001573/0.001573, allocations: 161.7 kB / 23.54 MB, free: 0.8945 MB / 18.57 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.562/1.562, allocations: 177.1 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.92/2.92, allocations: 377.8 MB / 0.6232 GB, free: 8.547 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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 2.064e-06/2.064e-06, allocations: 0 / 0.8108 GB, free: 2.141 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 4.206e-05/4.412e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.133 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003811/0.003855, allocations: 1.486 MB / 0.8122 GB, free: 0.6523 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00149/0.005346, allocations: 0.6201 MB / 0.8128 GB, free: 32 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.287e-05/0.005428, allocations: 5.062 kB / 0.8128 GB, free: 28 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.005531, allocations: 11.86 kB / 0.8128 GB, free: 16 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001032/0.005634, allocations: 15.84 kB / 0.8129 GB, free: 0 / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.001368/0.007003, allocations: 357 kB / 0.8132 GB, free: 15.65 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0007006/0.007703, allocations: 175.6 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.036e-05/0.007754, allocations: 5.094 kB / 0.8134 GB, free: 15.48 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001944/0.007948, allocations: 91.86 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001183/0.008066, allocations: 44.56 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 5.57e-05/0.008122, allocations: 12 kB / 0.8135 GB, free: 15.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000658/0.00878, allocations: 284.4 kB / 0.8138 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.625e-05/0.008876, allocations: 39.91 kB / 0.8138 GB, free: 15.02 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 9.796e-05/0.008974, allocations: 44.55 kB / 0.8139 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0007562/0.00973, allocations: 355.1 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.009734, allocations: 4.969 kB / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.172e-06/0.009736, allocations: 0 / 0.8142 GB, free: 14.62 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.009742, allocations: 0 / 0.8142 GB, free: 14.62 MB / 0.7761 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.0009338/0.01068, allocations: 409.9 kB / 0.8146 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.01072, allocations: 8.906 kB / 0.8146 GB, free: 14.18 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001087/0.01083, allocations: 24.88 kB / 0.8146 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.01111, allocations: 150.8 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.01113, allocations: 4.375 kB / 0.8148 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.555e-05/0.01117, allocations: 12.38 kB / 0.8148 GB, free: 13.97 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002558/0.01143, allocations: 100.3 kB / 0.8149 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.01144, allocations: 8.109 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.01145, allocations: 384 / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.01146, allocations: 4.375 kB / 0.8149 GB, free: 13.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.01158, allocations: 43.91 kB / 0.8149 GB, free: 13.8 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000312/0.01189, allocations: 163.1 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001977/0.01209, allocations: 104.9 kB / 0.8152 GB, free: 13.48 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.01222, allocations: 71.69 kB / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 1.9e-05/0.01224, allocations: 4 kB / 0.8153 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003876/0.01263, allocations: 135.6 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.313e-06/0.01263, allocations: 0.9062 kB / 0.8154 GB, free: 13.25 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0005663/0.0132, allocations: 229.3 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00013/0.01333, allocations: 116.5 kB / 0.8157 GB, free: 12.88 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001904/0.01352, allocations: 143.8 kB / 0.8159 GB, free: 12.73 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 5.532e-05/0.01357, allocations: 37.7 kB / 0.8159 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 9.483e-05/0.01367, allocations: 96.62 kB / 0.816 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 9.686e-05/0.01377, allocations: 61.05 kB / 0.8161 GB, free: 12.53 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001311/0.0139, allocations: 65.69 kB / 0.8161 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01409, allocations: 322.8 kB / 0.8164 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001185/0.01421, allocations: 56.19 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005147/0.01472, allocations: 471.8 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.01498, allocations: 131 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.01498, allocations: 1.531 kB / 0.8171 GB, free: 11.37 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004232/0.01541, allocations: 209.6 kB / 0.8173 GB, free: 11.16 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/0.01543, allocations: 8 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.166e-05/0.01546, allocations: 4 kB / 0.8173 GB, free: 11.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/0.01549, allocations: 8.422 kB / 0.8173 GB, free: 11.14 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.0156, allocations: 12.84 kB / 0.8173 GB, free: 11.13 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.01561, allocations: 3.984 kB / 0.8173 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002624/0.01587, allocations: 57.8 kB / 0.8173 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.01589, allocations: 4 kB / 0.8174 GB, free: 11.07 MB / 0.7761 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.0001728/0.01606, allocations: 137.1 kB / 0.8175 GB, free: 10.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.686e-05/0.01611, allocations: 19.89 kB / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.173e-05/0.01616, allocations: 17.47 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.371e-06/0.01617, allocations: 3.938 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.01618, allocations: 0.5625 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.01618, allocations: 5.125 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002024/0.01639, allocations: 141.2 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.01639, allocations: 0 / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.114e-05/0.01645, allocations: 16.45 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.131e-06/0.01645, allocations: 4 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.01647, allocations: 5.219 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01647, allocations: 4 kB / 0.8177 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.01648, allocations: 3.938 kB / 0.8177 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.01685, allocations: 215.4 kB / 0.8179 GB, free: 10.45 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.01687, allocations: 11.91 kB / 0.8179 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/0.0169, allocations: 4.938 kB / 0.8179 GB, free: 10.44 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.872e-05/0.01696, allocations: 4 kB / 0.8179 GB, free: 10.43 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.151e-05/0.01703, allocations: 11.98 kB / 0.8179 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.414e-05/0.01706, allocations: 9.328 kB / 0.8179 GB, free: 10.41 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 9.928e-05/0.01716, allocations: 103.3 kB / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01716, allocations: 0 / 0.818 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0004579/0.01761, allocations: 104.5 kB / 0.8181 GB, free: 10.21 MB / 0.7761 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.0005038/0.01812, allocations: 225.7 kB / 0.8184 GB, free: 9.984 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004247/0.01854, allocations: 208.4 kB / 0.8186 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.01855, allocations: 0 / 0.8186 GB, free: 9.766 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.01865, allocations: 52.16 kB / 0.8186 GB, free: 9.715 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002045/0.01885, allocations: 12.69 kB / 0.8186 GB, free: 9.703 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006522/0.01951, allocations: 250.4 kB / 0.8189 GB, free: 9.426 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001172/0.01962, allocations: 92.25 kB / 0.8189 GB, free: 9.32 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 6.112e-05/0.01968, allocations: 12.97 kB / 0.819 GB, free: 9.305 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.469e-05/0.01973, allocations: 16.5 kB / 0.819 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of SimCode: time 1.232e-06/0.01973, allocations: 0 / 0.819 GB, free: 9.289 MB / 0.7761 GB Notification: Performance of Templates: time 0.008702/0.02843, allocations: 3.264 MB / 0.8222 GB, free: 6.105 MB / 0.7761 GB " [Timeout remaining time 300] 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: 8.154414702090435]