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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001633/0.001633, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001338/0.001338, allocations: 195 kB / 16.14 MB, free: 6.723 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.418/1.418, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002536/0.002536, allocations: 282.7 kB / 290.2 MB, free: 2.227 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.6 MB / 0.5068 GB, free: 4.797 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002893/0.002894, allocations: 99.02 kB / 0.6057 GB, free: 25.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1594/0.1623, allocations: 89.15 MB / 0.6928 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.002772/0.1651, allocations: 1.546 MB / 0.6943 GB, free: 3.301 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001281/0.1664, allocations: 0.7321 MB / 0.695 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.03e-05/0.1665, allocations: 0 / 0.695 GB, free: 2.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.6e-05/0.1666, allocations: 11.92 kB / 0.695 GB, free: 2.555 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.495e-05/0.1666, allocations: 7.875 kB / 0.695 GB, free: 2.547 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007842/0.1674, allocations: 286.4 kB / 0.6953 GB, free: 2.27 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002311/0.1677, allocations: 163.6 kB / 0.6954 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.516e-05/0.1677, allocations: 11.98 kB / 0.6955 GB, free: 2.098 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.88e-05/0.1678, allocations: 59.84 kB / 0.6955 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.352e-05/0.1679, allocations: 47.81 kB / 0.6956 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.063e-05/0.1679, allocations: 4 kB / 0.6956 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003697/0.1683, allocations: 247.7 kB / 0.6958 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.9e-05/0.1684, allocations: 35.89 kB / 0.6958 GB, free: 1.711 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.928e-05/0.1685, allocations: 55.72 kB / 0.6959 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004078/0.1689, allocations: 295.6 kB / 0.6962 GB, free: 1.367 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.1689, allocations: 4 kB / 0.6962 GB, free: 1.363 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.11e-07/0.1689, allocations: 0 / 0.6962 GB, free: 1.363 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.169, allocations: 0 / 0.6962 GB, free: 1.363 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.0006917/0.1697, allocations: 475 kB / 0.6966 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.1697, allocations: 12.03 kB / 0.6966 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.827e-05/0.1698, allocations: 12.84 kB / 0.6967 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.17, allocations: 221.6 kB / 0.6969 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.17, allocations: 4.375 kB / 0.6969 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.28e-05/0.1701, allocations: 12.38 kB / 0.6969 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001992/0.1703, allocations: 92.8 kB / 0.697 GB, free: 460 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1703, allocations: 4.125 kB / 0.697 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.688e-05/0.1703, allocations: 11.94 kB / 0.697 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.1703, allocations: 0 / 0.697 GB, free: 444 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.1704, allocations: 47.91 kB / 0.697 GB, free: 396 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002966/0.1707, allocations: 255.3 kB / 0.6973 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.1709, allocations: 103.9 kB / 0.6974 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.171, allocations: 70.61 kB / 0.6974 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.1711, allocations: 0 / 0.6974 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.1713, allocations: 141.7 kB / 0.6976 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.142e-06/0.1714, allocations: 0 / 0.6976 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004485/0.1718, allocations: 209.5 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.18e-05/0.1719, allocations: 126.7 kB / 0.6979 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.172, allocations: 139.8 kB / 0.698 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.194e-05/0.1721, allocations: 49.69 kB / 0.6981 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.1722, allocations: 96.64 kB / 0.6982 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.056e-05/0.1722, allocations: 51.36 kB / 0.6982 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.1724, allocations: 57.69 kB / 0.6983 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.1725, allocations: 326.8 kB / 0.6986 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.998e-05/0.1726, allocations: 52.25 kB / 0.6986 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002424/0.1729, allocations: 184.4 kB / 0.6988 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002221/0.1731, allocations: 134.4 kB / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.1731, allocations: 0 / 0.6989 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003313/0.1734, allocations: 205.3 kB / 0.6991 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.266e-05/0.1735, allocations: 4 kB / 0.6991 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.131e-05/0.1735, allocations: 8 kB / 0.6991 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.1735, allocations: 4 kB / 0.6991 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001032/0.1736, allocations: 15.92 kB / 0.6992 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1736, allocations: 4 kB / 0.6992 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.1739, allocations: 46.61 kB / 0.6992 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.901e-05/0.1739, allocations: 12 kB / 0.6992 GB, free: 13.9 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.0001324/0.174, allocations: 140.1 kB / 0.6994 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.002e-05/0.1741, allocations: 23.75 kB / 0.6994 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.3e-05/0.1741, allocations: 12.72 kB / 0.6994 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.052e-06/0.1741, allocations: 8 kB / 0.6994 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.1741, allocations: 0 / 0.6994 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1742, allocations: 0 / 0.6994 GB, free: 13.71 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.1744, allocations: 213.4 kB / 0.6996 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.398e-06/0.1744, allocations: 4 kB / 0.6996 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.1744, allocations: 8 kB / 0.6996 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.1744, allocations: 0 / 0.6996 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.632e-05/0.1744, allocations: 11.98 kB / 0.6996 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1745, allocations: 4 kB / 0.6996 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1745, allocations: 0 / 0.6996 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003099/0.1748, allocations: 213.9 kB / 0.6998 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.767e-05/0.1748, allocations: 96.84 kB / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.197e-05/0.1749, allocations: 0 / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.088e-05/0.1749, allocations: 11.94 kB / 0.6999 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.172e-05/0.175, allocations: 11.98 kB / 0.6999 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/0.175, allocations: 8 kB / 0.7 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 7.684e-05/0.1751, allocations: 105.8 kB / 0.7001 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1751, allocations: 0 / 0.7001 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003546/0.1755, allocations: 99.98 kB / 0.7002 GB, free: 12.86 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.0003339/0.1758, allocations: 200 kB / 0.7003 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003387/0.1762, allocations: 221.2 kB / 0.7006 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.1762, allocations: 4 kB / 0.7006 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001079/0.1763, allocations: 55.92 kB / 0.7006 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001852/0.1765, allocations: 9.719 kB / 0.7006 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004864/0.177, allocations: 285.7 kB / 0.7009 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003535/0.1773, allocations: 0.7087 MB / 0.7016 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.545e-05/0.1774, allocations: 13.16 kB / 0.7016 GB, free: 11.3 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.25e-05/0.1774, allocations: 23.38 kB / 0.7016 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of SimCode: time 2.8e-07/0.1774, allocations: 0 / 0.7016 GB, free: 11.27 MB / 0.4981 GB Notification: Performance of Templates: time 0.006522/0.184, allocations: 2.948 MB / 0.7045 GB, free: 8.383 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)