Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01078/0.01078, allocations: 220.3 kB / 15.17 MB, free: 6 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001134/0.001134, allocations: 175.6 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 3.689/3.689, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.333/4.333, allocations: 472.3 MB / 0.9017 GB, free: 3.562 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004764, allocations: 16 kB / 1.008 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7419/0.7424, allocations: 98.7 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.01124/0.7537, allocations: 1.217 MB / 1.105 GB, free: 212.1 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002046/0.7558, allocations: 0.5102 MB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.7559, allocations: 5.281 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.000102/0.7561, allocations: 8.125 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.00025/0.7563, allocations: 12.14 kB / 1.106 GB, free: 211.7 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.7579, allocations: 277.2 kB / 1.106 GB, free: 211.6 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0006968/0.7587, allocations: 379.2 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 9.085e-05/0.7588, allocations: 19.78 kB / 1.106 GB, free: 211.4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004688/0.7593, allocations: 187.6 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005479/0.7598, allocations: 188.1 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0001608/0.76, allocations: 21.25 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002969/0.7603, allocations: 54.66 kB / 1.107 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001429/0.7605, allocations: 58.62 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0002211/0.7608, allocations: 77.11 kB / 1.107 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006912/0.7615, allocations: 265.1 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 6.508e-06/0.7615, allocations: 3.344 kB / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.654e-06/0.7615, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.266e-06/0.7616, allocations: 0 / 1.107 GB, free: 211.1 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 30 * Number of variables: 30 Notification: Performance of Generate backend data structure: time 0.002033/0.7636, allocations: 0.5974 MB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.037e-05/0.7637, allocations: 9.469 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002992/0.764, allocations: 42.47 kB / 1.108 GB, free: 210.6 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008412/0.7649, allocations: 279.1 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001218/0.765, allocations: 31.34 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01221/0.7773, allocations: 43.61 kB / 1.108 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001922/0.7792, allocations: 351.5 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.7793, allocations: 0 / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.7794, allocations: 7.891 kB / 1.108 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.7795, allocations: 7.094 kB / 1.109 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001063/0.7805, allocations: 135.4 kB / 1.109 GB, free: 210.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.7819, allocations: 0.4884 MB / 1.109 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001466/0.7834, allocations: 317.4 kB / 1.109 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.7845, allocations: 174.5 kB / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.635e-05/0.7845, allocations: 9.844 kB / 1.11 GB, free: 209.6 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001772/0.7863, allocations: 362.1 kB / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=36): time 7.284e-06/0.7864, allocations: 0 / 1.11 GB, free: 209.4 MB / 0.7292 GB Notification: Performance of matching and sorting (n=36): time 0.004553/0.7909, allocations: 0.6907 MB / 1.111 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001396/0.7911, allocations: 204.4 kB / 1.111 GB, free: 209 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002587/0.7914, allocations: 144.6 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002034/0.7916, allocations: 49.52 kB / 1.111 GB, free: 208.8 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001664/0.7918, allocations: 105.1 kB / 1.111 GB, free: 208.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001999/0.7921, allocations: 100.8 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.7922, allocations: 15.19 kB / 1.111 GB, free: 208.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.7924, allocations: 337.4 kB / 1.112 GB, free: 208.3 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001209/0.7936, allocations: 225.9 kB / 1.112 GB, free: 208.2 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001262/0.7949, allocations: 281.3 kB / 1.112 GB, free: 208.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001232/0.7961, allocations: 319 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.922e-06/0.7962, allocations: 1.469 kB / 1.112 GB, free: 207.9 MB / 0.7292 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.004377/0.8006, allocations: 0.952 MB / 1.113 GB, free: 207.5 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002217/0.8009, allocations: 128.8 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.8009, allocations: 1.312 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.384e-05/0.8009, allocations: 3.594 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003338/0.8013, allocations: 32.78 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.957e-05/0.8013, allocations: 3.906 kB / 1.113 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001441/0.8028, allocations: 124.3 kB / 1.114 GB, free: 207.4 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002015/0.803, allocations: 35.48 kB / 1.114 GB, free: 207.4 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 48 ($whenCondition5,$whenCondition6,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.nexStaInd,occSchDay2.nexStaInd,$PRE.occSchDay2.nexStoInd,occSchDay2.nexStoInd,$PRE.occSchDay2.iPerSta,occSchDay2.iPerSta,$PRE.occSchDay2.iPerSto,occSchDay2.iPerSto,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.nexStaInd,occSchDay1.nexStaInd,$PRE.occSchDay1.nexStoInd,occSchDay1.nexStoInd,$PRE.occSchDay1.iPerSta,occSchDay1.iPerSta,$PRE.occSchDay1.iPerSto,occSchDay1.iPerSto,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.nexStaInd,occSchDay.nexStaInd,$PRE.occSchDay.nexStoInd,occSchDay.nexStoInd,$PRE.occSchDay.iPerSta,occSchDay.iPerSta,$PRE.occSchDay.iPerSto,occSchDay.iPerSto,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005475/0.8036, allocations: 182 kB / 1.114 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001813/0.8038, allocations: 28.72 kB / 1.114 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.803e-05/0.8039, allocations: 18.19 kB / 1.114 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.816e-05/0.804, allocations: 4.781 kB / 1.114 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.648e-05/0.804, allocations: 1 kB / 1.114 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.701e-05/0.804, allocations: 4.031 kB / 1.114 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006948/0.8047, allocations: 315.8 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.621e-06/0.8048, allocations: 5.094 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002369/0.805, allocations: 17.34 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-05/0.8051, allocations: 3.5 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004004/0.8091, allocations: 21.75 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.092e-05/0.8092, allocations: 4.047 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.55e-06/0.8092, allocations: 4.906 kB / 1.114 GB, free: 207 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003183/0.8124, allocations: 0.5987 MB / 1.115 GB, free: 206.7 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.208e-05/0.8125, allocations: 100.6 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002557/0.8128, allocations: 24.39 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005644/0.8134, allocations: 29.88 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001784/0.8136, allocations: 37.14 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001438/0.8138, allocations: 32.45 kB / 1.115 GB, free: 206.6 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001616/0.814, allocations: 104.6 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.215e-06/0.814, allocations: 0 / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.001377/0.8154, allocations: 110.6 kB / 1.115 GB, free: 206.5 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,occSchDay2.occupied,occSchDay2.nexStaInd,occSchDay2.nexStoInd,occSchDay2.iPerSta,occSchDay2.iPerSto,occSchDay2.tOcc,occSchDay2.tNonOcc,$whenCondition3,$whenCondition4,occSchDay1.occupied,occSchDay1.nexStaInd,occSchDay1.nexStoInd,occSchDay1.iPerSta,occSchDay1.iPerSto,occSchDay1.tOcc,occSchDay1.tNonOcc,$whenCondition1,$whenCondition2,occSchDay.occupied,occSchDay.nexStaInd,occSchDay.nexStoInd,occSchDay.iPerSta,occSchDay.iPerSto,occSchDay.tOcc,occSchDay.tNonOcc) * Number of discrete states: 21 (occSchDay.tNonOcc,occSchDay.iPerSto,occSchDay.nexStoInd,occSchDay.occupied,occSchDay.tOcc,occSchDay.nexStaInd,occSchDay.iPerSta,occSchDay1.tNonOcc,occSchDay1.iPerSto,occSchDay1.nexStoInd,occSchDay1.occupied,occSchDay1.tOcc,occSchDay1.nexStaInd,occSchDay1.iPerSta,occSchDay2.tNonOcc,occSchDay2.iPerSto,occSchDay2.nexStoInd,occSchDay2.occupied,occSchDay2.tOcc,occSchDay2.nexStaInd,occSchDay2.iPerSta) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 21 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000503/0.8159, allocations: 182.1 kB / 1.115 GB, free: 206.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02009/0.836, allocations: 0.9689 MB / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.8e-06/0.8361, allocations: 0 / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/0.8376, allocations: 227.9 kB / 1.116 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007352/0.8383, allocations: 30.73 kB / 1.117 GB, free: 205.8 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002259/0.8406, allocations: 490.5 kB / 1.117 GB, free: 205.5 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003459/0.841, allocations: 0.734 MB / 1.118 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000146/0.8412, allocations: 17.34 kB / 1.118 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001234/0.8413, allocations: 20.56 kB / 1.118 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of SimCode: time 2.319e-06/0.8413, allocations: 1.031 kB / 1.118 GB, free: 204.8 MB / 0.7292 GB Notification: Performance of Templates: time 0.03929/0.8806, allocations: 4.736 MB / 1.122 GB, free: 204.7 MB / 0.7292 GB