Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.005809/0.005809, allocations: 102.1 kB / 15.73 MB, free: 6.469 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.001171/0.001171, allocations: 194 kB / 16.67 MB, free: 6.379 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.363/1.363, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002197/0.002197, allocations: 278.6 kB / 290.8 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9762/0.9762, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001753/0.001753, allocations: 95.86 kB / 0.6809 GB, free: 48 kB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1497, allocations: 86.98 MB / 0.7659 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003836/0.1536, allocations: 1.474 MB / 0.7673 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.1551, allocations: 0.6934 MB / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.794e-05/0.1552, allocations: 0 / 0.768 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.1554, allocations: 11.88 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1556, allocations: 19.78 kB / 0.768 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001352/0.1569, allocations: 341.9 kB / 0.7683 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003099/0.1572, allocations: 167.6 kB / 0.7685 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.903e-05/0.1573, allocations: 8.281 kB / 0.7685 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001334/0.1574, allocations: 67.88 kB / 0.7686 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001117/0.1576, allocations: 55.75 kB / 0.7686 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.019e-05/0.1576, allocations: 12 kB / 0.7686 GB, free: 6.141 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004647/0.1581, allocations: 247.8 kB / 0.7689 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.1582, allocations: 39.88 kB / 0.7689 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001188/0.1583, allocations: 67.72 kB / 0.769 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006242/0.159, allocations: 295.3 kB / 0.7693 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.159, allocations: 0 / 0.7693 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.383e-06/0.159, allocations: 0 / 0.7693 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.058e-05/0.159, allocations: 0 / 0.7693 GB, free: 5.504 MB / 0.5606 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.0007977/0.1598, allocations: 482.8 kB / 0.7697 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.1599, allocations: 16.02 kB / 0.7697 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.959e-05/0.1599, allocations: 34.75 kB / 0.7698 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.958e-05/0.16, allocations: 20.75 kB / 0.7698 GB, free: 4.902 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002576/0.1603, allocations: 206.7 kB / 0.77 GB, free: 4.664 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1603, allocations: 8.375 kB / 0.77 GB, free: 4.656 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.041e-05/0.1603, allocations: 8.375 kB / 0.77 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001991/0.1605, allocations: 100.7 kB / 0.7701 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1605, allocations: 3.938 kB / 0.7701 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.487e-05/0.1606, allocations: 3.984 kB / 0.7701 GB, free: 4.527 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.872e-06/0.1606, allocations: 4 kB / 0.7701 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001101/0.1607, allocations: 47.92 kB / 0.7702 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.161, allocations: 247.3 kB / 0.7704 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001507/0.1612, allocations: 111.9 kB / 0.7705 GB, free: 4.043 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1613, allocations: 70.67 kB / 0.7706 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.542e-05/0.1613, allocations: 11.92 kB / 0.7706 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002499/0.1616, allocations: 136.2 kB / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=21): time 1.363e-06/0.1616, allocations: 0 / 0.7707 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=21): time 0.0004501/0.162, allocations: 213.4 kB / 0.7709 GB, free: 3.586 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.1621, allocations: 122.8 kB / 0.771 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.1623, allocations: 137.8 kB / 0.7712 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.071e-05/0.1623, allocations: 33.7 kB / 0.7712 GB, free: 3.258 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.183e-05/0.1624, allocations: 96.7 kB / 0.7713 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-05/0.1625, allocations: 55.34 kB / 0.7713 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001156/0.1626, allocations: 57.69 kB / 0.7714 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.1627, allocations: 326.8 kB / 0.7717 GB, free: 2.715 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.96e-05/0.1628, allocations: 64.14 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.1631, allocations: 187.7 kB / 0.7719 GB, free: 2.426 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002089/0.1633, allocations: 138.5 kB / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.116e-06/0.1633, allocations: 0 / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000316/0.1636, allocations: 202 kB / 0.7723 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.922e-05/0.1636, allocations: 6.031 kB / 0.7723 GB, free: 2.074 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.853e-05/0.1637, allocations: 11.92 kB / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1637, allocations: 0 / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.459e-05/0.1638, allocations: 12 kB / 0.7723 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.1638, allocations: 0 / 0.7723 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002239/0.164, allocations: 51.7 kB / 0.7723 GB, free: 2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.634e-05/0.1641, allocations: 8 kB / 0.7724 GB, free: 1.992 MB / 0.5606 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.0001481/0.1642, allocations: 156.7 kB / 0.7725 GB, free: 1.832 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.89e-05/0.1643, allocations: 7.906 kB / 0.7725 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.1643, allocations: 16.7 kB / 0.7725 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.1643, allocations: 0 / 0.7725 GB, free: 1.809 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.1643, allocations: 4 kB / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1643, allocations: 0 / 0.7725 GB, free: 1.805 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001871/0.1645, allocations: 209.5 kB / 0.7727 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.1645, allocations: 7.984 kB / 0.7727 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.658e-05/0.1646, allocations: 15.94 kB / 0.7728 GB, free: 1.527 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.15e-06/0.1646, allocations: 4 kB / 0.7728 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.1646, allocations: 0 / 0.7728 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/0.1646, allocations: 4 kB / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.1646, allocations: 240 / 0.7728 GB, free: 1.52 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002925/0.1649, allocations: 214.6 kB / 0.773 GB, free: 1.285 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.221e-05/0.165, allocations: 96.86 kB / 0.7731 GB, free: 1.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.676e-05/0.165, allocations: 4 kB / 0.7731 GB, free: 1.168 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.212e-05/0.1651, allocations: 11.92 kB / 0.7731 GB, free: 1.156 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/0.1652, allocations: 11.94 kB / 0.7731 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.122e-05/0.1652, allocations: 7.984 kB / 0.7731 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.226e-05/0.1652, allocations: 103.3 kB / 0.7732 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1653, allocations: 0 / 0.7732 GB, free: 1.035 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003922/0.1656, allocations: 99.98 kB / 0.7733 GB, free: 0.9375 MB / 0.5606 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.0008044/0.1665, allocations: 0.8402 MB / 0.7741 GB, free: 64 kB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.3234/0.4899, allocations: 216.5 kB / 0.7743 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.49, allocations: 0.7812 kB / 0.7743 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001361/0.4901, allocations: 56.72 kB / 0.7744 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.4904, allocations: 12.44 kB / 0.7744 GB, free: 13.21 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4924, allocations: 1.819 MB / 0.7762 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.4925, allocations: 0.7071 MB / 0.7768 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.294e-05/0.4926, allocations: 12.91 kB / 0.7769 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.4927, allocations: 35.33 kB / 0.7769 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of SimCode: time 8.81e-07/0.4927, allocations: 0 / 0.7769 GB, free: 11.33 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02264/0.5153, allocations: 4.707 MB / 0.7815 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.52/8.035, allocations: 13 kB / 0.7815 GB, free: 10.85 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)