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.686/1.686, allocations: 289.9 MB / 297.4 MB, free: 6.309 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.001146/0.001147, allocations: 176.8 kB / 366.7 MB, free: 1.645 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.785/1.785, allocations: 205.2 MB / 0.626 GB, free: 7.152 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.001033/0.001033, allocations: 84.94 kB / 0.74 GB, free: 39.54 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.642e-05/1.612e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6889/0.6889, allocations: 116.3 MB / 0.9733 GB, free: 76.07 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.186/0.875, allocations: 138.6 MB / 1.109 GB, free: 11.46 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.8752, allocations: 76.45 kB / 1.109 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.01469/0.89, allocations: 4.957 MB / 1.114 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.89, allocations: 0 / 1.114 GB, free: 6.469 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.618e-06/0.89, allocations: 0 / 1.114 GB, free: 6.469 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.000589/0.8906, allocations: 452 kB / 1.114 GB, free: 5.984 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/0.8907, allocations: 13.97 kB / 1.114 GB, free: 5.973 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.382e-05/0.8908, allocations: 7.906 kB / 1.114 GB, free: 5.965 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002775/0.891, allocations: 222.8 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.8911, allocations: 2.062 kB / 1.114 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.376e-05/0.8911, allocations: 23.91 kB / 1.114 GB, free: 5.684 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001473/0.8913, allocations: 39.98 kB / 1.114 GB, free: 5.645 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001642/0.8914, allocations: 97.33 kB / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.8915, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.8915, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.8915, allocations: 0 / 1.114 GB, free: 5.535 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002404/0.8917, allocations: 227.8 kB / 1.115 GB, free: 5.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000128/0.8919, allocations: 103.8 kB / 1.115 GB, free: 5.141 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.245e-05/0.892, allocations: 70.77 kB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.023e-05/0.892, allocations: 7.922 kB / 1.115 GB, free: 5.055 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.8922, allocations: 130.5 kB / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.8922, allocations: 0 / 1.115 GB, free: 4.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.0004179/0.8926, allocations: 175.5 kB / 1.115 GB, free: 4.727 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.482e-05/0.8927, allocations: 114.8 kB / 1.115 GB, free: 4.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.8928, allocations: 122.3 kB / 1.115 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 4.149e-05/0.8929, allocations: 33.7 kB / 1.115 GB, free: 4.426 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.849e-05/0.8929, allocations: 100.7 kB / 1.115 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.981e-05/0.893, allocations: 47.36 kB / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.788e-06/0.893, allocations: 0 / 1.116 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001311/0.8932, allocations: 334.8 kB / 1.116 GB, free: 3.941 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.8933, allocations: 51.86 kB / 1.116 GB, free: 3.891 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002001/0.8935, allocations: 191 kB / 1.116 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001742/0.8937, allocations: 75.06 kB / 1.116 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8937, allocations: 4 kB / 1.116 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003329/0.894, allocations: 199.7 kB / 1.116 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.894, allocations: 4.938 kB / 1.116 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.583e-05/0.8941, allocations: 4 kB / 1.116 GB, free: 3.371 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.521e-05/0.8941, allocations: 4 kB / 1.116 GB, free: 3.367 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.571e-05/0.8942, allocations: 11.98 kB / 1.116 GB, free: 3.355 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.8942, allocations: 4 kB / 1.116 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.8944, allocations: 47.89 kB / 1.116 GB, free: 3.305 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.8944, allocations: 7.938 kB / 1.116 GB, free: 3.297 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.0001066/0.8946, allocations: 123.4 kB / 1.117 GB, free: 3.172 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002946/0.8949, allocations: 188.4 kB / 1.117 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.8949, allocations: 11.81 kB / 1.117 GB, free: 2.973 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.393e-05/0.8949, allocations: 12.62 kB / 1.117 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.8949, allocations: 0 / 1.117 GB, free: 2.957 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8949, allocations: 4 kB / 1.117 GB, free: 2.953 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.895, allocations: 7.984 kB / 1.117 GB, free: 2.945 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.8951, allocations: 170.1 kB / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.8951, allocations: 0 / 1.117 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.388e-05/0.8952, allocations: 19.89 kB / 1.117 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-06/0.8952, allocations: 4 kB / 1.117 GB, free: 2.719 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.339e-05/0.8952, allocations: 6.422 kB / 1.117 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.998e-06/0.8952, allocations: 4 kB / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.8952, allocations: 0 / 1.117 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003526/0.8956, allocations: 247.6 kB / 1.117 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.431e-05/0.8956, allocations: 85.02 kB / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.322e-05/0.8957, allocations: 0 / 1.117 GB, free: 2.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.743e-05/0.8957, allocations: 7.984 kB / 1.117 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.363e-05/0.8958, allocations: 11.92 kB / 1.117 GB, free: 2.316 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.616e-05/0.8958, allocations: 16 kB / 1.117 GB, free: 2.301 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.527e-05/0.8959, allocations: 99.89 kB / 1.117 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.71e-07/0.8959, allocations: 0 / 1.117 GB, free: 2.203 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004257/0.8963, allocations: 115.8 kB / 1.118 GB, free: 2.09 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.0009351/0.8973, allocations: 1.02 MB / 1.119 GB, free: 1.031 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002748/0.8976, allocations: 201 kB / 1.119 GB, free: 0.8164 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.8976, allocations: 4 kB / 1.119 GB, free: 0.8125 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.628e-05/0.8977, allocations: 55.92 kB / 1.119 GB, free: 0.7578 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001288/0.8978, allocations: 13.3 kB / 1.119 GB, free: 0.7461 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005584/0.8984, allocations: 261.5 kB / 1.119 GB, free: 460 kB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002421/0.8986, allocations: 0.7084 MB / 1.12 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.714e-05/0.8987, allocations: 8.891 kB / 1.12 GB, free: 15.7 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.122e-05/0.8987, allocations: 35.42 kB / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of SimCode: time 2.61e-07/0.8987, allocations: 0 / 1.12 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02272/0.9215, allocations: 3.863 MB / 1.124 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.9217, allocations: 174.9 kB / 1.124 GB, free: 11.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.72/2.641, allocations: 4 kB / 1.124 GB, free: 11.71 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)