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.0008661/0.0008661, allocations: 80.39 kB / 21.47 MB, free: 3.023 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.0009976/0.0009976, allocations: 167.5 kB / 24.87 MB, free: 9.273 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.021/1.021, allocations: 177.1 MB / 205.3 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.908/1.908, allocations: 377.9 MB / 0.6247 GB, free: 8.43 MB / 0.5886 GB " [Timeout remaining time 178] 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 1.542e-06/1.542e-06, allocations: 0 / 0.8127 GB, free: 384 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.473e-05/2.627e-05, allocations: 3.625 kB / 0.8127 GB, free: 380 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002953/0.00298, allocations: 1.532 MB / 0.8142 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007348/0.003714, allocations: 0.6527 MB / 0.8149 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.863e-05/0.003753, allocations: 5.188 kB / 0.8149 GB, free: 14.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 7.565e-05/0.003829, allocations: 11.86 kB / 0.8149 GB, free: 14.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.003894, allocations: 19.84 kB / 0.8149 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007472/0.004641, allocations: 357.4 kB / 0.8152 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.004837, allocations: 179.6 kB / 0.8154 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.69e-05/0.004873, allocations: 4 kB / 0.8154 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 9.238e-05/0.004966, allocations: 97.38 kB / 0.8155 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 6.45e-05/0.00503, allocations: 39.89 kB / 0.8156 GB, free: 13.5 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.005053, allocations: 12 kB / 0.8156 GB, free: 13.49 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003407/0.005394, allocations: 280.9 kB / 0.8158 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.365e-05/0.005447, allocations: 39.89 kB / 0.8159 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 5.321e-05/0.0055, allocations: 39.91 kB / 0.8159 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0003413/0.005842, allocations: 327.2 kB / 0.8162 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.005845, allocations: 0.5312 kB / 0.8162 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005846, allocations: 0 / 0.8162 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.00585, allocations: 4.844 kB / 0.8162 GB, free: 12.81 MB / 0.7292 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.0004359/0.006286, allocations: 0.5 MB / 0.8167 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.955e-05/0.006315, allocations: 8.031 kB / 0.8167 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.19e-05/0.006357, allocations: 17.41 kB / 0.8167 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.006505, allocations: 159.6 kB / 0.8169 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.006515, allocations: 4.375 kB / 0.8169 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.006533, allocations: 12.38 kB / 0.8169 GB, free: 12.05 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.389e-05/0.006627, allocations: 93.2 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.006633, allocations: 1.344 kB / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.805e-06/0.006641, allocations: 384 / 0.817 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.006646, allocations: 4.375 kB / 0.817 GB, free: 11.94 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.74e-05/0.006684, allocations: 28.69 kB / 0.817 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001553/0.006839, allocations: 160.6 kB / 0.8172 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.522e-05/0.006924, allocations: 110 kB / 0.8173 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.236e-05/0.006967, allocations: 51.86 kB / 0.8173 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.711e-06/0.006972, allocations: 0 / 0.8173 GB, free: 11.52 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001265/0.007099, allocations: 141.1 kB / 0.8175 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 9.52e-07/0.0071, allocations: 3.938 kB / 0.8175 GB, free: 11.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0002214/0.007321, allocations: 150.6 kB / 0.8176 GB, free: 11.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/0.007373, allocations: 126.7 kB / 0.8177 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.319e-05/0.007456, allocations: 191.4 kB / 0.8179 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.214e-05/0.007478, allocations: 36.95 kB / 0.818 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.007531, allocations: 147.3 kB / 0.8181 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.007578, allocations: 63.5 kB / 0.8182 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.369e-05/0.007642, allocations: 71.31 kB / 0.8182 GB, free: 10.52 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.007766, allocations: 0.4962 MB / 0.8187 GB, free: 10.01 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.048e-05/0.007796, allocations: 20.27 kB / 0.8187 GB, free: 9.984 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000193/0.007989, allocations: 446.8 kB / 0.8192 GB, free: 9.422 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.431e-05/0.008083, allocations: 94.91 kB / 0.8192 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.008085, allocations: 0 / 0.8192 GB, free: 9.316 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000148/0.008233, allocations: 154 kB / 0.8194 GB, free: 9.16 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.008245, allocations: 5.938 kB / 0.8194 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.008264, allocations: 7.984 kB / 0.8194 GB, free: 9.148 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.008276, allocations: 8 kB / 0.8194 GB, free: 9.141 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.327e-05/0.008359, allocations: 31.92 kB / 0.8194 GB, free: 9.109 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.008364, allocations: 3.938 kB / 0.8194 GB, free: 9.105 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.945e-05/0.008464, allocations: 33.34 kB / 0.8195 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.904e-06/0.008471, allocations: 7.938 kB / 0.8195 GB, free: 9.066 MB / 0.7292 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 9.353e-05/0.008565, allocations: 180.3 kB / 0.8197 GB, free: 8.879 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.907e-05/0.008584, allocations: 15.91 kB / 0.8197 GB, free: 8.863 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.008606, allocations: 16.77 kB / 0.8197 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.008609, allocations: 4.531 kB / 0.8197 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.008612, allocations: 4.844 kB / 0.8197 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.008616, allocations: 0 / 0.8197 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.743e-05/0.008713, allocations: 129.1 kB / 0.8198 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.008715, allocations: 0.8438 kB / 0.8198 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.008743, allocations: 12 kB / 0.8198 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.008745, allocations: 5.281 kB / 0.8198 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.46e-06/0.00875, allocations: 0 / 0.8198 GB, free: 8.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.008753, allocations: 4 kB / 0.8198 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.008754, allocations: 0.75 kB / 0.8198 GB, free: 8.668 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001518/0.008906, allocations: 181.5 kB / 0.82 GB, free: 8.461 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.214e-05/0.008918, allocations: 20.72 kB / 0.82 GB, free: 8.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.592e-05/0.008934, allocations: 7.984 kB / 0.82 GB, free: 8.434 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.819e-05/0.008963, allocations: 7.938 kB / 0.8201 GB, free: 8.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.094e-05/0.008993, allocations: 13.55 kB / 0.8201 GB, free: 8.414 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.152e-06/0.009, allocations: 4 kB / 0.8201 GB, free: 8.41 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.294e-05/0.009043, allocations: 141.2 kB / 0.8202 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.009043, allocations: 0 / 0.8202 GB, free: 8.273 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002584/0.009301, allocations: 106.8 kB / 0.8203 GB, free: 8.172 MB / 0.7292 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.0002174/0.009518, allocations: 223 kB / 0.8205 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001822/0.009701, allocations: 174.2 kB / 0.8207 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.009703, allocations: 4 kB / 0.8207 GB, free: 7.75 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 4.071e-05/0.009743, allocations: 43.59 kB / 0.8207 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001224/0.009866, allocations: 16.8 kB / 0.8207 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002902/0.01016, allocations: 237.6 kB / 0.821 GB, free: 7.422 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.664e-05/0.01019, allocations: 68.97 kB / 0.821 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.113e-05/0.01022, allocations: 12.97 kB / 0.821 GB, free: 7.32 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.254e-05/0.01031, allocations: 98.19 kB / 0.8211 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of SimCode: time 8.41e-07/0.01031, allocations: 1.125 kB / 0.8211 GB, free: 7.223 MB / 0.7292 GB Notification: Performance of Templates: time 0.004975/0.01528, allocations: 3.585 MB / 0.8246 GB, free: 3.715 MB / 0.7292 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.21642368612811]