Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007062/0.007062, allocations: 97.67 kB / 15.73 MB, free: 5.988 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.001735/0.001735, allocations: 192.2 kB / 16.67 MB, free: 5.918 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.746/1.746, 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/IDEAS 3.0.0/package.mo): time 0.813/0.813, allocations: 132.2 MB / 422.7 MB, free: 1.695 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 66.11 kB / 0.5808 GB, free: 1.125 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.156, allocations: 80.2 MB / 0.6592 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002514/0.1586, allocations: 1.485 MB / 0.6606 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1597, allocations: 0.6928 MB / 0.6613 GB, free: 11.83 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.1598, allocations: 4 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.441e-05/0.1599, allocations: 7.922 kB / 0.6613 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.5e-05/0.1599, allocations: 15.81 kB / 0.6613 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008853/0.1608, allocations: 347 kB / 0.6616 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002264/0.1611, allocations: 167.7 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.469e-05/0.1611, allocations: 7.984 kB / 0.6618 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.217e-05/0.1612, allocations: 71.89 kB / 0.6619 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.881e-05/0.1613, allocations: 59.69 kB / 0.6619 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.429e-05/0.1614, allocations: 12 kB / 0.6619 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.1617, allocations: 243.8 kB / 0.6622 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.351e-05/0.1618, allocations: 39.91 kB / 0.6622 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.806e-05/0.1619, allocations: 63.7 kB / 0.6623 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003961/0.1623, allocations: 295.4 kB / 0.6626 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1623, allocations: 7.984 kB / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.252e-06/0.1623, allocations: 0 / 0.6626 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.793e-06/0.1623, allocations: 4 kB / 0.6626 GB, free: 10.52 MB / 0.4981 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.0006695/0.163, allocations: 478.5 kB / 0.663 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.584e-05/0.1631, allocations: 15.97 kB / 0.663 GB, free: 9.98 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.016e-05/0.1631, allocations: 34.75 kB / 0.6631 GB, free: 9.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.1632, allocations: 20.83 kB / 0.6631 GB, free: 9.918 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/0.1634, allocations: 208.2 kB / 0.6633 GB, free: 9.676 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/0.1634, allocations: 8.375 kB / 0.6633 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.686e-05/0.1635, allocations: 8.375 kB / 0.6633 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001892/0.1636, allocations: 106.5 kB / 0.6634 GB, free: 9.543 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1637, allocations: 3.938 kB / 0.6634 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.1637, allocations: 0 / 0.6634 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.1637, allocations: 0 / 0.6634 GB, free: 9.539 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.798e-05/0.1638, allocations: 47.97 kB / 0.6635 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002817/0.1641, allocations: 255.3 kB / 0.6637 GB, free: 9.188 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001528/0.1642, allocations: 107.8 kB / 0.6638 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001065/0.1644, allocations: 78.69 kB / 0.6639 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 8.246e-06/0.1644, allocations: 3.938 kB / 0.6639 GB, free: 8.965 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002489/0.1646, allocations: 143.1 kB / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.282e-06/0.1646, allocations: 0 / 0.664 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004149/0.165, allocations: 213.5 kB / 0.6642 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.675e-05/0.1651, allocations: 118.8 kB / 0.6643 GB, free: 8.449 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.1653, allocations: 136.3 kB / 0.6645 GB, free: 8.309 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.1653, allocations: 33.7 kB / 0.6645 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.536e-05/0.1654, allocations: 104.7 kB / 0.6646 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.059e-05/0.1655, allocations: 55.58 kB / 0.6647 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.088e-05/0.1656, allocations: 61.69 kB / 0.6647 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.1657, allocations: 326.8 kB / 0.665 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.248e-05/0.1658, allocations: 52.25 kB / 0.6651 GB, free: 7.66 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002304/0.1661, allocations: 188.4 kB / 0.6653 GB, free: 7.434 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.1663, allocations: 121.6 kB / 0.6654 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1663, allocations: 0 / 0.6654 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002943/0.1666, allocations: 199.6 kB / 0.6656 GB, free: 7.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1666, allocations: 11.94 kB / 0.6656 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.28e-05/0.1666, allocations: 11.94 kB / 0.6656 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.1667, allocations: 0 / 0.6656 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.746e-05/0.1667, allocations: 23.98 kB / 0.6656 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.1668, allocations: 0 / 0.6656 GB, free: 7.062 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002156/0.167, allocations: 51.8 kB / 0.6657 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.167, allocations: 4 kB / 0.6657 GB, free: 7.008 MB / 0.4981 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.0001274/0.1671, allocations: 144.6 kB / 0.6658 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.1672, allocations: 15.94 kB / 0.6658 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.286e-05/0.1672, allocations: 12.72 kB / 0.6658 GB, free: 6.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.1672, allocations: 3.938 kB / 0.6658 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1672, allocations: 0 / 0.6658 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.1672, allocations: 4 kB / 0.6658 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.1674, allocations: 213.4 kB / 0.666 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1674, allocations: 0 / 0.666 GB, free: 6.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1675, allocations: 12 kB / 0.666 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.694e-06/0.1675, allocations: 0 / 0.666 GB, free: 6.547 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.581e-05/0.1675, allocations: 4 kB / 0.6661 GB, free: 6.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1675, allocations: 7.922 kB / 0.6661 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.1675, allocations: 8 kB / 0.6661 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000296/0.1678, allocations: 208.8 kB / 0.6663 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.2e-05/0.1679, allocations: 89.14 kB / 0.6664 GB, free: 6.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.651e-05/0.1679, allocations: 11.98 kB / 0.6664 GB, free: 6.184 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.17e-05/0.168, allocations: 7.938 kB / 0.6664 GB, free: 6.176 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.744e-05/0.168, allocations: 15.97 kB / 0.6664 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.133e-05/0.1681, allocations: 8 kB / 0.6664 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.463e-05/0.1681, allocations: 107.2 kB / 0.6665 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1681, allocations: 0 / 0.6665 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003173/0.1685, allocations: 99.8 kB / 0.6666 GB, free: 5.949 MB / 0.4981 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.0007898/0.1693, allocations: 0.8408 MB / 0.6674 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003322/0.1696, allocations: 228.1 kB / 0.6676 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1696, allocations: 0 / 0.6676 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.018e-05/0.1697, allocations: 55.92 kB / 0.6677 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/0.1699, allocations: 15.92 kB / 0.6677 GB, free: 4.766 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001982/0.1719, allocations: 1.839 MB / 0.6695 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.1722, allocations: 0.7123 MB / 0.6702 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.069e-05/0.1723, allocations: 4.891 kB / 0.6702 GB, free: 2.078 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.591e-05/0.1723, allocations: 42.27 kB / 0.6702 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1723, allocations: 0 / 0.6702 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02668/0.199, allocations: 4.591 MB / 0.6747 GB, free: 13.62 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.78/8.979, allocations: 20.42 kB / 0.6747 GB, free: 13.61 MB / 0.5137 GB (rm -f IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)