Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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: "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="IDEAS_dev_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.007675/0.007675, allocations: 103 kB / 15.73 MB, free: 6.055 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.001649/0.001649, allocations: 190.1 kB / 16.67 MB, free: 5.973 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.816/0.816, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001463/0.001463, allocations: 62.16 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1623, allocations: 80.91 MB / 0.6641 GB, free: 6.34 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.00251/0.1648, allocations: 1.479 MB / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.166, allocations: 0.6929 MB / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.598e-05/0.1661, allocations: 0 / 0.6662 GB, free: 4.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.423e-05/0.1662, allocations: 11.86 kB / 0.6662 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.1663, allocations: 19.84 kB / 0.6663 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009947/0.1673, allocations: 350.4 kB / 0.6666 GB, free: 3.789 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002384/0.1675, allocations: 175.6 kB / 0.6668 GB, free: 3.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.986e-05/0.1676, allocations: 4 kB / 0.6668 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.406e-05/0.1677, allocations: 63.89 kB / 0.6668 GB, free: 3.551 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.39e-05/0.1678, allocations: 55.75 kB / 0.6669 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.1678, allocations: 12 kB / 0.6669 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003639/0.1682, allocations: 243.8 kB / 0.6671 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.83e-05/0.1683, allocations: 39.84 kB / 0.6672 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 8.832e-05/0.1683, allocations: 67.7 kB / 0.6672 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004344/0.1688, allocations: 302.8 kB / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.1688, allocations: 0 / 0.6675 GB, free: 2.848 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.422e-06/0.1688, allocations: 3.938 kB / 0.6675 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.1688, allocations: 0 / 0.6675 GB, free: 2.844 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.0006498/0.1695, allocations: 467.3 kB / 0.668 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.1695, allocations: 9.109 kB / 0.668 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.1696, allocations: 42.73 kB / 0.668 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.1696, allocations: 20.75 kB / 0.668 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.1699, allocations: 208.1 kB / 0.6682 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.534e-05/0.1699, allocations: 12.31 kB / 0.6682 GB, free: 2.004 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.606e-05/0.1699, allocations: 8.375 kB / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002034/0.1701, allocations: 98.67 kB / 0.6684 GB, free: 1.887 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.1702, allocations: 3.938 kB / 0.6684 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.1702, allocations: 7.984 kB / 0.6684 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1702, allocations: 0 / 0.6684 GB, free: 1.875 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000104/0.1703, allocations: 51.91 kB / 0.6684 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.1706, allocations: 247.3 kB / 0.6686 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000146/0.1707, allocations: 115.8 kB / 0.6688 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.705e-05/0.1708, allocations: 70.67 kB / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.165e-05/0.1709, allocations: 0 / 0.6688 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002739/0.1711, allocations: 143.8 kB / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.212e-06/0.1711, allocations: 0 / 0.669 GB, free: 1.148 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004176/0.1716, allocations: 213.3 kB / 0.6692 GB, free: 0.9336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.889e-05/0.1717, allocations: 122.8 kB / 0.6693 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.1718, allocations: 141.7 kB / 0.6694 GB, free: 0.6406 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.504e-05/0.1718, allocations: 41.7 kB / 0.6695 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.175e-05/0.1719, allocations: 92.7 kB / 0.6695 GB, free: 0.5 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-05/0.172, allocations: 47.36 kB / 0.6696 GB, free: 464 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.968e-05/0.1721, allocations: 65.69 kB / 0.6697 GB, free: 392 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.1722, allocations: 326.8 kB / 0.67 GB, free: 56 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.1723, allocations: 56.25 kB / 0.67 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000197/0.1725, allocations: 176.5 kB / 0.6702 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001879/0.1727, allocations: 134.5 kB / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.1727, allocations: 0 / 0.6703 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002901/0.173, allocations: 205.2 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.173, allocations: 5.719 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.291e-05/0.1731, allocations: 4 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.1731, allocations: 4 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.482e-05/0.1732, allocations: 15.92 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.1732, allocations: 4.938 kB / 0.6705 GB, free: 15.4 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.1734, allocations: 43.8 kB / 0.6706 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.1734, allocations: 16 kB / 0.6706 GB, free: 15.34 MB / 0.5137 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.0001286/0.1736, allocations: 144.1 kB / 0.6707 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.1736, allocations: 15.81 kB / 0.6708 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.324e-05/0.1736, allocations: 12.72 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.1737, allocations: 4 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.1737, allocations: 0 / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1737, allocations: 3.984 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.1738, allocations: 205.5 kB / 0.671 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.1739, allocations: 11.94 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.948e-05/0.1739, allocations: 15.98 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.1739, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.337e-05/0.1739, allocations: 4 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.174, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.174, allocations: 0 / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002917/0.1743, allocations: 218.4 kB / 0.6712 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.641e-05/0.1743, allocations: 96.95 kB / 0.6713 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.1743, allocations: 4 kB / 0.6713 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.373e-05/0.1744, allocations: 3.938 kB / 0.6713 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.579e-05/0.1745, allocations: 15.98 kB / 0.6713 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1745, allocations: 4 kB / 0.6713 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.558e-05/0.1745, allocations: 107.2 kB / 0.6714 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1746, allocations: 0 / 0.6714 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003572/0.1749, allocations: 95.98 kB / 0.6715 GB, free: 14.3 MB / 0.5137 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.0007664/0.1757, allocations: 0.8547 MB / 0.6724 GB, free: 13.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.176, allocations: 217 kB / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1761, allocations: 0 / 0.6726 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 8.45e-05/0.1761, allocations: 55.92 kB / 0.6726 GB, free: 13.12 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001723/0.1763, allocations: 13.5 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.1783, allocations: 1.822 MB / 0.6744 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002717/0.1786, allocations: 0.7123 MB / 0.6751 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.215e-05/0.1786, allocations: 12.88 kB / 0.6751 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.693e-05/0.1787, allocations: 31.42 kB / 0.6751 GB, free: 10.4 MB / 0.5137 GB Notification: Performance of SimCode: time 3.9e-07/0.1787, allocations: 3.938 kB / 0.6752 GB, free: 10.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02281/0.2015, allocations: 4.677 MB / 0.6797 GB, free: 5.879 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.777/7.979, allocations: 10.38 kB / 0.6797 GB, free: 5.875 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_dev_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)