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.001307/0.001307, 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.001238/0.001238, allocations: 195.7 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.407/1.407, 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/NcDataReader2 2.5.1-master/package.mo): time 0.002495/0.002495, allocations: 278.9 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.06/1.06, allocations: 178.6 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002825/0.002826, allocations: 102.2 kB / 0.6065 GB, free: 24.63 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1567, allocations: 89.15 MB / 0.6936 GB, free: 4.266 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002845/0.1596, allocations: 1.47 MB / 0.695 GB, free: 2.797 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001142/0.1608, allocations: 0.6979 MB / 0.6957 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.461e-05/0.1608, allocations: 0 / 0.6957 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.119e-05/0.1609, allocations: 12.52 kB / 0.6957 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.6e-05/0.161, allocations: 11.88 kB / 0.6957 GB, free: 2.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009058/0.1619, allocations: 346.5 kB / 0.6961 GB, free: 1.738 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002403/0.1621, allocations: 175.6 kB / 0.6962 GB, free: 1.566 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.799e-05/0.1622, allocations: 11.97 kB / 0.6962 GB, free: 1.555 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.788e-05/0.1623, allocations: 71.83 kB / 0.6963 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.671e-05/0.1624, allocations: 43.83 kB / 0.6964 GB, free: 1.441 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.506e-05/0.1624, allocations: 12 kB / 0.6964 GB, free: 1.43 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004018/0.1628, allocations: 247.8 kB / 0.6966 GB, free: 1.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.568e-05/0.1629, allocations: 35.89 kB / 0.6966 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.163, allocations: 63.72 kB / 0.6967 GB, free: 1.09 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004158/0.1634, allocations: 303.6 kB / 0.697 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.1634, allocations: 0 / 0.697 GB, free: 0.793 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.1635, allocations: 4 kB / 0.697 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.648e-06/0.1635, allocations: 0 / 0.697 GB, free: 0.7891 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.000692/0.1642, allocations: 470.9 kB / 0.6974 GB, free: 284 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.846e-05/0.1642, allocations: 8.031 kB / 0.6974 GB, free: 276 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.1643, allocations: 46.67 kB / 0.6975 GB, free: 220 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.439e-05/0.1643, allocations: 12.84 kB / 0.6975 GB, free: 208 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.1646, allocations: 216.1 kB / 0.6977 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.905e-05/0.1647, allocations: 8.375 kB / 0.6977 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.35e-05/0.1647, allocations: 8.375 kB / 0.6977 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002248/0.1649, allocations: 100.7 kB / 0.6978 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.251e-05/0.165, allocations: 3.938 kB / 0.6978 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.165, allocations: 4 kB / 0.6978 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.165, allocations: 0 / 0.6978 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001046/0.1651, allocations: 47.91 kB / 0.6979 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003311/0.1654, allocations: 251.3 kB / 0.6981 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.1656, allocations: 111.9 kB / 0.6982 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.1657, allocations: 70.67 kB / 0.6983 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.2e-05/0.1658, allocations: 4 kB / 0.6983 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002563/0.166, allocations: 146.3 kB / 0.6984 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.203e-06/0.166, allocations: 0 / 0.6984 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004423/0.1665, allocations: 213.5 kB / 0.6986 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.609e-05/0.1666, allocations: 114.8 kB / 0.6987 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.1667, allocations: 151.2 kB / 0.6989 GB, free: 14.58 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.165e-05/0.1668, allocations: 37.7 kB / 0.6989 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.935e-05/0.1669, allocations: 92.7 kB / 0.699 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.677e-05/0.167, allocations: 55.33 kB / 0.6991 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.1671, allocations: 61.7 kB / 0.6991 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1672, allocations: 326.8 kB / 0.6994 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.1673, allocations: 52.2 kB / 0.6995 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00024/0.1676, allocations: 186.8 kB / 0.6997 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002004/0.1678, allocations: 130.5 kB / 0.6998 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.1678, allocations: 4 kB / 0.6998 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003202/0.1681, allocations: 205.3 kB / 0.7 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1681, allocations: 9.406 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.938e-05/0.1682, allocations: 4 kB / 0.7 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1682, allocations: 7.922 kB / 0.7 GB, free: 13.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.1683, allocations: 12 kB / 0.7 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.1683, allocations: 0 / 0.7 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002271/0.1685, allocations: 43.8 kB / 0.7001 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.1686, allocations: 12 kB / 0.7001 GB, free: 13.28 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.0001355/0.1687, allocations: 144 kB / 0.7002 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.967e-05/0.1687, allocations: 15.81 kB / 0.7002 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.644e-05/0.1688, allocations: 16.72 kB / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1688, allocations: 0 / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.1688, allocations: 0 / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.1688, allocations: 7.984 kB / 0.7003 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002011/0.169, allocations: 205.4 kB / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.169, allocations: 0 / 0.7004 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.901e-05/0.1691, allocations: 15.92 kB / 0.7005 GB, free: 12.83 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1691, allocations: 4 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.259e-05/0.1691, allocations: 4 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1691, allocations: 0 / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1691, allocations: 4 kB / 0.7005 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.1695, allocations: 212.3 kB / 0.7007 GB, free: 12.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.799e-05/0.1695, allocations: 92.86 kB / 0.7008 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/0.1696, allocations: 8 kB / 0.7008 GB, free: 12.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.1696, allocations: 7.938 kB / 0.7008 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.239e-05/0.1697, allocations: 15.92 kB / 0.7008 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.125e-05/0.1697, allocations: 8 kB / 0.7008 GB, free: 12.44 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.734e-05/0.1698, allocations: 109.6 kB / 0.7009 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1698, allocations: 0 / 0.7009 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003848/0.1702, allocations: 95.98 kB / 0.701 GB, free: 12.24 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.0008771/0.1711, allocations: 0.8551 MB / 0.7018 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.1714, allocations: 221.1 kB / 0.702 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1715, allocations: 0 / 0.702 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.711e-05/0.1716, allocations: 63.91 kB / 0.7021 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000182/0.1718, allocations: 15.94 kB / 0.7021 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.1739, allocations: 1.803 MB / 0.7039 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003638/0.1743, allocations: 0.7084 MB / 0.7046 GB, free: 8.398 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.751e-05/0.1744, allocations: 12.88 kB / 0.7046 GB, free: 8.387 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.195e-05/0.1744, allocations: 35.42 kB / 0.7046 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of SimCode: time 2.364e-06/0.1744, allocations: 4 kB / 0.7046 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02575/0.2002, allocations: 4.593 MB / 0.7091 GB, free: 3.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.93/8.13, allocations: 9.812 kB / 0.7091 GB, free: 3.941 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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.csv --start-time -112320 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 127.872 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)