Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.652/1.652, allocations: 292.6 MB / 307.5 MB, free: 5.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001389/0.001389, allocations: 185 kB / 377.1 MB, free: 1.504 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.641/1.641, allocations: 205.4 MB / 0.6366 GB, free: 8.605 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001052/0.001052, allocations: 87.7 kB / 0.7509 GB, free: 63.04 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003543/0.0003544, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2555, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7009/0.9565, allocations: 139.4 MB / 1.125 GB, free: 35.14 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.9567, allocations: 78.09 kB / 1.125 GB, free: 35.08 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01314/0.9699, allocations: 5.012 MB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.943e-06/0.9699, allocations: 1.031 kB / 1.129 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 9.318e-06/0.97, allocations: 0 / 1.129 GB, free: 31.54 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.0005485/0.9705, allocations: 465.3 kB / 1.13 GB, free: 31.05 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.9706, allocations: 12.03 kB / 1.13 GB, free: 31.04 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.289e-05/0.9706, allocations: 41.83 kB / 1.13 GB, free: 31 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.964e-05/0.9707, allocations: 14.47 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002795/0.971, allocations: 221.1 kB / 1.13 GB, free: 30.74 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.607e-05/0.971, allocations: 12 kB / 1.13 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.62e-05/0.971, allocations: 11.44 kB / 1.13 GB, free: 30.72 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.9712, allocations: 102.2 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.9712, allocations: 0.6875 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.9713, allocations: 8 kB / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.9713, allocations: 0 / 1.13 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.9714, allocations: 47.95 kB / 1.13 GB, free: 30.58 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.9716, allocations: 253.1 kB / 1.131 GB, free: 30.31 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001224/0.9717, allocations: 110.8 kB / 1.131 GB, free: 30.19 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.288e-05/0.9717, allocations: 8 kB / 1.131 GB, free: 30.18 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001736/0.9719, allocations: 131.1 kB / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.252e-06/0.9719, allocations: 0 / 1.131 GB, free: 30.05 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0004483/0.9724, allocations: 464.4 kB / 1.131 GB, free: 29.57 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.9724, allocations: 119.6 kB / 1.131 GB, free: 29.43 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.9725, allocations: 137.6 kB / 1.132 GB, free: 29.3 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 2.952e-05/0.9726, allocations: 33.7 kB / 1.132 GB, free: 29.26 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.915e-05/0.9726, allocations: 96.7 kB / 1.132 GB, free: 29.16 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.71e-05/0.9727, allocations: 61.81 kB / 1.132 GB, free: 29.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-06/0.9727, allocations: 8 kB / 1.132 GB, free: 29.1 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.07e-05/0.9727, allocations: 326.2 kB / 1.132 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.052e-05/0.9728, allocations: 54.08 kB / 1.132 GB, free: 28.73 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.973, allocations: 199.9 kB / 1.132 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001185/0.9731, allocations: 73.75 kB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/0.9731, allocations: 3.953 kB / 1.132 GB, free: 28.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002581/0.9734, allocations: 197.7 kB / 1.133 GB, free: 28.25 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.9734, allocations: 8 kB / 1.133 GB, free: 28.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.628e-05/0.9734, allocations: 7.922 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.9735, allocations: 0 / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.001e-05/0.9736, allocations: 12 kB / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.9736, allocations: 0 / 1.133 GB, free: 28.22 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001885/0.9738, allocations: 58.09 kB / 1.133 GB, free: 28.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.899e-05/0.9738, allocations: 13.03 kB / 1.133 GB, free: 28.17 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.811e-05/0.9739, allocations: 139.4 kB / 1.133 GB, free: 28.03 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.038e-05/0.9739, allocations: 15.86 kB / 1.133 GB, free: 28.01 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.974, allocations: 12.72 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.974, allocations: 8 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.974, allocations: 0.875 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/0.974, allocations: 0.9375 kB / 1.133 GB, free: 28 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.9741, allocations: 210.9 kB / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.9741, allocations: 4 kB / 1.133 GB, free: 27.76 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.9742, allocations: 15.89 kB / 1.133 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.9742, allocations: 0 / 1.133 GB, free: 27.74 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.9742, allocations: 13.47 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.9742, allocations: 0 / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9742, allocations: 0.5469 kB / 1.133 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002513/0.9745, allocations: 236.6 kB / 1.133 GB, free: 27.49 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.9745, allocations: 93.48 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/0.9746, allocations: 7.328 kB / 1.133 GB, free: 27.38 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.9746, allocations: 8 kB / 1.133 GB, free: 27.37 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.9747, allocations: 15.27 kB / 1.133 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.9747, allocations: 15.88 kB / 1.133 GB, free: 27.34 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.627e-05/0.9748, allocations: 104.6 kB / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9748, allocations: 0 / 1.134 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000377/0.9751, allocations: 118.7 kB / 1.134 GB, free: 27.14 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006231/0.9758, allocations: 1.024 MB / 1.135 GB, free: 26.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.976, allocations: 222.5 kB / 1.135 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.9761, allocations: 0 / 1.135 GB, free: 25.88 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.924e-05/0.9761, allocations: 51.5 kB / 1.135 GB, free: 25.83 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001234/0.9763, allocations: 16.84 kB / 1.135 GB, free: 25.81 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.9774, allocations: 1.163 MB / 1.136 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001211/0.9775, allocations: 0.7142 MB / 1.137 GB, free: 23.94 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.613e-05/0.9776, allocations: 12.27 kB / 1.137 GB, free: 23.93 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.382e-05/0.9776, allocations: 36.22 kB / 1.137 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of SimCode: time 3.1e-07/0.9776, allocations: 4 kB / 1.137 GB, free: 23.9 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01468/0.9923, allocations: 4.197 MB / 1.141 GB, free: 21.56 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.9925, allocations: 203.7 kB / 1.141 GB, free: 21.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.617, allocations: 0 / 1.141 GB, free: 21.32 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)