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: translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001365/0.001365, allocations: 190.5 kB / 16.25 MB, free: 6.645 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.417/1.417, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002577/0.002577, allocations: 286.9 kB / 290.4 MB, free: 2.145 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.084/1.084, allocations: 178.6 MB / 0.5069 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002728/0.002728, allocations: 98.06 kB / 0.6059 GB, free: 25.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1486/0.1514, allocations: 89.15 MB / 0.693 GB, free: 4.723 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002568/0.154, allocations: 1.533 MB / 0.6945 GB, free: 3.188 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.1551, allocations: 0.6989 MB / 0.6952 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.026e-05/0.1552, allocations: 0 / 0.6952 GB, free: 2.488 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.227e-05/0.1552, allocations: 10.88 kB / 0.6952 GB, free: 2.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.552e-05/0.1553, allocations: 7.922 kB / 0.6952 GB, free: 2.473 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008533/0.1562, allocations: 309.2 kB / 0.6955 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002222/0.1564, allocations: 179.6 kB / 0.6956 GB, free: 2 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.916e-05/0.1564, allocations: 13.2 kB / 0.6956 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.1565, allocations: 71.77 kB / 0.6957 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.861e-05/0.1566, allocations: 48.48 kB / 0.6958 GB, free: 1.871 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.929e-05/0.1567, allocations: 12 kB / 0.6958 GB, free: 1.859 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.157, allocations: 249.3 kB / 0.696 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.285e-05/0.1571, allocations: 43.89 kB / 0.6961 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.1572, allocations: 63.72 kB / 0.6961 GB, free: 1.512 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003924/0.1576, allocations: 295.6 kB / 0.6964 GB, free: 1.223 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1576, allocations: 0 / 0.6964 GB, free: 1.223 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1576, allocations: 4 kB / 0.6964 GB, free: 1.219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.23e-06/0.1576, allocations: 0 / 0.6964 GB, free: 1.219 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.0007164/0.1584, allocations: 478.9 kB / 0.6969 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1584, allocations: 11.97 kB / 0.6969 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.967e-05/0.1585, allocations: 12.84 kB / 0.6969 GB, free: 0.6758 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002569/0.1587, allocations: 212.1 kB / 0.6971 GB, free: 440 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.1587, allocations: 8.375 kB / 0.6971 GB, free: 432 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.118e-05/0.1588, allocations: 12.38 kB / 0.6971 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.159, allocations: 102.3 kB / 0.6972 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.159, allocations: 192 / 0.6972 GB, free: 304 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.159, allocations: 3.938 kB / 0.6972 GB, free: 300 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1591, allocations: 4 kB / 0.6972 GB, free: 296 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001174/0.1592, allocations: 47.91 kB / 0.6973 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003266/0.1595, allocations: 251.3 kB / 0.6975 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001729/0.1597, allocations: 107.9 kB / 0.6976 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001106/0.1598, allocations: 70.67 kB / 0.6977 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.624e-05/0.1598, allocations: 7.984 kB / 0.6977 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003051/0.1601, allocations: 142.7 kB / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.303e-06/0.1602, allocations: 0 / 0.6978 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004695/0.1606, allocations: 213.5 kB / 0.698 GB, free: 15.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/0.1608, allocations: 114.8 kB / 0.6981 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.1609, allocations: 147.8 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.328e-05/0.161, allocations: 33.7 kB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1611, allocations: 96.7 kB / 0.6984 GB, free: 14.92 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.844e-05/0.1612, allocations: 51.34 kB / 0.6984 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.819e-05/0.1613, allocations: 61.69 kB / 0.6985 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1614, allocations: 330.8 kB / 0.6988 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.1615, allocations: 52.27 kB / 0.6989 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002568/0.1618, allocations: 184.4 kB / 0.699 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002088/0.162, allocations: 134.5 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.162, allocations: 0 / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003178/0.1624, allocations: 205.2 kB / 0.6994 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1624, allocations: 8 kB / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.318e-05/0.1624, allocations: 4 kB / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.1624, allocations: 0 / 0.6994 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001052/0.1625, allocations: 19.98 kB / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.807e-06/0.1626, allocations: 0 / 0.6994 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.1628, allocations: 51.73 kB / 0.6994 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.406e-05/0.1628, allocations: 4 kB / 0.6994 GB, free: 13.76 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.0001448/0.163, allocations: 148 kB / 0.6996 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.163, allocations: 19.75 kB / 0.6996 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.53e-05/0.163, allocations: 12.72 kB / 0.6996 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.1631, allocations: 0 / 0.6996 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.1631, allocations: 4 kB / 0.6996 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.1631, allocations: 3.984 kB / 0.6996 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002691/0.1634, allocations: 205.4 kB / 0.6998 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.1634, allocations: 0 / 0.6998 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.226e-05/0.1634, allocations: 19.92 kB / 0.6998 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.1634, allocations: 4 kB / 0.6998 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.198e-05/0.1634, allocations: 4 kB / 0.6998 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.157e-06/0.1635, allocations: 4.938 kB / 0.6999 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.1635, allocations: 0 / 0.6999 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.1638, allocations: 209.8 kB / 0.7001 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.213e-05/0.1639, allocations: 96.8 kB / 0.7001 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1639, allocations: 4 kB / 0.7001 GB, free: 12.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.127e-05/0.1639, allocations: 11.94 kB / 0.7002 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.164, allocations: 11.92 kB / 0.7002 GB, free: 12.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.164, allocations: 8 kB / 0.7002 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.375e-05/0.1641, allocations: 107.2 kB / 0.7003 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1641, allocations: 0 / 0.7003 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004004/0.1645, allocations: 104 kB / 0.7004 GB, free: 12.71 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.000338/0.1649, allocations: 195.2 kB / 0.7006 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000413/0.1653, allocations: 232.9 kB / 0.7008 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.1653, allocations: 0 / 0.7008 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.1654, allocations: 51.98 kB / 0.7008 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.1656, allocations: 15.92 kB / 0.7009 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005288/0.1662, allocations: 272.8 kB / 0.7011 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003491/0.1665, allocations: 0.7047 MB / 0.7018 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.1666, allocations: 12.88 kB / 0.7018 GB, free: 11.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.39e-05/0.1666, allocations: 19.44 kB / 0.7018 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 3.21e-07/0.1666, allocations: 0 / 0.7018 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.007414/0.174, allocations: 3.038 MB / 0.7048 GB, free: 8.16 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile (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 & ./BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1)