Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.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.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,fileNamePrefix="BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime",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.001437/0.001437, allocations: 108 kB / 15.6 MB, free: 132 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.001241/0.001241, allocations: 193.2 kB / 16.53 MB, free: 6.391 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.412/1.412, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002573/0.002573, allocations: 298.5 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.072/1.072, allocations: 178.5 MB / 0.5073 GB, free: 4.582 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002707/0.002708, allocations: 98.5 kB / 0.6065 GB, free: 24.77 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1562, allocations: 89.15 MB / 0.6936 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002661/0.1589, allocations: 1.466 MB / 0.695 GB, free: 2.758 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1601, allocations: 0.6945 MB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.276e-05/0.1601, allocations: 0.625 kB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.835e-05/0.1602, allocations: 11.88 kB / 0.6957 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.68e-05/0.1603, allocations: 17.67 kB / 0.6957 GB, free: 2.035 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009339/0.1612, allocations: 352 kB / 0.6961 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002618/0.1615, allocations: 176.3 kB / 0.6962 GB, free: 1.523 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.139e-05/0.1616, allocations: 6.469 kB / 0.6962 GB, free: 1.52 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.524e-05/0.1617, allocations: 71.81 kB / 0.6963 GB, free: 1.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.483e-05/0.1617, allocations: 47.83 kB / 0.6964 GB, free: 1.402 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.377e-05/0.1618, allocations: 12 kB / 0.6964 GB, free: 1.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003632/0.1622, allocations: 243.8 kB / 0.6966 GB, free: 1.152 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.314e-05/0.1622, allocations: 41.64 kB / 0.6966 GB, free: 1.113 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.732e-05/0.1623, allocations: 59.72 kB / 0.6967 GB, free: 1.055 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003916/0.1627, allocations: 303.6 kB / 0.697 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.1627, allocations: 0 / 0.697 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.012e-06/0.1627, allocations: 0.5312 kB / 0.697 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.257e-06/0.1628, allocations: 0 / 0.697 GB, free: 0.7578 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.0006278/0.1634, allocations: 482.9 kB / 0.6975 GB, free: 240 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1634, allocations: 8.031 kB / 0.6975 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.446e-05/0.1635, allocations: 38.69 kB / 0.6975 GB, free: 184 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.029e-05/0.1635, allocations: 16.83 kB / 0.6975 GB, free: 168 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002425/0.1638, allocations: 214 kB / 0.6977 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.526e-05/0.1638, allocations: 8.375 kB / 0.6977 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.831e-05/0.1638, allocations: 12.38 kB / 0.6977 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.164, allocations: 100.7 kB / 0.6978 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1641, allocations: 3.938 kB / 0.6978 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.517e-05/0.1641, allocations: 8 kB / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1641, allocations: 0 / 0.6978 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.39e-05/0.1642, allocations: 43.91 kB / 0.6979 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002824/0.1645, allocations: 259.3 kB / 0.6981 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.1646, allocations: 107.8 kB / 0.6982 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/0.1647, allocations: 70.7 kB / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.1648, allocations: 0 / 0.6983 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000219/0.165, allocations: 142.5 kB / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.223e-06/0.165, allocations: 0 / 0.6984 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004287/0.1654, allocations: 209.5 kB / 0.6986 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.27e-05/0.1655, allocations: 118.8 kB / 0.6988 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001224/0.1657, allocations: 139.5 kB / 0.6989 GB, free: 14.55 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.635e-05/0.1657, allocations: 37.7 kB / 0.6989 GB, free: 14.51 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.634e-05/0.1658, allocations: 104.7 kB / 0.699 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.625e-05/0.1659, allocations: 55.34 kB / 0.6991 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.449e-05/0.166, allocations: 57.69 kB / 0.6991 GB, free: 14.29 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.1661, allocations: 326.8 kB / 0.6994 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.1662, allocations: 56.19 kB / 0.6995 GB, free: 13.9 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002451/0.1665, allocations: 184.4 kB / 0.6997 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002106/0.1667, allocations: 130.4 kB / 0.6998 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.1667, allocations: 0 / 0.6998 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003247/0.167, allocations: 205.3 kB / 0.7 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.917e-05/0.1671, allocations: 4 kB / 0.7 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.127e-05/0.1671, allocations: 4 kB / 0.7 GB, free: 13.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.1671, allocations: 8 kB / 0.7 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.316e-05/0.1672, allocations: 15.92 kB / 0.7 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.293e-06/0.1672, allocations: 4 kB / 0.7 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002199/0.1675, allocations: 43.8 kB / 0.7001 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.1675, allocations: 12 kB / 0.7001 GB, free: 13.25 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.000148/0.1676, allocations: 140.1 kB / 0.7002 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.1677, allocations: 15.8 kB / 0.7002 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.1677, allocations: 20.72 kB / 0.7002 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.1677, allocations: 4 kB / 0.7002 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.1677, allocations: 0 / 0.7002 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.1677, allocations: 0 / 0.7002 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.1679, allocations: 213.4 kB / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1679, allocations: 0 / 0.7005 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.04e-05/0.168, allocations: 15.94 kB / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.963e-06/0.168, allocations: 0 / 0.7005 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.168, allocations: 11.98 kB / 0.7005 GB, free: 12.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.168, allocations: 4 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.168, allocations: 0.9375 kB / 0.7005 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002966/0.1683, allocations: 212.1 kB / 0.7007 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.565e-05/0.1684, allocations: 92.86 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.325e-05/0.1684, allocations: 3.984 kB / 0.7008 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.477e-05/0.1685, allocations: 7.938 kB / 0.7008 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1686, allocations: 19.92 kB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.1686, allocations: 4 kB / 0.7008 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.557e-05/0.1687, allocations: 108.3 kB / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1687, allocations: 0 / 0.7009 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003394/0.169, allocations: 99.98 kB / 0.701 GB, free: 12.2 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.0008229/0.1698, allocations: 0.8512 MB / 0.7018 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003401/0.1702, allocations: 217 kB / 0.702 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.1702, allocations: 0 / 0.702 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.755e-05/0.1703, allocations: 59.91 kB / 0.7021 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001761/0.1705, allocations: 18.12 kB / 0.7021 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.1725, allocations: 1.81 MB / 0.7039 GB, free: 9.094 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.1729, allocations: 0.7045 MB / 0.7046 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.697e-05/0.173, allocations: 12.88 kB / 0.7046 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.919e-05/0.173, allocations: 36.83 kB / 0.7046 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1731, allocations: 0 / 0.7046 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02611/0.1992, allocations: 4.586 MB / 0.7091 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.942/8.141, allocations: 12.53 kB / 0.7091 GB, free: 3.91 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe >> ../files/BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime_res.csv --start-time 86400 --stop-time 207360 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 48.384 BuildingSystems_BuildingSystems_Controls_SetPoints_Validation_OccupancySchedulePositiveStartTime.fmu > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)