Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_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.001536/0.001536, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00197/0.00197, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.521/1.521, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.179/3.179, allocations: 472.6 MB / 0.7447 GB, free: 4.953 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002638/0.002638, allocations: 63.45 kB / 0.9113 GB, free: 33.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5539/0.5566, allocations: 159.9 MB / 1.067 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00361/0.5602, allocations: 1.545 MB / 1.069 GB, free: 9.41 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001489/0.5618, allocations: 0.7321 MB / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.5619, allocations: 0 / 1.07 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001419/0.5621, allocations: 11.92 kB / 1.07 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.64e-05/0.5622, allocations: 11.91 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.5632, allocations: 291 kB / 1.07 GB, free: 8.371 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0002866/0.5635, allocations: 167.6 kB / 1.07 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.446e-05/0.5636, allocations: 4 kB / 1.07 GB, free: 8.203 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.659e-05/0.5637, allocations: 63.83 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.45e-05/0.5638, allocations: 47.81 kB / 1.07 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.942e-05/0.5638, allocations: 8 kB / 1.07 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000407/0.5642, allocations: 235.7 kB / 1.071 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.5643, allocations: 35.91 kB / 1.071 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.5644, allocations: 67.64 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0004479/0.5649, allocations: 295.6 kB / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.5649, allocations: 0 / 1.071 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.372e-06/0.5649, allocations: 3.938 kB / 1.071 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.5649, allocations: 0 / 1.071 GB, free: 7.461 MB / 0.8262 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.0007548/0.5657, allocations: 474.8 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.5658, allocations: 8.031 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.517e-05/0.5658, allocations: 12.84 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002874/0.5661, allocations: 217.7 kB / 1.072 GB, free: 6.676 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.5661, allocations: 12.31 kB / 1.072 GB, free: 6.664 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.421e-05/0.5662, allocations: 8.375 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002326/0.5664, allocations: 92.8 kB / 1.072 GB, free: 6.551 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5664, allocations: 4.188 kB / 1.072 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.726e-05/0.5665, allocations: 7.938 kB / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.5665, allocations: 0 / 1.072 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001081/0.5666, allocations: 51.89 kB / 1.072 GB, free: 6.488 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003358/0.5669, allocations: 247.4 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001755/0.5671, allocations: 111.9 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/0.5673, allocations: 70.61 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.32e-05/0.5673, allocations: 4 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003509/0.5676, allocations: 147.2 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.5676, allocations: 0 / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.0004827/0.5681, allocations: 205.5 kB / 1.073 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.5682, allocations: 122.8 kB / 1.073 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001346/0.5684, allocations: 143.1 kB / 1.073 GB, free: 5.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.508e-05/0.5684, allocations: 41.7 kB / 1.073 GB, free: 5.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.349e-05/0.5685, allocations: 92.7 kB / 1.073 GB, free: 5.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.591e-05/0.5686, allocations: 59.27 kB / 1.073 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.5687, allocations: 61.7 kB / 1.073 GB, free: 5.043 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001621/0.5689, allocations: 326.8 kB / 1.073 GB, free: 4.715 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.713e-05/0.569, allocations: 52.2 kB / 1.073 GB, free: 4.66 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002328/0.5692, allocations: 183.3 kB / 1.074 GB, free: 4.441 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002125/0.5695, allocations: 130.5 kB / 1.074 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5695, allocations: 4 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003325/0.5698, allocations: 206.1 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.48e-05/0.5698, allocations: 5.875 kB / 1.074 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.188e-05/0.5699, allocations: 4 kB / 1.074 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.236e-05/0.5699, allocations: 7.984 kB / 1.074 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/0.57, allocations: 11.94 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.32e-05/0.57, allocations: 4 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002322/0.5703, allocations: 47.73 kB / 1.074 GB, free: 4.016 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.977e-05/0.5703, allocations: 12 kB / 1.074 GB, free: 4.004 MB / 0.8262 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.0001566/0.5705, allocations: 136.1 kB / 1.074 GB, free: 3.863 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.834e-05/0.5705, allocations: 23.83 kB / 1.074 GB, free: 3.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.5706, allocations: 16.7 kB / 1.074 GB, free: 3.82 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5706, allocations: 4 kB / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.5706, allocations: 0 / 1.074 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5706, allocations: 3.984 kB / 1.074 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002035/0.5708, allocations: 205.5 kB / 1.074 GB, free: 3.562 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.5708, allocations: 4 kB / 1.074 GB, free: 3.559 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.813e-05/0.5709, allocations: 15.98 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.5709, allocations: 0 / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.5709, allocations: 4 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5709, allocations: 0 / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.5709, allocations: 4 kB / 1.074 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003307/0.5712, allocations: 228.2 kB / 1.075 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.178e-05/0.5713, allocations: 88.92 kB / 1.075 GB, free: 3.184 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.773e-05/0.5714, allocations: 8 kB / 1.075 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.5714, allocations: 3.938 kB / 1.075 GB, free: 3.172 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.099e-05/0.5715, allocations: 15.98 kB / 1.075 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.5715, allocations: 7.984 kB / 1.075 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.5716, allocations: 103.3 kB / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5716, allocations: 0 / 1.075 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0004121/0.572, allocations: 103.9 kB / 1.075 GB, free: 2.945 MB / 0.8262 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.0003535/0.5724, allocations: 199.1 kB / 1.075 GB, free: 2.742 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004953/0.5729, allocations: 220.9 kB / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.5729, allocations: 0 / 1.075 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001046/0.573, allocations: 55.92 kB / 1.075 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/0.5732, allocations: 14.05 kB / 1.075 GB, free: 2.441 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005606/0.5738, allocations: 278.5 kB / 1.076 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003928/0.5742, allocations: 0.7048 MB / 1.076 GB, free: 1.41 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.847e-05/0.5743, allocations: 12.88 kB / 1.076 GB, free: 1.398 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.292e-05/0.5743, allocations: 19.44 kB / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.5743, allocations: 0 / 1.076 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of Templates: time 0.007231/0.5815, allocations: 2.95 MB / 1.079 GB, free: 14.46 MB / 0.8419 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (rm -f Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & ./Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)