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.006216/0.006216, allocations: 101.3 kB / 15.73 MB, free: 5.586 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.001487/0.001487, allocations: 189.1 kB / 16.67 MB, free: 5.523 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7472/0.7472, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 62.56 kB / 0.5808 GB, free: 23.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.1448, allocations: 80.22 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002494/0.1474, allocations: 1.471 MB / 0.6606 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.1485, allocations: 0.699 MB / 0.6613 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.115e-05/0.1486, allocations: 4 kB / 0.6613 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 8.006e-05/0.1487, allocations: 11.86 kB / 0.6613 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.044e-05/0.1488, allocations: 11.88 kB / 0.6613 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009416/0.1497, allocations: 350.5 kB / 0.6616 GB, free: 8.234 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002/0.1499, allocations: 167.6 kB / 0.6618 GB, free: 8.07 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.165e-05/0.15, allocations: 8 kB / 0.6618 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.87e-05/0.15, allocations: 63.89 kB / 0.6619 GB, free: 8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.316e-05/0.1501, allocations: 51.77 kB / 0.6619 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 2.737e-05/0.1502, allocations: 12 kB / 0.6619 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002899/0.1504, allocations: 247.7 kB / 0.6622 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 6.54e-05/0.1505, allocations: 39.91 kB / 0.6622 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.462e-05/0.1506, allocations: 63.7 kB / 0.6623 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.1509, allocations: 298.8 kB / 0.6625 GB, free: 7.305 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.151, allocations: 7.922 kB / 0.6626 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.032e-06/0.151, allocations: 3.938 kB / 0.6626 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.151, allocations: 0 / 0.6626 GB, free: 7.293 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.0005382/0.1515, allocations: 475.2 kB / 0.663 GB, free: 6.777 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.09e-05/0.1515, allocations: 8.031 kB / 0.663 GB, free: 6.77 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.491e-05/0.1516, allocations: 42.75 kB / 0.6631 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.269e-05/0.1516, allocations: 12.83 kB / 0.6631 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.1518, allocations: 212.1 kB / 0.6633 GB, free: 6.461 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.448e-06/0.1518, allocations: 4.375 kB / 0.6633 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.1519, allocations: 12.38 kB / 0.6633 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.152, allocations: 98.14 kB / 0.6634 GB, free: 6.336 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.397e-06/0.1521, allocations: 3.938 kB / 0.6634 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.1521, allocations: 4 kB / 0.6634 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1521, allocations: 4 kB / 0.6634 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.732e-05/0.1522, allocations: 47.91 kB / 0.6634 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002166/0.1524, allocations: 255.3 kB / 0.6637 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001262/0.1525, allocations: 103.8 kB / 0.6638 GB, free: 5.844 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.871e-05/0.1526, allocations: 82.69 kB / 0.6639 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.1526, allocations: 0 / 0.6639 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002357/0.1529, allocations: 137.7 kB / 0.664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.242e-06/0.1529, allocations: 0 / 0.664 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003651/0.1533, allocations: 221.6 kB / 0.6642 GB, free: 5.375 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.36e-05/0.1533, allocations: 114.8 kB / 0.6643 GB, free: 5.238 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.882e-05/0.1534, allocations: 143.8 kB / 0.6645 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.1535, allocations: 37.7 kB / 0.6645 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.736e-05/0.1535, allocations: 96.69 kB / 0.6646 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.398e-05/0.1536, allocations: 55.34 kB / 0.6646 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.684e-05/0.1537, allocations: 61.62 kB / 0.6647 GB, free: 4.828 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.634e-05/0.1538, allocations: 334.8 kB / 0.665 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.1539, allocations: 56.25 kB / 0.6651 GB, free: 4.434 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001838/0.154, allocations: 172.5 kB / 0.6652 GB, free: 4.223 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001677/0.1542, allocations: 136 kB / 0.6654 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1542, allocations: 0 / 0.6654 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002643/0.1545, allocations: 201.2 kB / 0.6655 GB, free: 3.883 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.1545, allocations: 4 kB / 0.6656 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/0.1545, allocations: 4 kB / 0.6656 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.1546, allocations: 4 kB / 0.6656 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.1546, allocations: 15.98 kB / 0.6656 GB, free: 3.855 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1547, allocations: 7.938 kB / 0.6656 GB, free: 3.848 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001901/0.1548, allocations: 47.8 kB / 0.6656 GB, free: 3.801 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.565e-05/0.1549, allocations: 12 kB / 0.6656 GB, free: 3.789 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.0001086/0.155, allocations: 136.9 kB / 0.6658 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.288e-05/0.155, allocations: 15.8 kB / 0.6658 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.103e-05/0.155, allocations: 12.72 kB / 0.6658 GB, free: 3.613 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.1551, allocations: 4 kB / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.1551, allocations: 0 / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.1551, allocations: 0 / 0.6658 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001445/0.1552, allocations: 209.5 kB / 0.666 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1552, allocations: 8 kB / 0.666 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.195e-05/0.1553, allocations: 15.94 kB / 0.666 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1553, allocations: 0 / 0.666 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.1553, allocations: 4 kB / 0.666 GB, free: 3.328 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.1553, allocations: 3.984 kB / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1553, allocations: 0 / 0.666 GB, free: 3.324 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.1556, allocations: 214.6 kB / 0.6662 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.014e-05/0.1556, allocations: 92.94 kB / 0.6663 GB, free: 2.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/0.1556, allocations: 11.92 kB / 0.6663 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.666e-05/0.1557, allocations: 7.938 kB / 0.6663 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.44e-05/0.1557, allocations: 7.984 kB / 0.6664 GB, free: 2.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.24e-05/0.1558, allocations: 12 kB / 0.6664 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.649e-05/0.1558, allocations: 103.2 kB / 0.6665 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1558, allocations: 0 / 0.6665 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003061/0.1561, allocations: 99.98 kB / 0.6666 GB, free: 2.742 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.0006401/0.1568, allocations: 0.8508 MB / 0.6674 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002957/0.1571, allocations: 213 kB / 0.6676 GB, free: 1.633 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1571, allocations: 8 kB / 0.6676 GB, free: 1.625 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.121e-05/0.1572, allocations: 55.92 kB / 0.6677 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.1574, allocations: 17.8 kB / 0.6677 GB, free: 1.555 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001588/0.159, allocations: 1.822 MB / 0.6694 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/0.1592, allocations: 0.7123 MB / 0.6701 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 4.248e-05/0.1592, allocations: 8.891 kB / 0.6702 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.639e-05/0.1593, allocations: 39.36 kB / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of SimCode: time 2.21e-07/0.1593, allocations: 0 / 0.6702 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01934/0.1786, allocations: 4.599 MB / 0.6747 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.223/7.402, allocations: 17.98 kB / 0.6747 GB, free: 10.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > IDEAS_IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)