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.001108/0.001108, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.182/1.182, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.829/0.829, allocations: 135.1 MB / 425.5 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.12 kB / 0.5054 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1621/0.1634, allocations: 80.93 MB / 0.5845 GB, free: 4.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002524/0.166, allocations: 1.46 MB / 0.5859 GB, free: 3 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00103/0.167, allocations: 0.6945 MB / 0.5866 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.167, allocations: 0 / 0.5866 GB, free: 2.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 8.374e-05/0.1671, allocations: 7.875 kB / 0.5866 GB, free: 2.297 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.87e-05/0.1672, allocations: 15.86 kB / 0.5866 GB, free: 2.281 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008187/0.168, allocations: 342.4 kB / 0.5869 GB, free: 1.949 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1682, allocations: 171.6 kB / 0.5871 GB, free: 1.781 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.933e-05/0.1683, allocations: 4 kB / 0.5871 GB, free: 1.777 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.509e-05/0.1684, allocations: 71.83 kB / 0.5872 GB, free: 1.707 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.83e-05/0.1685, allocations: 51.77 kB / 0.5872 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.132e-05/0.1685, allocations: 12 kB / 0.5872 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003175/0.1688, allocations: 255.7 kB / 0.5875 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.742e-05/0.1689, allocations: 35.91 kB / 0.5875 GB, free: 1.359 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.094e-05/0.169, allocations: 63.7 kB / 0.5876 GB, free: 1.297 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003685/0.1694, allocations: 295.6 kB / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1694, allocations: 0 / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1694, allocations: 0 / 0.5878 GB, free: 1.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.1694, allocations: 0 / 0.5878 GB, free: 1.008 MB / 494.1 MB 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.000596/0.17, allocations: 482.9 kB / 0.5883 GB, free: 496 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.17, allocations: 19.97 kB / 0.5883 GB, free: 476 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.404e-05/0.1701, allocations: 34.75 kB / 0.5884 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.989e-05/0.1701, allocations: 16.84 kB / 0.5884 GB, free: 416 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002/0.1703, allocations: 210.4 kB / 0.5886 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.1703, allocations: 16.3 kB / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.386e-05/0.1704, allocations: 8.375 kB / 0.5886 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.1706, allocations: 100.7 kB / 0.5887 GB, free: 28 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/0.1706, allocations: 11.92 kB / 0.5887 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.1706, allocations: 0 / 0.5887 GB, free: 16 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1706, allocations: 4 kB / 0.5887 GB, free: 12 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001052/0.1707, allocations: 47.91 kB / 0.5888 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002506/0.171, allocations: 243.3 kB / 0.589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.1711, allocations: 111.9 kB / 0.5891 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.751e-05/0.1712, allocations: 74.66 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1713, allocations: 4 kB / 0.5892 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002551/0.1715, allocations: 143.7 kB / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.202e-06/0.1715, allocations: 0 / 0.5893 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0003725/0.1719, allocations: 214.1 kB / 0.5895 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.172, allocations: 118.8 kB / 0.5896 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.1721, allocations: 140.2 kB / 0.5898 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.165e-05/0.1721, allocations: 33.7 kB / 0.5898 GB, free: 14.75 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.031e-05/0.1722, allocations: 100.7 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.207e-05/0.1723, allocations: 51.34 kB / 0.5899 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.236e-05/0.1723, allocations: 65.69 kB / 0.59 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.1725, allocations: 330.8 kB / 0.5903 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.588e-05/0.1725, allocations: 52.25 kB / 0.5904 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001901/0.1727, allocations: 176.5 kB / 0.5905 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001975/0.1729, allocations: 135.2 kB / 0.5907 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.173, allocations: 4 kB / 0.5907 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002762/0.1732, allocations: 197.3 kB / 0.5909 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 5.401e-05/0.1733, allocations: 4 kB / 0.5909 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.1733, allocations: 4 kB / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/0.1733, allocations: 0 / 0.5909 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.332e-05/0.1734, allocations: 16 kB / 0.5909 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.1734, allocations: 4.219 kB / 0.5909 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002154/0.1737, allocations: 62.31 kB / 0.5909 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1737, allocations: 7.984 kB / 0.5909 GB, free: 13.49 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.0001152/0.1738, allocations: 144.2 kB / 0.5911 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.139e-05/0.1738, allocations: 7.906 kB / 0.5911 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.216e-05/0.1739, allocations: 16.7 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.1739, allocations: 0 / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1739, allocations: 4 kB / 0.5911 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1739, allocations: 4 kB / 0.5911 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001579/0.1741, allocations: 213.4 kB / 0.5913 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.1741, allocations: 3.938 kB / 0.5913 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.604e-05/0.1741, allocations: 15.94 kB / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/0.1741, allocations: 4 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.218e-06/0.1741, allocations: 3.938 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5e-06/0.1741, allocations: 8 kB / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1742, allocations: 3.984 kB / 0.5914 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002555/0.1744, allocations: 202.7 kB / 0.5915 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.282e-05/0.1745, allocations: 96.86 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.1745, allocations: 4 kB / 0.5916 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.503e-05/0.1746, allocations: 15.86 kB / 0.5917 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.735e-05/0.1746, allocations: 11.98 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.1746, allocations: 4 kB / 0.5917 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.293e-05/0.1747, allocations: 103.3 kB / 0.5918 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1747, allocations: 4 kB / 0.5918 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003188/0.175, allocations: 99.98 kB / 0.5919 GB, free: 12.43 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.0006839/0.1757, allocations: 0.8448 MB / 0.5927 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002893/0.176, allocations: 217 kB / 0.5929 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.176, allocations: 0 / 0.5929 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.473e-05/0.1761, allocations: 59.91 kB / 0.593 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.1763, allocations: 15.92 kB / 0.593 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1781, allocations: 1.812 MB / 0.5947 GB, free: 9.348 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000249/0.1783, allocations: 0.7084 MB / 0.5954 GB, free: 8.613 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.828e-05/0.1784, allocations: 12.88 kB / 0.5955 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.939e-05/0.1784, allocations: 31.44 kB / 0.5955 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1784, allocations: 0 / 0.5955 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.153/1.332, allocations: 4.559 MB / 0.5999 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.43/11.76, allocations: 9.609 kB / 0.5999 GB, free: 4.164 MB / 0.4981 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)