Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_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.002015/0.002015, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8312/0.8312, allocations: 133.4 MB / 146.7 MB, free: 10.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.654/1.654, allocations: 221.3 MB / 400.4 MB, free: 5.852 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009382/0.0009382, allocations: 98.17 kB / 483.3 MB, free: 5.887 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.737e-05/3.74e-05, allocations: 2.344 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 82.3 MB / 0.6405 GB, free: 7.758 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7391/0.9659, allocations: 111.7 MB / 0.7495 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.9662, allocations: 73.28 kB / 0.7496 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.01369/0.9799, allocations: 5.029 MB / 0.7545 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9799, allocations: 0 / 0.7545 GB, free: 27.45 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.241e-05/0.98, allocations: 3.844 kB / 0.7545 GB, free: 27.45 MB / 0.5105 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.0006625/0.9806, allocations: 459.8 kB / 0.755 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.659e-05/0.9807, allocations: 7.531 kB / 0.755 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.589e-05/0.9808, allocations: 44.56 kB / 0.755 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.9808, allocations: 14.05 kB / 0.755 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003553/0.9812, allocations: 219.9 kB / 0.7552 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.9812, allocations: 7.531 kB / 0.7552 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.9813, allocations: 13.67 kB / 0.7552 GB, free: 26.78 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000209/0.9815, allocations: 100.9 kB / 0.7553 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.9815, allocations: 3.938 kB / 0.7553 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.426e-05/0.9815, allocations: 0 / 0.7553 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.9815, allocations: 0 / 0.7553 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001039/0.9816, allocations: 44.89 kB / 0.7554 GB, free: 26.72 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.9819, allocations: 261.9 kB / 0.7556 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001389/0.9821, allocations: 114.7 kB / 0.7557 GB, free: 26.42 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.137e-05/0.9822, allocations: 73.47 kB / 0.7558 GB, free: 26.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.9822, allocations: 3.938 kB / 0.7558 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002047/0.9824, allocations: 143.3 kB / 0.756 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.9824, allocations: 0 / 0.756 GB, free: 26.31 MB / 0.5105 GB Notification: Performance of matching and sorting (n=21): time 0.000362/0.9828, allocations: 174.2 kB / 0.7561 GB, free: 26.27 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.645e-05/0.9829, allocations: 125.7 kB / 0.7562 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.983, allocations: 127.8 kB / 0.7564 GB, free: 26.05 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 4.349e-05/0.9831, allocations: 33.55 kB / 0.7564 GB, free: 26.02 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 7.614e-05/0.9832, allocations: 108.8 kB / 0.7565 GB, free: 25.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.317e-05/0.9832, allocations: 58.91 kB / 0.7566 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.185e-05/0.9833, allocations: 3.188 kB / 0.7566 GB, free: 25.89 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000176/0.9834, allocations: 328.3 kB / 0.7569 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.387e-05/0.9835, allocations: 51.14 kB / 0.7569 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.9837, allocations: 196.1 kB / 0.7571 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001121/0.9839, allocations: 65.78 kB / 0.7572 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.9839, allocations: 4 kB / 0.7572 GB, free: 25.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000273/0.9842, allocations: 200.2 kB / 0.7574 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.9842, allocations: 7.812 kB / 0.7574 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/0.9842, allocations: 6.078 kB / 0.7574 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.9842, allocations: 3.875 kB / 0.7574 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.723e-05/0.9843, allocations: 13.45 kB / 0.7574 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.9843, allocations: 3.719 kB / 0.7574 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001825/0.9845, allocations: 57.72 kB / 0.7575 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.148e-05/0.9846, allocations: 7.75 kB / 0.7575 GB, free: 25.36 MB / 0.5105 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.0001224/0.9847, allocations: 135.8 kB / 0.7576 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.941e-05/0.9847, allocations: 7.656 kB / 0.7576 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.82e-05/0.9848, allocations: 15.53 kB / 0.7576 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.202e-06/0.9848, allocations: 6.219 kB / 0.7576 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.9848, allocations: 0 / 0.7576 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.9848, allocations: 3.984 kB / 0.7576 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.985, allocations: 222.2 kB / 0.7578 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.985, allocations: 3.719 kB / 0.7578 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.085e-05/0.985, allocations: 10.36 kB / 0.7579 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.9851, allocations: 0 / 0.7579 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.418e-05/0.9851, allocations: 3.875 kB / 0.7579 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.9851, allocations: 0 / 0.7579 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.9851, allocations: 3.844 kB / 0.7579 GB, free: 25.02 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003259/0.9854, allocations: 241.3 kB / 0.7581 GB, free: 24.89 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 5.807e-05/0.9855, allocations: 91.48 kB / 0.7582 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.9855, allocations: 7.812 kB / 0.7582 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.321e-05/0.9856, allocations: 3.969 kB / 0.7582 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.041e-05/0.9857, allocations: 9.484 kB / 0.7582 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.526e-05/0.9857, allocations: 15.19 kB / 0.7582 GB, free: 24.79 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 7.574e-05/0.9858, allocations: 105.6 kB / 0.7583 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9858, allocations: 0 / 0.7583 GB, free: 24.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0003867/0.9862, allocations: 112.3 kB / 0.7584 GB, free: 24.69 MB / 0.5105 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.0008884/0.987, allocations: 1.025 MB / 0.7594 GB, free: 23.86 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0003035/0.9874, allocations: 216.2 kB / 0.7596 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.9874, allocations: 0 / 0.7596 GB, free: 23.75 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 7.812e-05/0.9875, allocations: 52.22 kB / 0.7597 GB, free: 23.74 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001353/0.9876, allocations: 14.95 kB / 0.7597 GB, free: 23.73 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005369/0.9881, allocations: 273.1 kB / 0.7599 GB, free: 23.54 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.9885, allocations: 0.7154 MB / 0.7606 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.9886, allocations: 12.59 kB / 0.7607 GB, free: 22.82 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.9886, allocations: 35.67 kB / 0.7607 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of SimCode: time 2.5e-07/0.9886, allocations: 0 / 0.7607 GB, free: 22.81 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01827/1.007, allocations: 4.216 MB / 0.7648 GB, free: 20.79 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001667/1.007, allocations: 177.8 kB / 0.765 GB, free: 20.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.887, allocations: 0 / 0.765 GB, free: 20.56 MB / 0.5105 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)