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.001043/0.001043, allocations: 113.8 kB / 16.37 MB, free: 6.012 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.0009998/0.0009999, allocations: 192 kB / 17.31 MB, free: 5.613 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.242/1.242, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002045/0.002045, allocations: 286.8 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.896/0.896, allocations: 169.3 MB / 0.4989 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 99.5 kB / 0.5967 GB, free: 14.41 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1674, allocations: 86.98 MB / 0.6816 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime): time 0.00262/0.1701, allocations: 1.47 MB / 0.683 GB, free: 5.945 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00108/0.1712, allocations: 0.6929 MB / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.1712, allocations: 0 / 0.6837 GB, free: 5.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 6.999e-05/0.1713, allocations: 7.922 kB / 0.6837 GB, free: 5.242 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.907e-05/0.1714, allocations: 19.86 kB / 0.6837 GB, free: 5.223 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008688/0.1723, allocations: 342.2 kB / 0.6841 GB, free: 4.891 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002254/0.1725, allocations: 175.6 kB / 0.6842 GB, free: 4.719 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.305e-05/0.1725, allocations: 4 kB / 0.6842 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.875e-05/0.1726, allocations: 71.81 kB / 0.6843 GB, free: 4.645 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.132e-05/0.1727, allocations: 47.83 kB / 0.6844 GB, free: 4.598 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.1727, allocations: 16 kB / 0.6844 GB, free: 4.582 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003205/0.1731, allocations: 247.7 kB / 0.6846 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.404e-05/0.1732, allocations: 43.88 kB / 0.6847 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.582e-05/0.1733, allocations: 55.73 kB / 0.6847 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.1736, allocations: 307.3 kB / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1736, allocations: 0 / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1737, allocations: 0 / 0.685 GB, free: 3.941 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.671e-06/0.1737, allocations: 4 kB / 0.685 GB, free: 3.938 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.000584/0.1743, allocations: 471 kB / 0.6855 GB, free: 3.426 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.1743, allocations: 8.031 kB / 0.6855 GB, free: 3.418 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.31e-05/0.1744, allocations: 24.67 kB / 0.6855 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002218/0.1746, allocations: 212.1 kB / 0.6857 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.1746, allocations: 4.375 kB / 0.6857 GB, free: 3.145 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.919e-05/0.1746, allocations: 12.38 kB / 0.6857 GB, free: 3.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.1748, allocations: 96.8 kB / 0.6858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.1748, allocations: 8.125 kB / 0.6858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.1748, allocations: 3.938 kB / 0.6858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.1749, allocations: 4 kB / 0.6858 GB, free: 3.008 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.833e-05/0.1749, allocations: 47.89 kB / 0.6859 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002554/0.1752, allocations: 247.3 kB / 0.6861 GB, free: 2.664 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001398/0.1754, allocations: 112.6 kB / 0.6862 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.1755, allocations: 70.7 kB / 0.6863 GB, free: 2.449 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.049e-05/0.1755, allocations: 4 kB / 0.6863 GB, free: 2.445 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002238/0.1757, allocations: 139.1 kB / 0.6864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of pre-optimization done (n=21): time 1.283e-06/0.1757, allocations: 0 / 0.6864 GB, free: 2.289 MB / 494.1 MB Notification: Performance of matching and sorting (n=21): time 0.0003917/0.1761, allocations: 225.2 kB / 0.6866 GB, free: 2.062 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.796e-05/0.1762, allocations: 114.8 kB / 0.6867 GB, free: 1.926 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001095/0.1763, allocations: 143.8 kB / 0.6869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.807e-05/0.1764, allocations: 33.7 kB / 0.6869 GB, free: 1.738 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.1764, allocations: 96.69 kB / 0.687 GB, free: 1.641 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.313e-05/0.1765, allocations: 55.34 kB / 0.687 GB, free: 1.586 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.872e-05/0.1766, allocations: 65.69 kB / 0.6871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001099/0.1767, allocations: 326.8 kB / 0.6874 GB, free: 1.188 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.737e-05/0.1768, allocations: 48.25 kB / 0.6875 GB, free: 1.137 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.177, allocations: 180.5 kB / 0.6876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001789/0.1772, allocations: 130.5 kB / 0.6878 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.1772, allocations: 4 kB / 0.6878 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002814/0.1775, allocations: 205.2 kB / 0.688 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.345e-05/0.1775, allocations: 8 kB / 0.688 GB, free: 0.5625 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.173e-05/0.1775, allocations: 8 kB / 0.688 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.1775, allocations: 0 / 0.688 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.03e-05/0.1776, allocations: 15.94 kB / 0.688 GB, free: 0.5391 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.1776, allocations: 3.984 kB / 0.688 GB, free: 0.5352 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002022/0.1778, allocations: 51.8 kB / 0.688 GB, free: 496 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.481e-05/0.1779, allocations: 8 kB / 0.688 GB, free: 488 kB / 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.0001223/0.178, allocations: 136 kB / 0.6882 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.557e-05/0.178, allocations: 19.88 kB / 0.6882 GB, free: 324 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.19e-05/0.1781, allocations: 20.7 kB / 0.6882 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.1781, allocations: 0 / 0.6882 GB, free: 304 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.1781, allocations: 8 kB / 0.6882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.1781, allocations: 0 / 0.6882 GB, free: 296 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000159/0.1782, allocations: 205.5 kB / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1782, allocations: 0 / 0.6884 GB, free: 40 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.192e-05/0.1783, allocations: 8 kB / 0.6884 GB, free: 32 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1783, allocations: 4 kB / 0.6884 GB, free: 28 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.1783, allocations: 4 kB / 0.6884 GB, free: 24 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.1783, allocations: 7.984 kB / 0.6884 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.1783, allocations: 3.938 kB / 0.6884 GB, free: 12 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2883/0.4667, allocations: 211.7 kB / 0.6886 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.944e-05/0.4668, allocations: 95.14 kB / 0.6887 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.793e-05/0.4668, allocations: 4.594 kB / 0.6887 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.33e-05/0.4669, allocations: 8.391 kB / 0.6888 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.4e-05/0.4669, allocations: 8.156 kB / 0.6888 GB, free: 17.87 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.436e-05/0.4669, allocations: 4.688 kB / 0.6888 GB, free: 17.87 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.164e-05/0.467, allocations: 113.4 kB / 0.6889 GB, free: 17.79 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.21e-07/0.467, allocations: 0 / 0.6889 GB, free: 17.79 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00045/0.4675, allocations: 100.2 kB / 0.689 GB, free: 17.79 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.0002954/0.4678, allocations: 207.9 kB / 0.6892 GB, free: 17.7 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0003178/0.4681, allocations: 215 kB / 0.6894 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.4681, allocations: 0.7188 kB / 0.6894 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.893e-05/0.4682, allocations: 58.25 kB / 0.6894 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.4684, allocations: 10.91 kB / 0.6894 GB, free: 17.61 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004267/0.4688, allocations: 246.8 kB / 0.6897 GB, free: 17.46 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.469, allocations: 0.7111 MB / 0.6904 GB, free: 16.77 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.706e-05/0.469, allocations: 11 kB / 0.6904 GB, free: 16.76 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.658e-05/0.469, allocations: 15.47 kB / 0.6904 GB, free: 16.75 MB / 494.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4691, allocations: 0 / 0.6904 GB, free: 16.75 MB / 494.1 MB Notification: Performance of Templates: time 0.006632/0.4757, allocations: 3.097 MB / 0.6934 GB, free: 16.63 MB / 494.1 MB 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancySchedulePositiveStartTime.pipe 2>&1)