Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.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.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 2.019/2.019, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001178/0.001178, allocations: 185 kB / 377.1 MB, free: 1.527 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.104/2.104, allocations: 205.4 MB / 0.6366 GB, free: 8.617 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.0008551/0.0008551, allocations: 98.61 kB / 0.7509 GB, free: 63.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003325/0.0003325, allocations: 16 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2499/0.2502, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6704/0.9207, allocations: 139.3 MB / 1.124 GB, free: 35.34 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002131/0.9209, allocations: 67.16 kB / 1.125 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.01273/0.9337, allocations: 4.998 MB / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.853e-06/0.9337, allocations: 0 / 1.129 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.545e-05/0.9337, allocations: 4 kB / 1.129 GB, free: 31.75 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.0005188/0.9342, allocations: 472.8 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.214e-05/0.9343, allocations: 8.031 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.134e-05/0.9343, allocations: 44.94 kB / 1.13 GB, free: 31.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.9344, allocations: 13.97 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.9347, allocations: 221.1 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.464e-05/0.9347, allocations: 4 kB / 1.13 GB, free: 30.95 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.9348, allocations: 20.38 kB / 1.13 GB, free: 30.93 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.9349, allocations: 103.8 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.935, allocations: 3.938 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.935, allocations: 0.875 kB / 1.13 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.935, allocations: 4 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.502e-05/0.9351, allocations: 42.89 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002238/0.9353, allocations: 252.8 kB / 1.131 GB, free: 30.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.9354, allocations: 110.8 kB / 1.131 GB, free: 30.4 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.9355, allocations: 5.031 kB / 1.131 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001689/0.9356, allocations: 138.9 kB / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 1.443e-06/0.9356, allocations: 0 / 1.131 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.000426/0.9361, allocations: 471.9 kB / 1.131 GB, free: 29.77 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.882e-05/0.9361, allocations: 118.8 kB / 1.131 GB, free: 29.62 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.698e-05/0.9362, allocations: 123.7 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.041e-05/0.9362, allocations: 41.7 kB / 1.132 GB, free: 29.46 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.858e-05/0.9363, allocations: 92.7 kB / 1.132 GB, free: 29.37 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.9363, allocations: 62.11 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.9364, allocations: 4 kB / 1.132 GB, free: 29.31 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.324e-05/0.9364, allocations: 326.2 kB / 1.132 GB, free: 28.98 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.9365, allocations: 55.39 kB / 1.132 GB, free: 28.94 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.9367, allocations: 205.4 kB / 1.132 GB, free: 28.71 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.962e-05/0.9368, allocations: 69.14 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.9368, allocations: 3.953 kB / 1.132 GB, free: 28.64 MB / 0.7292 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002438/0.937, allocations: 198.3 kB / 1.133 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9371, allocations: 8 kB / 1.133 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.9371, allocations: 8 kB / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.503e-05/0.9371, allocations: 0 / 1.133 GB, free: 28.44 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.141e-05/0.9372, allocations: 24.12 kB / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.9372, allocations: 0 / 1.133 GB, free: 28.42 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001767/0.9374, allocations: 55.19 kB / 1.133 GB, free: 28.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.9374, allocations: 7.469 kB / 1.133 GB, free: 28.38 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 0.0001017/0.9375, allocations: 145.8 kB / 1.133 GB, free: 28.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.9376, allocations: 11.86 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.9376, allocations: 16.09 kB / 1.133 GB, free: 28.21 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.9376, allocations: 4.5 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.9376, allocations: 0 / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.9376, allocations: 2.484 kB / 1.133 GB, free: 28.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001212/0.9378, allocations: 213.6 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.9378, allocations: 0.5 kB / 1.133 GB, free: 27.96 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.181e-05/0.9378, allocations: 17.08 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.9378, allocations: 7.422 kB / 1.133 GB, free: 27.95 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.9378, allocations: 4.75 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.9379, allocations: 3.938 kB / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9379, allocations: 0 / 1.133 GB, free: 27.94 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000242/0.9381, allocations: 236.5 kB / 1.133 GB, free: 27.69 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.846e-05/0.9381, allocations: 96.09 kB / 1.133 GB, free: 27.58 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.9382, allocations: 8 kB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.9382, allocations: 8.562 kB / 1.133 GB, free: 27.57 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.343e-05/0.9383, allocations: 11.52 kB / 1.133 GB, free: 27.56 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.9383, allocations: 11.47 kB / 1.133 GB, free: 27.55 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.414e-05/0.9384, allocations: 98.8 kB / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9384, allocations: 0.8438 kB / 1.133 GB, free: 27.46 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003887/0.9388, allocations: 126.9 kB / 1.134 GB, free: 27.34 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.0005743/0.9393, allocations: 1.018 MB / 1.135 GB, free: 26.3 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002514/0.9396, allocations: 222.3 kB / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.9396, allocations: 0 / 1.135 GB, free: 26.08 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.126e-05/0.9397, allocations: 55.45 kB / 1.135 GB, free: 26.03 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000124/0.9398, allocations: 17.88 kB / 1.135 GB, free: 26.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.9409, allocations: 1.17 MB / 1.136 GB, free: 24.87 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.9411, allocations: 0.7108 MB / 1.137 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.927e-05/0.9412, allocations: 13.77 kB / 1.137 GB, free: 24.14 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.755e-05/0.9412, allocations: 30.91 kB / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of SimCode: time 4.11e-07/0.9412, allocations: 0 / 1.137 GB, free: 24.11 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01568/0.9569, allocations: 4.202 MB / 1.141 GB, free: 21.77 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.9571, allocations: 200.8 kB / 1.141 GB, free: 21.53 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.696/2.653, allocations: 4 kB / 1.141 GB, free: 21.52 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)