Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002119/0.002119, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002719/0.002719, allocations: 200.5 kB / 16.26 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.479/2.479, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.785/3.785, allocations: 461.9 MB / 0.7343 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002482/0.002482, allocations: 66.16 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4299/0.4325, allocations: 157.4 MB / 1.052 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.004148/0.4367, allocations: 1.536 MB / 1.054 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.4385, allocations: 0.709 MB / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.705e-05/0.4386, allocations: 0 / 1.055 GB, free: 6.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.4387, allocations: 3.984 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.838e-05/0.4389, allocations: 19.84 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001541/0.4404, allocations: 302.2 kB / 1.055 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003502/0.4408, allocations: 179.6 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 5.789e-05/0.4409, allocations: 7.984 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.441, allocations: 71.78 kB / 1.055 GB, free: 5.777 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.4411, allocations: 47.81 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 4.165e-05/0.4412, allocations: 12 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005686/0.4418, allocations: 247.8 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001016/0.4419, allocations: 43.89 kB / 1.055 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.442, allocations: 55.72 kB / 1.056 GB, free: 5.379 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005958/0.4426, allocations: 303.6 kB / 1.056 GB, free: 5.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.4427, allocations: 3.938 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4427, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4427, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 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.0008801/0.4436, allocations: 478.9 kB / 1.056 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.4436, allocations: 8.625 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.11e-05/0.4437, allocations: 42.73 kB / 1.056 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.623e-05/0.4438, allocations: 16.69 kB / 1.056 GB, free: 4.484 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003007/0.4441, allocations: 208.2 kB / 1.057 GB, free: 4.242 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.4442, allocations: 8.375 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.782e-05/0.4442, allocations: 12.38 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002935/0.4445, allocations: 96.73 kB / 1.057 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.4446, allocations: 3.938 kB / 1.057 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.966e-05/0.4446, allocations: 3.984 kB / 1.057 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.4446, allocations: 4 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001621/0.4448, allocations: 39.92 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004052/0.4452, allocations: 263.2 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002374/0.4455, allocations: 107.9 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.4456, allocations: 74.66 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.4457, allocations: 4 kB / 1.057 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00042/0.4461, allocations: 137.8 kB / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.805e-06/0.4461, allocations: 0 / 1.057 GB, free: 3.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.0006943/0.4468, allocations: 221.4 kB / 1.057 GB, free: 3.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001014/0.4469, allocations: 118.8 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.4471, allocations: 147.3 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.353e-05/0.4472, allocations: 33.7 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/0.4473, allocations: 96.7 kB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 9.554e-05/0.4474, allocations: 55.34 kB / 1.058 GB, free: 2.668 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.4476, allocations: 61.62 kB / 1.058 GB, free: 2.602 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.4478, allocations: 326.8 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001646/0.448, allocations: 48.27 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003721/0.4484, allocations: 180.5 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003592/0.4487, allocations: 138.5 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.4488, allocations: 4 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005623/0.4493, allocations: 201.2 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.282e-05/0.4494, allocations: 4 kB / 1.059 GB, free: 1.648 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.883e-05/0.4494, allocations: 7.984 kB / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.4495, allocations: 0 / 1.059 GB, free: 1.641 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.4496, allocations: 12 kB / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.728e-06/0.4496, allocations: 0 / 1.059 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004092/0.4501, allocations: 50.67 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.035e-05/0.4501, allocations: 12 kB / 1.059 GB, free: 1.57 MB / 0.8106 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.0002012/0.4503, allocations: 149.5 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.52e-05/0.4504, allocations: 15.81 kB / 1.059 GB, free: 1.402 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.08e-05/0.4505, allocations: 16.7 kB / 1.059 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4505, allocations: 4 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.4505, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4505, allocations: 0 / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002803/0.4508, allocations: 205.5 kB / 1.059 GB, free: 1.133 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.4508, allocations: 3.984 kB / 1.059 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.4509, allocations: 11.94 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.451, allocations: 8 kB / 1.059 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.227e-05/0.451, allocations: 4 kB / 1.059 GB, free: 1.105 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.651e-06/0.451, allocations: 4 kB / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.451, allocations: 0 / 1.059 GB, free: 1.102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000499/0.4515, allocations: 216.1 kB / 1.06 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.694e-05/0.4516, allocations: 92.94 kB / 1.06 GB, free: 0.7578 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.766e-05/0.4517, allocations: 4 kB / 1.06 GB, free: 0.7539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.4518, allocations: 19.86 kB / 1.06 GB, free: 0.7344 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.58e-05/0.4519, allocations: 7.938 kB / 1.06 GB, free: 0.7266 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.061e-05/0.4519, allocations: 7.984 kB / 1.06 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001143/0.452, allocations: 105.3 kB / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.8e-07/0.452, allocations: 0 / 1.06 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0006763/0.4527, allocations: 99.98 kB / 1.06 GB, free: 0.5195 MB / 0.8106 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.001221/0.454, allocations: 0.8521 MB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005491/0.4545, allocations: 218.1 kB / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.4546, allocations: 0 / 1.061 GB, free: 15.4 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001594/0.4547, allocations: 55.92 kB / 1.061 GB, free: 15.35 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.4551, allocations: 17.62 kB / 1.061 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003159/0.4582, allocations: 1.838 MB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000399/0.4587, allocations: 0.7084 MB / 1.063 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.892e-05/0.4588, allocations: 8.891 kB / 1.063 GB, free: 12.65 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.594e-05/0.4589, allocations: 39.42 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of SimCode: time 6.81e-07/0.4589, allocations: 4 kB / 1.063 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.109/1.568, allocations: 4.442 MB / 1.068 GB, free: 8.355 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004496/1.569, allocations: 244 kB / 1.068 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.73/6.299, allocations: 2.031 kB / 1.068 GB, free: 8.094 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_latest_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)