Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.568/2.568, allocations: 284.9 MB / 292.4 MB, free: 10.54 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.001513/0.001513, allocations: 180.9 kB / 360.6 MB, free: 7.285 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.162/2.162, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001485/0.001485, allocations: 93.23 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.871e-05, allocations: 0 / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8473/0.8473, allocations: 115.2 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2865/1.134, allocations: 137.4 MB / 1.098 GB, free: 3.023 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002666/1.134, allocations: 74.56 kB / 1.098 GB, free: 2.953 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02424/1.158, allocations: 4.95 MB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.664e-06/1.158, allocations: 4 kB / 1.103 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.051e-05/1.159, allocations: 4 kB / 1.103 GB, free: 14.07 MB / 0.7136 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.000813/1.159, allocations: 454.1 kB / 1.103 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.878e-05/1.159, allocations: 9.062 kB / 1.103 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.902e-05/1.159, allocations: 13.11 kB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005026/1.16, allocations: 223.5 kB / 1.103 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.152e-05/1.16, allocations: 8 kB / 1.103 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.874e-05/1.16, allocations: 11.94 kB / 1.103 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001852/1.16, allocations: 35.98 kB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002415/1.161, allocations: 93.17 kB / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/1.161, allocations: 0 / 1.103 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.818e-05/1.161, allocations: 3.938 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/1.161, allocations: 7.984 kB / 1.103 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/1.161, allocations: 227 kB / 1.104 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002313/1.161, allocations: 99.84 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001603/1.161, allocations: 74.69 kB / 1.104 GB, free: 12.67 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.998e-05/1.162, allocations: 4 kB / 1.104 GB, free: 12.66 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003084/1.162, allocations: 126.5 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 4.709e-06/1.162, allocations: 3.984 kB / 1.104 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0006919/1.163, allocations: 177.4 kB / 1.104 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.25e-05/1.163, allocations: 118.8 kB / 1.104 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/1.163, allocations: 122.3 kB / 1.104 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.043e-05/1.163, allocations: 37.69 kB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.276e-05/1.163, allocations: 92.7 kB / 1.104 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 8.632e-05/1.163, allocations: 55.28 kB / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.402e-05/1.163, allocations: 0 / 1.104 GB, free: 11.88 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001436/1.163, allocations: 334.8 kB / 1.105 GB, free: 11.54 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001436/1.163, allocations: 44.28 kB / 1.105 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003178/1.164, allocations: 187 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003303/1.164, allocations: 82.73 kB / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/1.164, allocations: 0 / 1.105 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005793/1.165, allocations: 192.2 kB / 1.105 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.736e-05/1.165, allocations: 6.5 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/1.165, allocations: 8 kB / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.165, allocations: 0 / 1.105 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001525/1.165, allocations: 15.98 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.408e-06/1.165, allocations: 3.938 kB / 1.105 GB, free: 10.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004044/1.165, allocations: 47.89 kB / 1.105 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/1.165, allocations: 8 kB / 1.105 GB, free: 10.9 MB / 0.7136 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 () * 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 0.000159/1.166, allocations: 119 kB / 1.105 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005553/1.166, allocations: 188.3 kB / 1.106 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/1.166, allocations: 18.75 kB / 1.106 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.249e-05/1.166, allocations: 8.625 kB / 1.106 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/1.166, allocations: 11.98 kB / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.166, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.166, allocations: 0 / 1.106 GB, free: 10.55 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002474/1.167, allocations: 186.1 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/1.167, allocations: 1.312 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/1.167, allocations: 15.92 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.167, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.962e-05/1.167, allocations: 4 kB / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.167, allocations: 0 / 1.106 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.054e-06/1.167, allocations: 4 kB / 1.106 GB, free: 10.31 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005554/1.167, allocations: 240.8 kB / 1.106 GB, free: 10.04 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 7.08e-05/1.168, allocations: 85.02 kB / 1.106 GB, free: 9.941 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.031e-05/1.168, allocations: 7.984 kB / 1.106 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/1.168, allocations: 7.938 kB / 1.106 GB, free: 9.926 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.755e-05/1.168, allocations: 15.98 kB / 1.106 GB, free: 9.91 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.662e-05/1.168, allocations: 4 kB / 1.106 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001115/1.168, allocations: 103.3 kB / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7.42e-07/1.168, allocations: 0 / 1.106 GB, free: 9.805 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0006816/1.169, allocations: 115.3 kB / 1.106 GB, free: 9.695 MB / 0.7136 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) * 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.001412/1.17, allocations: 1.016 MB / 1.107 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0005362/1.171, allocations: 201 kB / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/1.171, allocations: 0 / 1.108 GB, free: 8.426 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001472/1.171, allocations: 56.11 kB / 1.108 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/1.171, allocations: 17.95 kB / 1.108 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000887/1.172, allocations: 257.7 kB / 1.108 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003469/1.172, allocations: 0.7162 MB / 1.109 GB, free: 7.316 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 7.992e-05/1.172, allocations: 12.97 kB / 1.109 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.197e-05/1.173, allocations: 31.42 kB / 1.109 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of SimCode: time 1.302e-06/1.173, allocations: 7.938 kB / 1.109 GB, free: 7.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05027/1.223, allocations: 3.845 MB / 1.112 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003211/1.223, allocations: 175.4 kB / 1.113 GB, free: 3.316 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.383/3.606, allocations: 0 / 1.113 GB, free: 3.316 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)