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.7358/0.7358, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 186.3 kB / 187.3 MB, free: 11.88 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.366/1.366, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0008698/0.0008695, allocations: 94.41 kB / 0.5124 GB, free: 24.31 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001749/0.001749, allocations: 268.8 kB / 0.5939 GB, free: 7.973 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.374e-05/3.376e-05, allocations: 4 kB / 0.6835 GB, free: 12.16 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4345/0.4345, allocations: 82.76 MB / 0.7644 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.12/0.5546, allocations: 109 MB / 0.8708 GB, free: 15.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002283/0.5549, allocations: 71.95 kB / 0.8709 GB, free: 15.43 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01398/0.5689, allocations: 5.056 MB / 0.8758 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5689, allocations: 0 / 0.8758 GB, free: 10.37 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.067e-06/0.5689, allocations: 4 kB / 0.8758 GB, free: 10.37 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.0005529/0.5695, allocations: 458 kB / 0.8763 GB, free: 9.875 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.18e-05/0.5695, allocations: 8.031 kB / 0.8763 GB, free: 9.867 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.296e-05/0.5696, allocations: 42.55 kB / 0.8763 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.101e-05/0.5697, allocations: 11.91 kB / 0.8763 GB, free: 9.805 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.5699, allocations: 210.8 kB / 0.8765 GB, free: 9.559 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.57, allocations: 15.94 kB / 0.8766 GB, free: 9.543 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.57, allocations: 15.94 kB / 0.8766 GB, free: 9.527 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/0.5702, allocations: 94.11 kB / 0.8767 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.5702, allocations: 0 / 0.8767 GB, free: 9.422 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.5703, allocations: 7.984 kB / 0.8767 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.5703, allocations: 0 / 0.8767 GB, free: 9.414 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.5704, allocations: 47.92 kB / 0.8767 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002818/0.5707, allocations: 259.3 kB / 0.877 GB, free: 9.059 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001433/0.5708, allocations: 107.8 kB / 0.8771 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001029/0.5709, allocations: 74.67 kB / 0.8771 GB, free: 8.844 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.5709, allocations: 4 kB / 0.8771 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002061/0.5712, allocations: 142.4 kB / 0.8773 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.653e-06/0.5712, allocations: 0 / 0.8773 GB, free: 8.676 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0003664/0.5715, allocations: 173.5 kB / 0.8774 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.148e-05/0.5716, allocations: 122.8 kB / 0.8776 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001143/0.5717, allocations: 130.3 kB / 0.8777 GB, free: 8.223 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.478e-05/0.5718, allocations: 37.7 kB / 0.8777 GB, free: 8.18 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 6.208e-05/0.5719, allocations: 96.69 kB / 0.8778 GB, free: 8.082 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 5.932e-05/0.5719, allocations: 55.3 kB / 0.8779 GB, free: 8.027 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.135e-06/0.5719, allocations: 4 kB / 0.8779 GB, free: 8.023 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001136/0.5721, allocations: 326.8 kB / 0.8782 GB, free: 7.695 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.835e-05/0.5722, allocations: 56.2 kB / 0.8782 GB, free: 7.637 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002034/0.5724, allocations: 191.1 kB / 0.8784 GB, free: 7.398 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.5725, allocations: 71.91 kB / 0.8785 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.5725, allocations: 3.938 kB / 0.8785 GB, free: 7.324 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003081/0.5728, allocations: 205.2 kB / 0.8787 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.5729, allocations: 5.094 kB / 0.8787 GB, free: 7.113 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.754e-05/0.5729, allocations: 8 kB / 0.8787 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.514e-05/0.5729, allocations: 0 / 0.8787 GB, free: 7.105 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.001e-05/0.573, allocations: 23.92 kB / 0.8787 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/0.573, allocations: 0 / 0.8787 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002043/0.5732, allocations: 59.8 kB / 0.8788 GB, free: 7.023 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.052e-05/0.5733, allocations: 4 kB / 0.8788 GB, free: 7.02 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 () * 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.0001037/0.5734, allocations: 123.2 kB / 0.8789 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.684e-05/0.5734, allocations: 15.77 kB / 0.8789 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.544e-05/0.5735, allocations: 12.62 kB / 0.8789 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.5735, allocations: 8 kB / 0.8789 GB, free: 6.859 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.375e-06/0.5735, allocations: 7.984 kB / 0.8789 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.5735, allocations: 0 / 0.8789 GB, free: 6.852 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001647/0.5737, allocations: 217.4 kB / 0.8791 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.5737, allocations: 0 / 0.8791 GB, free: 6.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.389e-05/0.5737, allocations: 8 kB / 0.8791 GB, free: 6.582 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.276e-06/0.5738, allocations: 7.953 kB / 0.8792 GB, free: 6.574 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.5738, allocations: 4 kB / 0.8792 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.245e-06/0.5738, allocations: 0 / 0.8792 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.5738, allocations: 0 / 0.8792 GB, free: 6.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00029/0.5741, allocations: 250.7 kB / 0.8794 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/0.5741, allocations: 85.02 kB / 0.8795 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.329e-05/0.5742, allocations: 3.984 kB / 0.8795 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.356e-05/0.5742, allocations: 4 kB / 0.8795 GB, free: 6.184 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.643e-05/0.5743, allocations: 19.98 kB / 0.8795 GB, free: 6.164 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.5743, allocations: 4 kB / 0.8795 GB, free: 6.16 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.28e-05/0.5744, allocations: 108.4 kB / 0.8796 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5744, allocations: 0 / 0.8796 GB, free: 6.055 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003977/0.5748, allocations: 123.9 kB / 0.8797 GB, free: 5.934 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) * 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.0008875/0.5757, allocations: 1.015 MB / 0.8807 GB, free: 4.879 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0003155/0.576, allocations: 217 kB / 0.8809 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.576, allocations: 0 / 0.8809 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.424e-05/0.5761, allocations: 55.92 kB / 0.881 GB, free: 4.594 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001318/0.5762, allocations: 14.38 kB / 0.881 GB, free: 4.582 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005604/0.5768, allocations: 269.3 kB / 0.8813 GB, free: 4.281 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002285/0.577, allocations: 0.7165 MB / 0.882 GB, free: 3.539 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.094e-05/0.5771, allocations: 12.88 kB / 0.882 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.169e-05/0.5772, allocations: 35.42 kB / 0.882 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of SimCode: time 2.61e-07/0.5772, allocations: 0 / 0.882 GB, free: 3.488 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01521/0.5924, allocations: 4.249 MB / 0.8861 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001928/0.5926, allocations: 197.1 kB / 0.8863 GB, free: 15.24 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/2.225, allocations: 0 / 0.8863 GB, free: 15.24 MB / 0.5573 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)