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.001684/0.001684, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001303/0.001303, allocations: 195.5 kB / 16.14 MB, free: 6.641 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.441/1.441, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002642/0.002642, allocations: 282.8 kB / 290.2 MB, free: 2.199 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.089/1.089, allocations: 178.6 MB / 0.5068 GB, free: 4.781 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002847/0.002847, allocations: 102.6 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1586, allocations: 89.16 MB / 0.6928 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002919/0.1615, allocations: 1.525 MB / 0.6943 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001322/0.1629, allocations: 0.7476 MB / 0.695 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.12e-05/0.1629, allocations: 0 / 0.695 GB, free: 2.582 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 7.938e-05/0.163, allocations: 7.922 kB / 0.695 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.644e-05/0.1631, allocations: 15.86 kB / 0.695 GB, free: 2.559 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008734/0.164, allocations: 282.8 kB / 0.6953 GB, free: 2.285 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002265/0.1642, allocations: 163.6 kB / 0.6955 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.911e-05/0.1643, allocations: 15.98 kB / 0.6955 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.986e-05/0.1644, allocations: 59.83 kB / 0.6955 GB, free: 2.051 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.182e-05/0.1645, allocations: 47.77 kB / 0.6956 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.666e-05/0.1645, allocations: 8 kB / 0.6956 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000382/0.1649, allocations: 243.8 kB / 0.6958 GB, free: 1.758 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.474e-05/0.165, allocations: 35.88 kB / 0.6959 GB, free: 1.723 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.811e-05/0.1651, allocations: 51.73 kB / 0.6959 GB, free: 1.672 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004608/0.1655, allocations: 291.6 kB / 0.6962 GB, free: 1.387 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1656, allocations: 0 / 0.6962 GB, free: 1.387 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1656, allocations: 4 kB / 0.6962 GB, free: 1.383 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.1656, allocations: 4 kB / 0.6962 GB, free: 1.379 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.0006829/0.1663, allocations: 478.9 kB / 0.6966 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1663, allocations: 8.031 kB / 0.6967 GB, free: 0.8516 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.1664, allocations: 16.83 kB / 0.6967 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1666, allocations: 212 kB / 0.6969 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.818e-05/0.1666, allocations: 8.375 kB / 0.6969 GB, free: 0.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.979e-05/0.1667, allocations: 8.375 kB / 0.6969 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001929/0.1669, allocations: 102.8 kB / 0.697 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.1669, allocations: 192 / 0.697 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1669, allocations: 7.875 kB / 0.697 GB, free: 464 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.1669, allocations: 7.938 kB / 0.697 GB, free: 456 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001096/0.167, allocations: 43.97 kB / 0.697 GB, free: 412 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002946/0.1673, allocations: 251.3 kB / 0.6973 GB, free: 104 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001827/0.1675, allocations: 107.9 kB / 0.6974 GB, free: 15.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001097/0.1677, allocations: 74.61 kB / 0.6975 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.817e-05/0.1677, allocations: 4 kB / 0.6975 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002759/0.168, allocations: 145.7 kB / 0.6976 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=21): time 1.543e-06/0.168, allocations: 0 / 0.6976 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of matching and sorting (n=21): time 0.0004526/0.1684, allocations: 213.4 kB / 0.6978 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.359e-05/0.1685, allocations: 118.8 kB / 0.6979 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001347/0.1687, allocations: 140.2 kB / 0.698 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.079e-05/0.1687, allocations: 33.7 kB / 0.6981 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.1688, allocations: 104.7 kB / 0.6982 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.272e-05/0.1689, allocations: 51.34 kB / 0.6982 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.789e-05/0.169, allocations: 61.69 kB / 0.6983 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.1691, allocations: 326.8 kB / 0.6986 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.1692, allocations: 52.25 kB / 0.6986 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.1695, allocations: 188.4 kB / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00021/0.1697, allocations: 122.6 kB / 0.6989 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1697, allocations: 4 kB / 0.6989 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003351/0.1701, allocations: 197.2 kB / 0.6991 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.1701, allocations: 8 kB / 0.6991 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/0.1701, allocations: 8 kB / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1701, allocations: 0 / 0.6992 GB, free: 14 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.622e-05/0.1702, allocations: 27.86 kB / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1703, allocations: 0 / 0.6992 GB, free: 13.97 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002262/0.1705, allocations: 50.33 kB / 0.6992 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.492e-05/0.1705, allocations: 4 kB / 0.6992 GB, free: 13.92 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.0001425/0.1707, allocations: 140 kB / 0.6994 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.1707, allocations: 23.73 kB / 0.6994 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.256e-05/0.1707, allocations: 12.72 kB / 0.6994 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.1707, allocations: 0 / 0.6994 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1708, allocations: 4 kB / 0.6994 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1708, allocations: 0 / 0.6994 GB, free: 13.74 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002097/0.171, allocations: 217.4 kB / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.171, allocations: 0 / 0.6996 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.627e-05/0.171, allocations: 8 kB / 0.6996 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.1711, allocations: 8 kB / 0.6996 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.338e-05/0.1711, allocations: 3.984 kB / 0.6996 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.1711, allocations: 4 kB / 0.6996 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1711, allocations: 4 kB / 0.6996 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/0.1714, allocations: 210.5 kB / 0.6998 GB, free: 13.22 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.118e-05/0.1715, allocations: 92.86 kB / 0.6999 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.1715, allocations: 11.98 kB / 0.6999 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.739e-05/0.1716, allocations: 7.938 kB / 0.6999 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.486e-05/0.1716, allocations: 11.98 kB / 0.7 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.1716, allocations: 8 kB / 0.7 GB, free: 13.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.328e-05/0.1717, allocations: 107.2 kB / 0.7001 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1717, allocations: 0 / 0.7001 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003715/0.1721, allocations: 99.98 kB / 0.7002 GB, free: 12.87 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.0003386/0.1725, allocations: 203.2 kB / 0.7004 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003506/0.1728, allocations: 218.1 kB / 0.7006 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.1728, allocations: 8 kB / 0.7006 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.959e-05/0.173, allocations: 55.92 kB / 0.7006 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001772/0.1731, allocations: 8.562 kB / 0.7006 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004845/0.1736, allocations: 282.5 kB / 0.7009 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003468/0.174, allocations: 0.7087 MB / 0.7016 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.174, allocations: 8.891 kB / 0.7016 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.736e-05/0.1741, allocations: 15.42 kB / 0.7016 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of SimCode: time 2.2e-07/0.1741, allocations: 0 / 0.7016 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.006569/0.1807, allocations: 2.964 MB / 0.7045 GB, free: 8.387 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)