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.0009562/0.0009562, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001011/0.001011, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.011/1.011, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] 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 1.915/1.915, allocations: 377.9 MB / 0.624 GB, free: 8.402 MB / 0.5886 GB " [Timeout remaining time 177] 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.375e-06/2.375e-06, allocations: 0 / 0.812 GB, free: 1.449 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.018e-05/3.255e-05, allocations: 3.812 kB / 0.812 GB, free: 1.445 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.003149/0.003182, allocations: 1.525 MB / 0.8135 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.001109/0.004291, allocations: 0.6526 MB / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.78e-05/0.004349, allocations: 0 / 0.8141 GB, free: 15.28 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 8.781e-05/0.004436, allocations: 11.92 kB / 0.8141 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 7.822e-05/0.004515, allocations: 15.86 kB / 0.8141 GB, free: 15.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001143/0.005658, allocations: 360 kB / 0.8145 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000301/0.005959, allocations: 172.6 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.00601, allocations: 4 kB / 0.8146 GB, free: 14.73 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.006152, allocations: 96.77 kB / 0.8147 GB, free: 14.63 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 9.21e-05/0.006244, allocations: 39.88 kB / 0.8148 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 3.566e-05/0.006279, allocations: 13.03 kB / 0.8148 GB, free: 14.58 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005128/0.006792, allocations: 279.5 kB / 0.815 GB, free: 14.31 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 7.309e-05/0.006865, allocations: 41.23 kB / 0.8151 GB, free: 14.27 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 6.762e-05/0.006933, allocations: 39.91 kB / 0.8151 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005122/0.007445, allocations: 339 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.007448, allocations: 0 / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.333e-06/0.007449, allocations: 1.938 kB / 0.8154 GB, free: 13.9 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.007453, allocations: 0 / 0.8154 GB, free: 13.9 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.0006098/0.008063, allocations: 0.4958 MB / 0.8159 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.472e-05/0.008108, allocations: 12.03 kB / 0.8159 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.676e-05/0.008165, allocations: 22.53 kB / 0.816 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001898/0.008354, allocations: 148.4 kB / 0.8161 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.008369, allocations: 8.375 kB / 0.8161 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.529e-05/0.008395, allocations: 12.38 kB / 0.8161 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001414/0.008536, allocations: 91.55 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.008545, allocations: 1.094 kB / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.008554, allocations: 384 / 0.8162 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.772e-06/0.008561, allocations: 4.906 kB / 0.8162 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.323e-05/0.008614, allocations: 27.84 kB / 0.8162 GB, free: 13 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002106/0.008825, allocations: 169 kB / 0.8164 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001108/0.008936, allocations: 106.5 kB / 0.8165 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.745e-05/0.008993, allocations: 55.11 kB / 0.8166 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 9.759e-06/0.009003, allocations: 4.531 kB / 0.8166 GB, free: 12.59 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001632/0.009166, allocations: 128.6 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=21): time 1.102e-06/0.009167, allocations: 1.375 kB / 0.8167 GB, free: 12.44 MB / 0.7761 GB Notification: Performance of matching and sorting (n=21): time 0.0002883/0.009455, allocations: 162.1 kB / 0.8168 GB, free: 12.28 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.009514, allocations: 118.7 kB / 0.817 GB, free: 12.14 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001145/0.009629, allocations: 201.8 kB / 0.8171 GB, free: 11.92 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.37e-05/0.009662, allocations: 38.55 kB / 0.8172 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 7.152e-05/0.009734, allocations: 147.4 kB / 0.8173 GB, free: 11.73 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 6.207e-05/0.009796, allocations: 56.41 kB / 0.8174 GB, free: 11.68 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.767e-05/0.009884, allocations: 63.33 kB / 0.8174 GB, free: 11.61 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001541/0.01004, allocations: 0.5013 MB / 0.8179 GB, free: 11.09 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.608e-05/0.01008, allocations: 20.27 kB / 0.8179 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.01033, allocations: 451 kB / 0.8184 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.01045, allocations: 106.9 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.01045, allocations: 0.8438 kB / 0.8185 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002149/0.01067, allocations: 145.5 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.01068, allocations: 5.031 kB / 0.8186 GB, free: 10.24 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.276e-05/0.01071, allocations: 4 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.01072, allocations: 5.406 kB / 0.8186 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.01082, allocations: 31.92 kB / 0.8187 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.01083, allocations: 7.938 kB / 0.8187 GB, free: 10.19 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001278/0.01096, allocations: 35.88 kB / 0.8187 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.01097, allocations: 4 kB / 0.8187 GB, free: 10.16 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.0001133/0.01108, allocations: 182.1 kB / 0.8189 GB, free: 9.969 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.804e-05/0.01111, allocations: 19.91 kB / 0.8189 GB, free: 9.949 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.97e-05/0.01114, allocations: 12.78 kB / 0.8189 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.01114, allocations: 0 / 0.8189 GB, free: 9.938 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.01115, allocations: 3.938 kB / 0.8189 GB, free: 9.934 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.01115, allocations: 7.984 kB / 0.8189 GB, free: 9.926 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.01128, allocations: 129.1 kB / 0.8191 GB, free: 9.773 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.01128, allocations: 4 kB / 0.8191 GB, free: 9.77 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.672e-05/0.01132, allocations: 12.48 kB / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.766e-06/0.01132, allocations: 0 / 0.8191 GB, free: 9.758 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.01133, allocations: 5.25 kB / 0.8191 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.01133, allocations: 0 / 0.8191 GB, free: 9.754 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01133, allocations: 3.938 kB / 0.8191 GB, free: 9.75 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.01155, allocations: 194.2 kB / 0.8193 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.565e-05/0.01156, allocations: 15.83 kB / 0.8193 GB, free: 9.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.787e-05/0.01158, allocations: 4 kB / 0.8193 GB, free: 9.512 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.57e-05/0.01162, allocations: 5.484 kB / 0.8193 GB, free: 9.508 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.08e-05/0.01165, allocations: 15.95 kB / 0.8193 GB, free: 9.492 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.71e-06/0.01165, allocations: 4 kB / 0.8193 GB, free: 9.488 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 5.569e-05/0.01171, allocations: 141.6 kB / 0.8194 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01171, allocations: 0 / 0.8194 GB, free: 9.352 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003655/0.01208, allocations: 103.8 kB / 0.8195 GB, free: 9.25 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.0003041/0.01238, allocations: 226.2 kB / 0.8198 GB, free: 9.023 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0002283/0.01261, allocations: 177.2 kB / 0.8199 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01261, allocations: 0 / 0.8199 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.21e-05/0.01266, allocations: 35.61 kB / 0.82 GB, free: 8.789 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000172/0.01283, allocations: 19.98 kB / 0.82 GB, free: 8.77 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.01321, allocations: 225.8 kB / 0.8202 GB, free: 8.512 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.737e-05/0.01325, allocations: 74.59 kB / 0.8203 GB, free: 8.422 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.936e-05/0.0133, allocations: 12.97 kB / 0.8203 GB, free: 8.406 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001146/0.01342, allocations: 106.2 kB / 0.8204 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of SimCode: time 7.12e-07/0.01342, allocations: 0 / 0.8204 GB, free: 8.301 MB / 0.7761 GB Notification: Performance of Templates: time 0.006081/0.0195, allocations: 3.535 MB / 0.8238 GB, free: 4.836 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.241331880912185]