Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) 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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8099/0.8099, allocations: 143.3 MB / 158.3 MB, free: 5.789 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 181 kB / 191.5 MB, free: 5.773 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 223.1 MB / 447.7 MB, free: 4.82 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.0008721/0.0008717, allocations: 92.33 kB / 0.5187 GB, free: 1.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001742/0.001742, allocations: 273.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006252/0.0006254, allocations: 13.56 kB / 0.6929 GB, free: 59.53 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1849/0.1855, allocations: 82.8 MB / 0.7738 GB, free: 13.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.3329, allocations: 109.1 MB / 0.8803 GB, free: 0.5195 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002239/0.3331, allocations: 75.95 kB / 0.8804 GB, free: 456 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.331/0.6642, allocations: 5.064 MB / 0.8853 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.703e-06/0.6642, allocations: 7.938 kB / 0.8853 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.404e-06/0.6642, allocations: 0 / 0.8853 GB, free: 108.9 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.0005266/0.6647, allocations: 470.6 kB / 0.8858 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.133e-05/0.6648, allocations: 9.844 kB / 0.8858 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.036e-05/0.6648, allocations: 38.88 kB / 0.8858 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.573e-05/0.6649, allocations: 10.78 kB / 0.8858 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000275/0.6652, allocations: 222 kB / 0.8861 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.336e-05/0.6652, allocations: 6.344 kB / 0.8861 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.621e-05/0.6652, allocations: 12.41 kB / 0.8861 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.6654, allocations: 103.4 kB / 0.8862 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.6654, allocations: 0 / 0.8862 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.6655, allocations: 3.219 kB / 0.8862 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.6655, allocations: 0.75 kB / 0.8862 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.953e-05/0.6656, allocations: 49.16 kB / 0.8862 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002498/0.6658, allocations: 258 kB / 0.8865 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.666, allocations: 114.8 kB / 0.8866 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.666, allocations: 7.531 kB / 0.8866 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002004/0.6662, allocations: 136.8 kB / 0.8867 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 2.094e-06/0.6662, allocations: 3.984 kB / 0.8867 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0004595/0.6667, allocations: 467.4 kB / 0.8872 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.6667, allocations: 114.5 kB / 0.8873 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.751e-05/0.6668, allocations: 129.2 kB / 0.8874 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.118e-05/0.6669, allocations: 43.62 kB / 0.8874 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.6669, allocations: 92.14 kB / 0.8875 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.026e-05/0.667, allocations: 59.31 kB / 0.8876 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.667, allocations: 3.938 kB / 0.8876 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 6.861e-05/0.667, allocations: 328.4 kB / 0.8879 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.094e-05/0.6671, allocations: 55.39 kB / 0.8879 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/0.6673, allocations: 195.2 kB / 0.8881 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.6675, allocations: 84.12 kB / 0.8882 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6675, allocations: 0 / 0.8882 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003129/0.6678, allocations: 202.2 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.6678, allocations: 5.5 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.121e-05/0.6679, allocations: 10.61 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.6679, allocations: 1.562 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.164e-05/0.668, allocations: 16.5 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.668, allocations: 1.438 kB / 0.8884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002115/0.6682, allocations: 59.39 kB / 0.8885 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.279e-05/0.6683, allocations: 7.25 kB / 0.8885 GB, free: 106.6 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.0001031/0.6684, allocations: 136.2 kB / 0.8886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.6684, allocations: 13.61 kB / 0.8886 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.658e-05/0.6684, allocations: 17.25 kB / 0.8887 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6685, allocations: 5.906 kB / 0.8887 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.6685, allocations: 12 kB / 0.8887 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6685, allocations: 0.5625 kB / 0.8887 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001693/0.6686, allocations: 203.3 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.6687, allocations: 1.125 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.756e-05/0.6687, allocations: 11.08 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.468e-06/0.6687, allocations: 1.375 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.008e-05/0.6687, allocations: 15.31 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.397e-06/0.6688, allocations: 2.172 kB / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.6688, allocations: 0 / 0.8889 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003096/0.6691, allocations: 238.9 kB / 0.8891 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.896e-05/0.6691, allocations: 97.38 kB / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.6692, allocations: 3.453 kB / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.713e-05/0.6692, allocations: 9.141 kB / 0.8892 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.014e-05/0.6693, allocations: 12.78 kB / 0.8893 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6693, allocations: 7.219 kB / 0.8893 GB, free: 106 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.067e-05/0.6694, allocations: 105.8 kB / 0.8894 GB, free: 106 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6694, allocations: 0 / 0.8894 GB, free: 106 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000435/0.6698, allocations: 119.3 kB / 0.8895 GB, free: 105.9 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.0006546/0.6705, allocations: 1.021 MB / 0.8905 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.6708, allocations: 217.4 kB / 0.8907 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.165e-06/0.6708, allocations: 0 / 0.8907 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.033e-05/0.6709, allocations: 61.34 kB / 0.8907 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001271/0.671, allocations: 9.859 kB / 0.8907 GB, free: 105 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.6724, allocations: 1.179 MB / 0.8919 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001802/0.6726, allocations: 0.7123 MB / 0.8926 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.12e-05/0.6726, allocations: 9.078 kB / 0.8926 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.061e-05/0.6727, allocations: 33.16 kB / 0.8926 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.6727, allocations: 4 kB / 0.8926 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01469/0.6874, allocations: 4.235 MB / 0.8968 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001323/0.6875, allocations: 216.5 kB / 0.897 GB, free: 102.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.369, allocations: 3.75 kB / 0.897 GB, free: 102.4 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime_fmu --startTime=86400 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)