Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004809/0.004809, allocations: 99.84 kB / 15.73 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001026/0.001026, allocations: 201.2 kB / 16.68 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002026/0.002026, allocations: 286.5 kB / 290.8 MB, free: 1.926 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9368/0.9368, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001606/0.001606, allocations: 99.83 kB / 0.6814 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1502, allocations: 86.97 MB / 0.7663 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002212/0.1524, allocations: 1.486 MB / 0.7678 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001025/0.1535, allocations: 0.6933 MB / 0.7685 GB, free: 6.285 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.682e-05/0.1535, allocations: 4 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.778e-05/0.1536, allocations: 7.922 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.639e-05/0.1537, allocations: 11.81 kB / 0.7685 GB, free: 6.262 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008493/0.1545, allocations: 346.7 kB / 0.7688 GB, free: 5.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1547, allocations: 171.7 kB / 0.769 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.944e-05/0.1548, allocations: 8 kB / 0.769 GB, free: 5.75 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.313e-05/0.1549, allocations: 67.88 kB / 0.7691 GB, free: 5.684 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.836e-05/0.155, allocations: 47.72 kB / 0.7691 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.269e-05/0.155, allocations: 12 kB / 0.7691 GB, free: 5.625 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003278/0.1553, allocations: 251.7 kB / 0.7694 GB, free: 5.379 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.022e-05/0.1554, allocations: 43.89 kB / 0.7694 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.6e-05/0.1555, allocations: 63.72 kB / 0.7695 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003491/0.1558, allocations: 299.1 kB / 0.7697 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.1559, allocations: 3.984 kB / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of FrontEnd: time 3.166e-06/0.1559, allocations: 0 / 0.7698 GB, free: 4.977 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.1559, allocations: 3.938 kB / 0.7698 GB, free: 4.973 MB / 0.5606 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.000547/0.1564, allocations: 478.5 kB / 0.7702 GB, free: 4.453 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 2.937e-05/0.1565, allocations: 12.03 kB / 0.7702 GB, free: 4.441 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.659e-05/0.1565, allocations: 16.84 kB / 0.7702 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001888/0.1567, allocations: 212.2 kB / 0.7704 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.1567, allocations: 4.375 kB / 0.7704 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.597e-05/0.1568, allocations: 12.38 kB / 0.7705 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001618/0.1569, allocations: 100.7 kB / 0.7706 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.124e-06/0.1569, allocations: 192 / 0.7706 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.157, allocations: 7.875 kB / 0.7706 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-06/0.157, allocations: 4 kB / 0.7706 GB, free: 4.039 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.245e-05/0.1571, allocations: 51.95 kB / 0.7706 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002286/0.1573, allocations: 247.3 kB / 0.7708 GB, free: 3.691 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.1574, allocations: 107.9 kB / 0.771 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.766e-05/0.1575, allocations: 78.61 kB / 0.771 GB, free: 3.473 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 7.845e-06/0.1576, allocations: 3.938 kB / 0.771 GB, free: 3.469 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001992/0.1578, allocations: 139.7 kB / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.112e-06/0.1578, allocations: 0 / 0.7712 GB, free: 3.312 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0003767/0.1582, allocations: 221.4 kB / 0.7714 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.1582, allocations: 106.8 kB / 0.7715 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.1583, allocations: 156 kB / 0.7716 GB, free: 2.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.1584, allocations: 33.7 kB / 0.7717 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.1584, allocations: 92.7 kB / 0.7717 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.365e-05/0.1585, allocations: 59.61 kB / 0.7718 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001234/0.1586, allocations: 57.7 kB / 0.7719 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1587, allocations: 334.8 kB / 0.7722 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.648e-05/0.1588, allocations: 48.27 kB / 0.7722 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001916/0.159, allocations: 184.4 kB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001738/0.1592, allocations: 130.6 kB / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.1592, allocations: 0 / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002799/0.1595, allocations: 206.2 kB / 0.7727 GB, free: 1.598 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.1595, allocations: 8 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.165e-05/0.1595, allocations: 7.938 kB / 0.7727 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.1596, allocations: 4 kB / 0.7727 GB, free: 1.578 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.478e-05/0.1597, allocations: 23.92 kB / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.1597, allocations: 0 / 0.7728 GB, free: 1.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002118/0.1599, allocations: 50.34 kB / 0.7728 GB, free: 1.508 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.45e-05/0.1599, allocations: 8 kB / 0.7728 GB, free: 1.5 MB / 0.5606 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001281/0.16, allocations: 140.7 kB / 0.773 GB, free: 1.355 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1601, allocations: 19.84 kB / 0.773 GB, free: 1.336 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.141e-05/0.1601, allocations: 12.72 kB / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.1601, allocations: 144 / 0.773 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1601, allocations: 3.984 kB / 0.773 GB, free: 1.32 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.1601, allocations: 7.984 kB / 0.773 GB, free: 1.312 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/0.1604, allocations: 201.5 kB / 0.7732 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1604, allocations: 4 kB / 0.7732 GB, free: 1.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.584e-05/0.1604, allocations: 15.98 kB / 0.7732 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1604, allocations: 0 / 0.7732 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.208e-05/0.1604, allocations: 4 kB / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1604, allocations: 0 / 0.7732 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1605, allocations: 7.938 kB / 0.7732 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003129/0.1608, allocations: 222.6 kB / 0.7734 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.1608, allocations: 92.95 kB / 0.7735 GB, free: 0.6836 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.478e-05/0.1609, allocations: 8 kB / 0.7735 GB, free: 0.6758 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.338e-05/0.1609, allocations: 7.938 kB / 0.7735 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.136e-05/0.161, allocations: 7.984 kB / 0.7735 GB, free: 0.6602 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.161, allocations: 8 kB / 0.7735 GB, free: 0.6523 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.774e-05/0.1611, allocations: 109.3 kB / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1611, allocations: 0 / 0.7737 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003302/0.1614, allocations: 99.8 kB / 0.7737 GB, free: 460 kB / 0.5606 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002686/0.1617, allocations: 202.9 kB / 0.7739 GB, free: 248 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002964/0.162, allocations: 217 kB / 0.7741 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.162, allocations: 0 / 0.7741 GB, free: 12 kB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.2841/0.4461, allocations: 53.59 kB / 0.7742 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002198/0.4464, allocations: 10 kB / 0.7742 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004604/0.4468, allocations: 249.3 kB / 0.7744 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.447, allocations: 0.7072 MB / 0.7751 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.754e-05/0.4471, allocations: 11.73 kB / 0.7751 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.098e-05/0.4471, allocations: 18.92 kB / 0.7752 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of SimCode: time 7.12e-07/0.4471, allocations: 1.5 kB / 0.7752 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of Templates: time 0.006103/0.4532, allocations: 3.106 MB / 0.7782 GB, free: 13.95 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)