Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007842/0.007842, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7842/0.7842, allocations: 135.2 MB / 151 MB, free: 13.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.565/1.565, allocations: 223.2 MB / 406.8 MB, free: 3.234 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001029/0.001028, allocations: 104 kB / 489.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004106/0.0004105, allocations: 8 kB / 0.5692 GB, free: 14.05 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4706/0.471, allocations: 82.31 MB / 0.6495 GB, free: 36.08 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.639, allocations: 111.7 MB / 0.7586 GB, free: 4.234 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002952/0.6394, allocations: 71.95 kB / 0.7587 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01462/0.654, allocations: 5.078 MB / 0.7636 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.104e-06/0.654, allocations: 0 / 0.7636 GB, free: 15.07 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.848e-06/0.6541, allocations: 8 kB / 0.7636 GB, free: 15.06 MB / 0.5417 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.000651/0.6547, allocations: 470.8 kB / 0.7641 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.765e-05/0.6548, allocations: 8.031 kB / 0.7641 GB, free: 14.55 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.693e-05/0.6548, allocations: 42.5 kB / 0.7641 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.499e-05/0.6549, allocations: 15.81 kB / 0.7642 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/0.6552, allocations: 219.8 kB / 0.7644 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.613e-05/0.6553, allocations: 12 kB / 0.7644 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.203e-05/0.6553, allocations: 12 kB / 0.7644 GB, free: 14.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.6555, allocations: 104.2 kB / 0.7645 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.268e-06/0.6555, allocations: 0 / 0.7645 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.385e-05/0.6555, allocations: 0 / 0.7645 GB, free: 14.09 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.6556, allocations: 3.984 kB / 0.7645 GB, free: 14.08 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.6557, allocations: 47.97 kB / 0.7645 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003005/0.656, allocations: 255.4 kB / 0.7648 GB, free: 13.73 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.6561, allocations: 111.9 kB / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.6562, allocations: 3.938 kB / 0.7649 GB, free: 13.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002498/0.6564, allocations: 134.5 kB / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.6564, allocations: 0 / 0.765 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0005645/0.657, allocations: 472.6 kB / 0.7655 GB, free: 12.91 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.102e-05/0.6571, allocations: 110.8 kB / 0.7656 GB, free: 12.78 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.6572, allocations: 130.5 kB / 0.7657 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.6573, allocations: 41.69 kB / 0.7657 GB, free: 12.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.354e-05/0.6573, allocations: 100.7 kB / 0.7658 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.456e-05/0.6574, allocations: 59.28 kB / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.333e-06/0.6574, allocations: 0 / 0.7659 GB, free: 12.44 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.6575, allocations: 330.8 kB / 0.7662 GB, free: 12.11 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001011/0.6576, allocations: 52.72 kB / 0.7663 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002286/0.6579, allocations: 196 kB / 0.7664 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001216/0.658, allocations: 71.94 kB / 0.7665 GB, free: 11.74 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.658, allocations: 4 kB / 0.7665 GB, free: 11.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002973/0.6583, allocations: 201.3 kB / 0.7667 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.814e-05/0.6584, allocations: 7.938 kB / 0.7667 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.107e-05/0.6584, allocations: 7.984 kB / 0.7667 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.6584, allocations: 7.938 kB / 0.7667 GB, free: 11.51 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.6585, allocations: 12 kB / 0.7667 GB, free: 11.5 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.007e-05/0.6585, allocations: 4 kB / 0.7667 GB, free: 11.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001956/0.6587, allocations: 51.86 kB / 0.7668 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.6588, allocations: 11.98 kB / 0.7668 GB, free: 11.43 MB / 0.5417 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.0001473/0.6589, allocations: 147.9 kB / 0.7669 GB, free: 11.28 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.659, allocations: 11.81 kB / 0.767 GB, free: 11.27 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.247e-05/0.659, allocations: 16.7 kB / 0.767 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.659, allocations: 0 / 0.767 GB, free: 11.25 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.775e-06/0.659, allocations: 4 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.659, allocations: 4 kB / 0.767 GB, free: 11.24 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.6592, allocations: 205.5 kB / 0.7672 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.143e-06/0.6592, allocations: 7.953 kB / 0.7672 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.637e-05/0.6593, allocations: 12.14 kB / 0.7672 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.6593, allocations: 4 kB / 0.7672 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.523e-05/0.6593, allocations: 3.984 kB / 0.7672 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.2e-06/0.6593, allocations: 11.92 kB / 0.7672 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.6593, allocations: 0 / 0.7672 GB, free: 10.95 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003214/0.6597, allocations: 243 kB / 0.7674 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.487e-05/0.6597, allocations: 92.94 kB / 0.7675 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.532e-05/0.6598, allocations: 4 kB / 0.7675 GB, free: 10.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.363e-05/0.6598, allocations: 8 kB / 0.7675 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.695e-05/0.6599, allocations: 11.98 kB / 0.7676 GB, free: 10.55 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.312e-05/0.6599, allocations: 8 kB / 0.7676 GB, free: 10.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 7.858e-05/0.66, allocations: 112.9 kB / 0.7677 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.66, allocations: 0 / 0.7677 GB, free: 10.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004631/0.6605, allocations: 115.9 kB / 0.7678 GB, free: 10.32 MB / 0.5417 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.0008251/0.6613, allocations: 1.016 MB / 0.7688 GB, free: 9.262 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003242/0.6616, allocations: 221.8 kB / 0.769 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.6617, allocations: 0 / 0.769 GB, free: 9.027 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/0.6618, allocations: 55.92 kB / 0.769 GB, free: 8.973 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001329/0.6619, allocations: 12.64 kB / 0.7691 GB, free: 8.961 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0015/0.6634, allocations: 1.159 MB / 0.7702 GB, free: 7.73 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.6637, allocations: 0.7126 MB / 0.7709 GB, free: 6.992 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.6638, allocations: 8.891 kB / 0.7709 GB, free: 6.984 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.104e-05/0.6638, allocations: 35.42 kB / 0.7709 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of SimCode: time 4e-07/0.6638, allocations: 0 / 0.7709 GB, free: 6.949 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01726/0.6811, allocations: 4.205 MB / 0.775 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.6814, allocations: 204.2 kB / 0.7752 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.75/2.432, allocations: 0 / 0.7752 GB, free: 2.699 MB / 0.5417 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)