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.00621/0.00621, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001089/0.00109, allocations: 190.5 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7858/0.7858, allocations: 135.1 MB / 425.7 MB, free: 4.09 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 62.25 kB / 0.5851 GB, free: 21.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1513, allocations: 80.92 MB / 0.6641 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002704/0.1541, allocations: 1.495 MB / 0.6656 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001146/0.1553, allocations: 0.6929 MB / 0.6663 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.821e-05/0.1553, allocations: 0 / 0.6663 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 7.859e-05/0.1554, allocations: 7.922 kB / 0.6663 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.909e-05/0.1555, allocations: 19.84 kB / 0.6663 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.1566, allocations: 346.7 kB / 0.6666 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1569, allocations: 167.6 kB / 0.6668 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.579e-05/0.1569, allocations: 7.984 kB / 0.6668 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.99e-05/0.157, allocations: 63.89 kB / 0.6668 GB, free: 3.539 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1571, allocations: 55.75 kB / 0.6669 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.1571, allocations: 12 kB / 0.6669 GB, free: 3.473 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003846/0.1575, allocations: 247.7 kB / 0.6671 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.533e-05/0.1576, allocations: 39.91 kB / 0.6672 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 9.496e-05/0.1577, allocations: 63.7 kB / 0.6672 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000486/0.1582, allocations: 302.8 kB / 0.6675 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1582, allocations: 0 / 0.6675 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1582, allocations: 0 / 0.6675 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.1583, allocations: 4 kB / 0.6675 GB, free: 2.832 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.000714/0.159, allocations: 471.3 kB / 0.668 GB, free: 2.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.589e-05/0.159, allocations: 9.109 kB / 0.668 GB, free: 2.312 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.527e-05/0.1591, allocations: 46.67 kB / 0.668 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.349e-05/0.1592, allocations: 20.75 kB / 0.6681 GB, free: 2.238 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.1594, allocations: 208.1 kB / 0.6683 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.54e-05/0.1594, allocations: 4.375 kB / 0.6683 GB, free: 1.992 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.1594, allocations: 12.38 kB / 0.6683 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001832/0.1596, allocations: 96.8 kB / 0.6684 GB, free: 1.871 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.1597, allocations: 7.875 kB / 0.6684 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1597, allocations: 0 / 0.6684 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1597, allocations: 0 / 0.6684 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001079/0.1598, allocations: 51.97 kB / 0.6684 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002811/0.1601, allocations: 247.3 kB / 0.6687 GB, free: 1.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.1602, allocations: 111.8 kB / 0.6688 GB, free: 1.379 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00012/0.1604, allocations: 74.61 kB / 0.6688 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.1604, allocations: 4 kB / 0.6688 GB, free: 1.293 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.1607, allocations: 141.8 kB / 0.669 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.353e-06/0.1607, allocations: 0 / 0.669 GB, free: 1.133 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.000437/0.1611, allocations: 218 kB / 0.6692 GB, free: 0.9141 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.214e-05/0.1612, allocations: 114.8 kB / 0.6693 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/0.1613, allocations: 147.6 kB / 0.6694 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.561e-05/0.1614, allocations: 37.7 kB / 0.6695 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.036e-05/0.1615, allocations: 92.7 kB / 0.6696 GB, free: 500 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.361e-05/0.1615, allocations: 55.34 kB / 0.6696 GB, free: 444 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.936e-05/0.1616, allocations: 57.7 kB / 0.6697 GB, free: 380 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.1617, allocations: 330.8 kB / 0.67 GB, free: 40 kB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001049/0.1619, allocations: 52.34 kB / 0.67 GB, free: 15.98 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000199/0.1621, allocations: 180.5 kB / 0.6702 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001887/0.1623, allocations: 134.5 kB / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.1623, allocations: 0 / 0.6703 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002874/0.1626, allocations: 197.3 kB / 0.6705 GB, free: 15.43 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.378e-05/0.1626, allocations: 4 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.397e-05/0.1626, allocations: 4 kB / 0.6705 GB, free: 15.42 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.1626, allocations: 11.92 kB / 0.6705 GB, free: 15.41 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.154e-05/0.1627, allocations: 15.94 kB / 0.6705 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.622e-06/0.1627, allocations: 4.234 kB / 0.6706 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002072/0.163, allocations: 43.8 kB / 0.6706 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.533e-05/0.163, allocations: 12 kB / 0.6706 GB, free: 15.33 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.0001256/0.1631, allocations: 144 kB / 0.6707 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.1631, allocations: 15.81 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.1632, allocations: 8.719 kB / 0.6708 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1632, allocations: 4 kB / 0.6708 GB, free: 15.15 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1632, allocations: 7.938 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.952e-06/0.1632, allocations: 7.984 kB / 0.6708 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001574/0.1634, allocations: 205.6 kB / 0.671 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.1634, allocations: 4 kB / 0.671 GB, free: 14.88 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.74e-05/0.1634, allocations: 11.98 kB / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1634, allocations: 3.984 kB / 0.671 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.679e-05/0.1635, allocations: 8 kB / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1635, allocations: 3.984 kB / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1635, allocations: 0 / 0.671 GB, free: 14.86 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000278/0.1638, allocations: 224.3 kB / 0.6712 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.828e-05/0.1638, allocations: 88.95 kB / 0.6713 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.324e-05/0.1639, allocations: 4 kB / 0.6713 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.573e-05/0.1639, allocations: 11.94 kB / 0.6713 GB, free: 14.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.307e-05/0.164, allocations: 7.984 kB / 0.6713 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.164, allocations: 8 kB / 0.6713 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 7.347e-05/0.1641, allocations: 104.8 kB / 0.6714 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 0 / 0.6714 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004128/0.1645, allocations: 95.98 kB / 0.6715 GB, free: 14.28 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.0008094/0.1653, allocations: 0.8493 MB / 0.6724 GB, free: 13.4 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003352/0.1657, allocations: 222.4 kB / 0.6726 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1657, allocations: 0 / 0.6726 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 9.315e-05/0.1658, allocations: 55.98 kB / 0.6726 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001802/0.166, allocations: 15.88 kB / 0.6726 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001878/0.1678, allocations: 1.822 MB / 0.6744 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000267/0.1681, allocations: 0.7084 MB / 0.6751 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.194e-05/0.1682, allocations: 12.88 kB / 0.6751 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.461e-05/0.1682, allocations: 35.36 kB / 0.6752 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of SimCode: time 3.71e-07/0.1682, allocations: 0 / 0.6752 GB, free: 10.38 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02352/0.1918, allocations: 4.612 MB / 0.6797 GB, free: 5.926 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.744/7.936, allocations: 8.688 kB / 0.6797 GB, free: 5.922 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)