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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7717/0.7717, allocations: 143.4 MB / 158.3 MB, free: 5.797 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.001017/0.001017, 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.408/1.408, allocations: 223.2 MB / 447.7 MB, free: 6.547 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.0008328/0.0008328, allocations: 95.66 kB / 0.5188 GB, free: 2.891 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001707/0.001707, allocations: 274.1 kB / 0.6005 GB, free: 49 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004255, allocations: 16 kB / 0.6929 GB, free: 2.332 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3151/0.3155, allocations: 82.77 MB / 0.7737 GB, free: 26.25 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1353/0.4509, allocations: 109.1 MB / 0.8802 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.4511, allocations: 79.83 kB / 0.8803 GB, free: 12.94 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01435/0.4655, allocations: 5.071 MB / 0.8853 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4656, allocations: 0 / 0.8853 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4656, allocations: 0 / 0.8853 GB, free: 7.852 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.0005697/0.4661, allocations: 474.8 kB / 0.8857 GB, free: 7.34 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.4662, allocations: 12.03 kB / 0.8857 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.4662, allocations: 11.84 kB / 0.8857 GB, free: 7.316 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.4665, allocations: 218.8 kB / 0.886 GB, free: 7.062 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.785e-05/0.4666, allocations: 11.89 kB / 0.886 GB, free: 7.051 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.625e-05/0.4666, allocations: 12 kB / 0.886 GB, free: 7.039 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.4668, allocations: 101.6 kB / 0.8861 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.4668, allocations: 0 / 0.8861 GB, free: 6.926 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.4668, allocations: 4 kB / 0.8861 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.4668, allocations: 0 / 0.8861 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.624e-05/0.4669, allocations: 55.91 kB / 0.8861 GB, free: 6.867 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000255/0.4672, allocations: 251.3 kB / 0.8864 GB, free: 6.566 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.4673, allocations: 115.8 kB / 0.8865 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.767e-06/0.4673, allocations: 0 / 0.8865 GB, free: 6.426 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001928/0.4675, allocations: 140 kB / 0.8866 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=21): time 1.152e-06/0.4676, allocations: 0 / 0.8866 GB, free: 6.266 MB / 0.5417 GB Notification: Performance of matching and sorting (n=21): time 0.0005281/0.4681, allocations: 464.6 kB / 0.8871 GB, free: 5.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.558e-05/0.4682, allocations: 122.8 kB / 0.8872 GB, free: 5.605 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4683, allocations: 122.4 kB / 0.8873 GB, free: 5.48 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 3.857e-05/0.4683, allocations: 37.7 kB / 0.8873 GB, free: 5.438 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.591e-05/0.4684, allocations: 100.6 kB / 0.8874 GB, free: 5.336 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 6.4e-05/0.4685, allocations: 63.27 kB / 0.8875 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.183e-06/0.4685, allocations: 0 / 0.8875 GB, free: 5.273 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.4686, allocations: 326.8 kB / 0.8878 GB, free: 4.945 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.4687, allocations: 56.72 kB / 0.8878 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.4689, allocations: 191.6 kB / 0.888 GB, free: 4.648 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001188/0.469, allocations: 79.34 kB / 0.8881 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.469, allocations: 0 / 0.8881 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002965/0.4693, allocations: 210.1 kB / 0.8883 GB, free: 4.363 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.4693, allocations: 4 kB / 0.8883 GB, free: 4.359 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.588e-05/0.4694, allocations: 4 kB / 0.8883 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.4694, allocations: 4 kB / 0.8883 GB, free: 4.352 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.849e-05/0.4695, allocations: 19.92 kB / 0.8883 GB, free: 4.332 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.4695, allocations: 11.94 kB / 0.8883 GB, free: 4.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001951/0.4697, allocations: 47.86 kB / 0.8884 GB, free: 4.273 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.099e-05/0.4697, allocations: 8 kB / 0.8884 GB, free: 4.266 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.0001277/0.4699, allocations: 144.7 kB / 0.8885 GB, free: 4.117 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.205e-05/0.4699, allocations: 19.84 kB / 0.8886 GB, free: 4.098 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.221e-05/0.4699, allocations: 12.72 kB / 0.8886 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.47, allocations: 0 / 0.8886 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.47, allocations: 0 / 0.8886 GB, free: 4.086 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.47, allocations: 4 kB / 0.8886 GB, free: 4.082 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001691/0.4702, allocations: 217.4 kB / 0.8888 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.4702, allocations: 0 / 0.8888 GB, free: 3.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.382e-05/0.4702, allocations: 11.98 kB / 0.8888 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.4702, allocations: 0 / 0.8888 GB, free: 3.809 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.3e-05/0.4702, allocations: 7.953 kB / 0.8888 GB, free: 3.801 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.4702, allocations: 4 kB / 0.8888 GB, free: 3.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.4703, allocations: 4 kB / 0.8888 GB, free: 3.793 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.4705, allocations: 240.5 kB / 0.889 GB, free: 3.523 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.472e-05/0.4706, allocations: 92.86 kB / 0.8891 GB, free: 3.414 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.4706, allocations: 7.938 kB / 0.8891 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.4707, allocations: 12 kB / 0.8891 GB, free: 3.395 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.4708, allocations: 11.98 kB / 0.8892 GB, free: 3.383 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.478e-05/0.4708, allocations: 7.984 kB / 0.8892 GB, free: 3.375 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 6.309e-05/0.4708, allocations: 105.3 kB / 0.8893 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4709, allocations: 0 / 0.8893 GB, free: 3.273 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004241/0.4713, allocations: 111.9 kB / 0.8894 GB, free: 3.164 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.0003166/0.4716, allocations: 223.1 kB / 0.8896 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002959/0.4719, allocations: 221.4 kB / 0.8898 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4719, allocations: 0 / 0.8898 GB, free: 2.699 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.432e-05/0.472, allocations: 55.91 kB / 0.8898 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001175/0.4721, allocations: 19.67 kB / 0.8899 GB, free: 2.629 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.4726, allocations: 259.9 kB / 0.8901 GB, free: 2.348 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002476/0.4728, allocations: 0.7126 MB / 0.8908 GB, free: 1.609 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.591e-05/0.4729, allocations: 5.172 kB / 0.8908 GB, free: 1.602 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.4729, allocations: 19.42 kB / 0.8908 GB, free: 1.582 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.4729, allocations: 4 kB / 0.8908 GB, free: 1.578 MB / 0.5417 GB Notification: Performance of Templates: time 0.005202/0.4781, allocations: 2.834 MB / 0.8936 GB, free: 14.8 MB / 0.5573 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)