Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IBPSA_latest_IBPSA_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.001729/0.001729, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5597/0.5597, allocations: 90.8 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.3 MB / 348.3 MB, free: 452 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009016/0.0009015, allocations: 100.2 kB / 421.2 MB, free: 5.496 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.51e-05/3.534e-05, allocations: 4 kB / 0.4897 GB, free: 5.273 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3816/0.3817, allocations: 72.29 MB / 0.5603 GB, free: 40.44 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1363/0.5181, allocations: 101.9 MB / 0.6598 GB, free: 2.453 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002652/0.5184, allocations: 72.73 kB / 0.6598 GB, free: 2.383 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01467/0.5331, allocations: 5.043 MB / 0.6648 GB, free: 13.35 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.5331, allocations: 2.344 kB / 0.6648 GB, free: 13.35 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.466e-06/0.5332, allocations: 0 / 0.6648 GB, free: 13.35 MB / 490.7 MB 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.0005867/0.5337, allocations: 458 kB / 0.6652 GB, free: 12.86 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.5338, allocations: 11.98 kB / 0.6652 GB, free: 12.85 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.453e-05/0.5339, allocations: 42.55 kB / 0.6653 GB, free: 12.8 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.322e-05/0.5339, allocations: 23.77 kB / 0.6653 GB, free: 12.77 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003306/0.5343, allocations: 207.8 kB / 0.6655 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.5343, allocations: 4 kB / 0.6655 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.834e-05/0.5343, allocations: 16 kB / 0.6655 GB, free: 12.51 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002/0.5345, allocations: 97.73 kB / 0.6656 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.5346, allocations: 4 kB / 0.6656 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.5346, allocations: 0 / 0.6656 GB, free: 12.4 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.5346, allocations: 7.953 kB / 0.6656 GB, free: 12.39 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001059/0.5347, allocations: 51.91 kB / 0.6657 GB, free: 12.34 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.535, allocations: 251.3 kB / 0.6659 GB, free: 12.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001539/0.5352, allocations: 111.9 kB / 0.666 GB, free: 11.9 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.5353, allocations: 74.67 kB / 0.6661 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.325e-05/0.5353, allocations: 0 / 0.6661 GB, free: 11.82 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/0.5355, allocations: 147.3 kB / 0.6662 GB, free: 11.65 MB / 490.7 MB Notification: Performance of pre-optimization done (n=21): time 1.513e-06/0.5355, allocations: 0 / 0.6662 GB, free: 11.65 MB / 490.7 MB Notification: Performance of matching and sorting (n=21): time 0.0003544/0.5359, allocations: 177.4 kB / 0.6664 GB, free: 11.47 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.536, allocations: 122.7 kB / 0.6665 GB, free: 11.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001126/0.5361, allocations: 126.4 kB / 0.6666 GB, free: 11.2 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.5362, allocations: 38.92 kB / 0.6667 GB, free: 11.16 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.5362, allocations: 100.7 kB / 0.6667 GB, free: 11.05 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.777e-05/0.5363, allocations: 51.27 kB / 0.6668 GB, free: 11 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-06/0.5363, allocations: 4 kB / 0.6668 GB, free: 11 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.5364, allocations: 326.8 kB / 0.6671 GB, free: 10.67 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.365e-05/0.5365, allocations: 60.12 kB / 0.6672 GB, free: 10.61 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002414/0.5368, allocations: 195.9 kB / 0.6674 GB, free: 10.37 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.5369, allocations: 75.77 kB / 0.6674 GB, free: 10.3 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.5369, allocations: 0 / 0.6674 GB, free: 10.3 MB / 490.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002912/0.5372, allocations: 195.3 kB / 0.6676 GB, free: 10.1 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5373, allocations: 9.406 kB / 0.6676 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/0.5373, allocations: 7.984 kB / 0.6676 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.5373, allocations: 0 / 0.6676 GB, free: 10.09 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.694e-05/0.5374, allocations: 16.66 kB / 0.6676 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.5374, allocations: 3.938 kB / 0.6677 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002018/0.5376, allocations: 59.75 kB / 0.6677 GB, free: 10.01 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.402e-05/0.5377, allocations: 11.98 kB / 0.6677 GB, free: 9.996 MB / 490.7 MB 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.0001122/0.5378, allocations: 131.4 kB / 0.6678 GB, free: 9.859 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.5378, allocations: 7.906 kB / 0.6679 GB, free: 9.852 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.5379, allocations: 12.62 kB / 0.6679 GB, free: 9.836 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5379, allocations: 6.438 kB / 0.6679 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.5379, allocations: 0 / 0.6679 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.5379, allocations: 0 / 0.6679 GB, free: 9.832 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001748/0.5381, allocations: 213.4 kB / 0.6681 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.5381, allocations: 0 / 0.6681 GB, free: 9.574 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/0.5381, allocations: 23.92 kB / 0.6681 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.225e-06/0.5382, allocations: 0 / 0.6681 GB, free: 9.551 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.5382, allocations: 4 kB / 0.6681 GB, free: 9.547 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.5382, allocations: 11.67 kB / 0.6681 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5382, allocations: 0 / 0.6681 GB, free: 9.539 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/0.5385, allocations: 241.5 kB / 0.6683 GB, free: 9.27 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/0.5386, allocations: 88.92 kB / 0.6684 GB, free: 9.164 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.382e-05/0.5386, allocations: 8 kB / 0.6684 GB, free: 9.156 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.538e-05/0.5386, allocations: 7.984 kB / 0.6684 GB, free: 9.148 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.5387, allocations: 19.94 kB / 0.6685 GB, free: 9.129 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.349e-05/0.5387, allocations: 4 kB / 0.6685 GB, free: 9.125 MB / 490.7 MB Notification: Performance of sorting global known variables: time 6.242e-05/0.5388, allocations: 105 kB / 0.6686 GB, free: 9.023 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5388, allocations: 0 / 0.6686 GB, free: 9.023 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0003734/0.5392, allocations: 123.9 kB / 0.6687 GB, free: 8.902 MB / 490.7 MB 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.0008642/0.5401, allocations: 1.016 MB / 0.6697 GB, free: 7.848 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0003117/0.5404, allocations: 213 kB / 0.6699 GB, free: 7.621 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.5404, allocations: 4 kB / 0.6699 GB, free: 7.617 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 8.754e-05/0.5405, allocations: 55.94 kB / 0.6699 GB, free: 7.562 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001179/0.5406, allocations: 7.938 kB / 0.6699 GB, free: 7.555 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005581/0.5412, allocations: 277.2 kB / 0.6702 GB, free: 7.242 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.5415, allocations: 0.7148 MB / 0.6709 GB, free: 6.504 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 5.59e-05/0.5416, allocations: 21.14 kB / 0.6709 GB, free: 6.48 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.657e-05/0.5416, allocations: 31.42 kB / 0.671 GB, free: 6.449 MB / 490.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5416, allocations: 0 / 0.671 GB, free: 6.449 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01524/0.5569, allocations: 4.233 MB / 0.6751 GB, free: 2.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001795/0.5571, allocations: 179.1 kB / 0.6753 GB, free: 2.203 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.651/2.208, allocations: 0 / 0.6753 GB, free: 2.203 MB / 490.7 MB (rm -f IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IBPSA_latest_IBPSA.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)