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.0007979/0.0007979, allocations: 89.97 kB / 15.36 MB, free: 0.7383 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.006209/0.006209, allocations: 171.7 kB / 16.26 MB, free: 6.676 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.398/1.398, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00187/0.00187, allocations: 278.7 kB / 291.7 MB, free: 1.867 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9507/0.9507, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 12.19 kB / 0.5988 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 88.55 MB / 0.6852 GB, free: 14.99 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001531/0.1577, allocations: 1.192 MB / 0.6864 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1588, allocations: 0.7188 MB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.95e-05/0.1589, allocations: 1.062 kB / 0.6871 GB, free: 13.07 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.441e-05/0.159, allocations: 3.938 kB / 0.6871 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.923e-05/0.159, allocations: 11.92 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007688/0.1598, allocations: 288.9 kB / 0.6874 GB, free: 12.77 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002105/0.16, allocations: 152.8 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.325e-05/0.1601, allocations: 12.27 kB / 0.6875 GB, free: 12.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.1602, allocations: 67.11 kB / 0.6876 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.946e-05/0.1603, allocations: 43.83 kB / 0.6876 GB, free: 12.51 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.592e-05/0.1603, allocations: 11.98 kB / 0.6877 GB, free: 12.5 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003006/0.1606, allocations: 235.8 kB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.466e-05/0.1607, allocations: 35.89 kB / 0.6879 GB, free: 12.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.697e-05/0.1608, allocations: 77.42 kB / 0.688 GB, free: 12.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.1611, allocations: 291.3 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.1611, allocations: 4.484 kB / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.625e-06/0.1611, allocations: 0 / 0.6883 GB, free: 11.86 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.997e-06/0.1611, allocations: 8.531 kB / 0.6883 GB, free: 11.85 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.000512/0.1616, allocations: 449.8 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.1617, allocations: 8.031 kB / 0.6887 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.869e-05/0.1617, allocations: 42.73 kB / 0.6888 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1618, allocations: 12.84 kB / 0.6888 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001829/0.162, allocations: 218.6 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.162, allocations: 10.09 kB / 0.689 GB, free: 11.04 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.162, allocations: 12.36 kB / 0.689 GB, free: 11.02 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.1622, allocations: 101.3 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/0.1622, allocations: 3.938 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.1622, allocations: 0.6562 kB / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.1622, allocations: 0 / 0.6891 GB, free: 10.91 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.224e-05/0.1623, allocations: 54.06 kB / 0.6892 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002278/0.1626, allocations: 243.3 kB / 0.6894 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.1627, allocations: 110.2 kB / 0.6895 GB, free: 10.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.694e-05/0.1628, allocations: 74.66 kB / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.1628, allocations: 0.7812 kB / 0.6896 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002392/0.1631, allocations: 149.6 kB / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.132e-06/0.1631, allocations: 0 / 0.6897 GB, free: 10.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.00038/0.1635, allocations: 214.2 kB / 0.6899 GB, free: 9.969 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.161e-05/0.1635, allocations: 115.7 kB / 0.69 GB, free: 9.832 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.1637, allocations: 147.9 kB / 0.6902 GB, free: 9.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.477e-05/0.1637, allocations: 33.7 kB / 0.6902 GB, free: 9.641 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.763e-05/0.1638, allocations: 104.7 kB / 0.6903 GB, free: 9.535 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.795e-05/0.1638, allocations: 51.3 kB / 0.6903 GB, free: 9.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.065e-05/0.1639, allocations: 29.7 kB / 0.6904 GB, free: 9.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001147/0.164, allocations: 326.8 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.629e-05/0.1641, allocations: 56.25 kB / 0.6907 GB, free: 9.062 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001917/0.1643, allocations: 179.3 kB / 0.6909 GB, free: 8.848 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.1645, allocations: 138.5 kB / 0.691 GB, free: 8.703 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.1645, allocations: 0 / 0.691 GB, free: 8.703 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002714/0.1648, allocations: 201.2 kB / 0.6912 GB, free: 8.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.1648, allocations: 4 kB / 0.6912 GB, free: 8.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.058e-05/0.1648, allocations: 8 kB / 0.6912 GB, free: 8.488 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.1648, allocations: 4 kB / 0.6912 GB, free: 8.484 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.298e-05/0.1649, allocations: 15.98 kB / 0.6913 GB, free: 8.469 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.1649, allocations: 7.938 kB / 0.6913 GB, free: 8.461 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.1652, allocations: 57.84 kB / 0.6913 GB, free: 8.406 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.1652, allocations: 8 kB / 0.6913 GB, free: 8.398 MB / 494.1 MB 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.0001133/0.1653, allocations: 145.5 kB / 0.6915 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.1653, allocations: 15.8 kB / 0.6915 GB, free: 8.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.027e-05/0.1654, allocations: 12.72 kB / 0.6915 GB, free: 8.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.1654, allocations: 4 kB / 0.6915 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.1654, allocations: 0 / 0.6915 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.1654, allocations: 0 / 0.6915 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001681/0.1656, allocations: 217.3 kB / 0.6917 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.1656, allocations: 0 / 0.6917 GB, free: 7.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.835e-05/0.1656, allocations: 23.94 kB / 0.6917 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.1656, allocations: 0 / 0.6917 GB, free: 7.934 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1657, allocations: 4 kB / 0.6917 GB, free: 7.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.609e-06/0.1657, allocations: 3.984 kB / 0.6917 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1657, allocations: 0 / 0.6917 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.1659, allocations: 205.8 kB / 0.6919 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.515e-05/0.166, allocations: 100.7 kB / 0.692 GB, free: 7.586 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.286e-05/0.166, allocations: 11.98 kB / 0.692 GB, free: 7.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.848e-05/0.1661, allocations: 11.94 kB / 0.6921 GB, free: 7.562 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.366e-05/0.1661, allocations: 7.984 kB / 0.6921 GB, free: 7.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.085e-05/0.1661, allocations: 8 kB / 0.6921 GB, free: 7.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.081e-05/0.1662, allocations: 105.3 kB / 0.6922 GB, free: 7.445 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1662, allocations: 0 / 0.6922 GB, free: 7.445 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003136/0.1665, allocations: 95.98 kB / 0.6923 GB, free: 7.352 MB / 494.1 MB 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.0006602/0.1672, allocations: 0.8443 MB / 0.6931 GB, free: 6.473 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002767/0.1675, allocations: 216.9 kB / 0.6933 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.1675, allocations: 0 / 0.6933 GB, free: 6.242 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.1676, allocations: 55.92 kB / 0.6933 GB, free: 6.188 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.1678, allocations: 19.92 kB / 0.6934 GB, free: 6.168 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001674/0.1694, allocations: 1.84 MB / 0.6952 GB, free: 4.219 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.1697, allocations: 0.7123 MB / 0.6959 GB, free: 3.477 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.556e-05/0.1697, allocations: 5.172 kB / 0.6959 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.836e-05/0.1698, allocations: 35.42 kB / 0.6959 GB, free: 3.438 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1698, allocations: 4 kB / 0.6959 GB, free: 3.434 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01355/0.1833, allocations: 4.281 MB / 0.7001 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001711/0.1835, allocations: 240.1 kB / 0.7003 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.82/2.004, allocations: 0 / 0.7003 GB, free: 15.14 MB / 0.4981 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)