Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.229/2.229, allocations: 251 MB / 265.9 MB, free: 11.68 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001433/0.001432, allocations: 180 kB / 325.5 MB, free: 2.898 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.294/2.294, allocations: 205.4 MB / 0.5764 GB, free: 20.84 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001137/0.001137, allocations: 90.62 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004724/0.0004723, allocations: 18.91 kB / 0.795 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.211/0.2115, allocations: 106.3 MB / 0.8988 GB, free: 65.51 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2244/0.436, allocations: 132.1 MB / 1.028 GB, free: 13.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002967/0.4364, allocations: 79.94 kB / 1.028 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02443/0.4608, allocations: 4.615 MB / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.325e-06/0.4609, allocations: 0 / 1.032 GB, free: 8.512 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.476e-05/0.4609, allocations: 4 kB / 1.032 GB, free: 8.508 MB / 0.6823 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.00177/0.4627, allocations: 0.6408 MB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.109e-05/0.4627, allocations: 12.03 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001014/0.4628, allocations: 46.53 kB / 1.033 GB, free: 7.734 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001598/0.463, allocations: 39.81 kB / 1.033 GB, free: 7.695 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001202/0.4642, allocations: 326.6 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/0.4643, allocations: 31.98 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001453/0.4645, allocations: 47.92 kB / 1.034 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/0.4656, allocations: 338.4 kB / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.298e-05/0.4656, allocations: 0 / 1.034 GB, free: 6.902 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.4657, allocations: 19.97 kB / 1.034 GB, free: 6.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.374e-05/0.4657, allocations: 7.938 kB / 1.034 GB, free: 6.875 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006528/0.4664, allocations: 127.8 kB / 1.034 GB, free: 6.75 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007768/0.4672, allocations: 485.3 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009806/0.4682, allocations: 321.8 kB / 1.035 GB, free: 5.844 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.666e-05/0.4682, allocations: 8.047 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.4693, allocations: 375.7 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=36): time 3.266e-06/0.4693, allocations: 0 / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of matching and sorting (n=36): time 0.002769/0.4721, allocations: 0.6883 MB / 1.036 GB, free: 4.742 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001357/0.4722, allocations: 199.9 kB / 1.036 GB, free: 4.504 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001659/0.4724, allocations: 130.8 kB / 1.036 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001206/0.4726, allocations: 62.02 kB / 1.036 GB, free: 4.301 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.4727, allocations: 108.8 kB / 1.036 GB, free: 4.191 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001243/0.4728, allocations: 90.83 kB / 1.036 GB, free: 4.102 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.949e-05/0.4729, allocations: 16 kB / 1.036 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4731, allocations: 342.8 kB / 1.037 GB, free: 3.742 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006538/0.4737, allocations: 212.8 kB / 1.037 GB, free: 3.531 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006902/0.4744, allocations: 281 kB / 1.037 GB, free: 3.242 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006924/0.4752, allocations: 316.8 kB / 1.037 GB, free: 2.918 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.4752, allocations: 4 kB / 1.037 GB, free: 2.914 MB / 0.6823 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.00245/0.4776, allocations: 0.9326 MB / 1.038 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001433/0.4778, allocations: 117.1 kB / 1.038 GB, free: 1.824 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.4778, allocations: 4 kB / 1.038 GB, free: 1.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.386e-05/0.4779, allocations: 4 kB / 1.039 GB, free: 1.816 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00024/0.4781, allocations: 28.02 kB / 1.039 GB, free: 1.789 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.4781, allocations: 7.938 kB / 1.039 GB, free: 1.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009486/0.4791, allocations: 127.6 kB / 1.039 GB, free: 1.656 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.4792, allocations: 31.98 kB / 1.039 GB, free: 1.625 MB / 0.6823 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.0003938/0.4796, allocations: 181.7 kB / 1.039 GB, free: 1.438 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.871e-05/0.4797, allocations: 23.81 kB / 1.039 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.158e-05/0.4798, allocations: 20.7 kB / 1.039 GB, free: 1.395 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.137e-06/0.4798, allocations: 4 kB / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.4798, allocations: 0 / 1.039 GB, free: 1.391 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.238e-06/0.4798, allocations: 4 kB / 1.039 GB, free: 1.387 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004413/0.4803, allocations: 313.3 kB / 1.039 GB, free: 1.031 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.765e-06/0.4803, allocations: 4 kB / 1.039 GB, free: 1.027 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.4805, allocations: 15.98 kB / 1.039 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.521e-05/0.4805, allocations: 7.938 kB / 1.039 GB, free: 1.004 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.478e-05/0.4806, allocations: 23.95 kB / 1.039 GB, free: 0.9805 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.895e-06/0.4806, allocations: 3.938 kB / 1.039 GB, free: 0.9766 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.4806, allocations: 4 kB / 1.039 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001983/0.4826, allocations: 0.6513 MB / 1.04 GB, free: 264 kB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.919e-05/0.4827, allocations: 104.8 kB / 1.04 GB, free: 140 kB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.4829, allocations: 27.98 kB / 1.04 GB, free: 112 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003686/0.4832, allocations: 27.97 kB / 1.04 GB, free: 84 kB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/0.4834, allocations: 35.89 kB / 1.04 GB, free: 48 kB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.6e-05/0.4835, allocations: 35.95 kB / 1.04 GB, free: 12 kB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001277/0.4836, allocations: 106.9 kB / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4836, allocations: 0 / 1.04 GB, free: 15.91 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007074/0.4843, allocations: 131.9 kB / 1.04 GB, free: 15.78 MB / 0.698 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.002619/0.487, allocations: 1.613 MB / 1.042 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00223/0.4892, allocations: 0.9587 MB / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/0.4893, allocations: 192 / 1.043 GB, free: 13.11 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008279/0.4901, allocations: 231.8 kB / 1.043 GB, free: 12.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.4903, allocations: 17.64 kB / 1.043 GB, free: 12.86 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005086/0.4954, allocations: 2.552 MB / 1.046 GB, free: 10.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.4958, allocations: 0.733 MB / 1.046 GB, free: 9.457 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.555e-05/0.4959, allocations: 21.89 kB / 1.046 GB, free: 9.434 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.4961, allocations: 47.42 kB / 1.046 GB, free: 9.391 MB / 0.698 GB Notification: Performance of SimCode: time 1.062e-06/0.4961, allocations: 0 / 1.046 GB, free: 9.391 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02944/0.5255, allocations: 6.281 MB / 1.053 GB, free: 3.344 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002839/0.5259, allocations: 210.5 kB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.644/3.17, allocations: 4 kB / 1.053 GB, free: 3.102 MB / 0.698 GB