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.005047/0.005047, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001201/0.001201, allocations: 194.6 kB / 16.68 MB, free: 5.969 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.371/1.371, 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.8331/0.8331, allocations: 135.6 MB / 426.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 66.02 kB / 0.5857 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1454/0.1472, allocations: 81.02 MB / 0.6648 GB, free: 5.664 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002624/0.1498, allocations: 1.477 MB / 0.6663 GB, free: 4.184 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001232/0.1511, allocations: 0.6891 MB / 0.6669 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.1511, allocations: 3.938 kB / 0.6669 GB, free: 3.488 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.531e-05/0.1512, allocations: 7.922 kB / 0.667 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.952e-05/0.1513, allocations: 11.88 kB / 0.667 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008988/0.1522, allocations: 350.1 kB / 0.6673 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002375/0.1525, allocations: 179.6 kB / 0.6675 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.353e-05/0.1525, allocations: 8 kB / 0.6675 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.093e-05/0.1526, allocations: 67.89 kB / 0.6675 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.331e-05/0.1527, allocations: 47.77 kB / 0.6676 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.1527, allocations: 12 kB / 0.6676 GB, free: 2.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003804/0.1531, allocations: 259.7 kB / 0.6678 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.538e-05/0.1532, allocations: 31.91 kB / 0.6679 GB, free: 2.535 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.235e-05/0.1533, allocations: 67.7 kB / 0.6679 GB, free: 2.469 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.1537, allocations: 299.4 kB / 0.6682 GB, free: 2.176 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.1538, allocations: 4 kB / 0.6682 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1538, allocations: 0 / 0.6682 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.1538, allocations: 0 / 0.6682 GB, free: 2.172 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.0006875/0.1545, allocations: 482.4 kB / 0.6687 GB, free: 1.648 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.1545, allocations: 13.11 kB / 0.6687 GB, free: 1.637 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.265e-05/0.1546, allocations: 30.75 kB / 0.6687 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.039e-05/0.1546, allocations: 16.84 kB / 0.6688 GB, free: 1.582 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.1548, allocations: 212.2 kB / 0.669 GB, free: 1.336 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1549, allocations: 12.36 kB / 0.669 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.1549, allocations: 12.38 kB / 0.669 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001805/0.1551, allocations: 92.8 kB / 0.6691 GB, free: 1.207 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.1551, allocations: 3.938 kB / 0.6691 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.198e-05/0.1551, allocations: 4 kB / 0.6691 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.1551, allocations: 0 / 0.6691 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.4e-05/0.1552, allocations: 47.91 kB / 0.6691 GB, free: 1.152 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002779/0.1555, allocations: 251.3 kB / 0.6694 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001621/0.1557, allocations: 115.8 kB / 0.6695 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001039/0.1558, allocations: 70.7 kB / 0.6695 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.694e-05/0.1558, allocations: 8 kB / 0.6695 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002544/0.1561, allocations: 139.6 kB / 0.6697 GB, free: 480 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.263e-06/0.1561, allocations: 0 / 0.6697 GB, free: 480 kB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004141/0.1565, allocations: 218.1 kB / 0.6699 GB, free: 256 kB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.401e-05/0.1566, allocations: 118.8 kB / 0.67 GB, free: 112 kB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.1567, allocations: 139.4 kB / 0.6701 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1568, allocations: 37.7 kB / 0.6702 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1569, allocations: 96.69 kB / 0.6703 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.1569, allocations: 59.58 kB / 0.6703 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.15e-05/0.157, allocations: 61.69 kB / 0.6704 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.1572, allocations: 326.8 kB / 0.6707 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.676e-05/0.1573, allocations: 56.05 kB / 0.6707 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002309/0.1575, allocations: 188.4 kB / 0.6709 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001979/0.1577, allocations: 130.5 kB / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.1577, allocations: 0 / 0.671 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003235/0.1581, allocations: 205.3 kB / 0.6712 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1581, allocations: 12 kB / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.568e-05/0.1581, allocations: 4 kB / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.1581, allocations: 3.938 kB / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.857e-05/0.1582, allocations: 15.94 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1582, allocations: 4.219 kB / 0.6713 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.1585, allocations: 51.8 kB / 0.6713 GB, free: 14.66 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.767e-05/0.1585, allocations: 11.98 kB / 0.6713 GB, free: 14.64 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.0001314/0.1586, allocations: 144 kB / 0.6715 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.1587, allocations: 7.953 kB / 0.6715 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.669e-05/0.1587, allocations: 20.7 kB / 0.6715 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1587, allocations: 0 / 0.6715 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1587, allocations: 4 kB / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.1587, allocations: 144 / 0.6715 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00019/0.1589, allocations: 217.4 kB / 0.6717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.326e-06/0.1589, allocations: 4 kB / 0.6717 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.159, allocations: 8 kB / 0.6717 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.159, allocations: 4 kB / 0.6717 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.017e-05/0.159, allocations: 4 kB / 0.6717 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.56e-06/0.159, allocations: 7.984 kB / 0.6717 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.159, allocations: 0 / 0.6717 GB, free: 14.18 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.1593, allocations: 214.5 kB / 0.6719 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.692e-05/0.1594, allocations: 89 kB / 0.672 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.059e-05/0.1594, allocations: 4 kB / 0.672 GB, free: 13.83 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.653e-05/0.1595, allocations: 15.92 kB / 0.6721 GB, free: 13.82 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.407e-05/0.1595, allocations: 11.98 kB / 0.6721 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1596, allocations: 4 kB / 0.6721 GB, free: 13.8 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 8.105e-05/0.1596, allocations: 105.1 kB / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1597, allocations: 0 / 0.6722 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003524/0.16, allocations: 103.8 kB / 0.6723 GB, free: 13.6 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.0008075/0.1608, allocations: 0.8459 MB / 0.6731 GB, free: 12.72 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000325/0.1612, allocations: 217 kB / 0.6733 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1612, allocations: 0 / 0.6733 GB, free: 12.49 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.637e-05/0.1613, allocations: 59.92 kB / 0.6734 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001708/0.1615, allocations: 11.92 kB / 0.6734 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002015/0.1635, allocations: 1.829 MB / 0.6752 GB, free: 10.48 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.1638, allocations: 0.7123 MB / 0.6758 GB, free: 9.742 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.693e-05/0.1639, allocations: 8.891 kB / 0.6759 GB, free: 9.73 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.1639, allocations: 35.42 kB / 0.6759 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.1639, allocations: 0 / 0.6759 GB, free: 9.695 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09407/0.258, allocations: 4.624 MB / 0.6804 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.522, allocations: 7.688 kB / 0.6804 GB, free: 5.227 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)