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 ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.23/4.23, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.374e-05/2.385e-05, allocations: 2.719 kB / 0.5325 GB, free: 12.67 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2186, allocations: 98.73 MB / 0.6289 GB, free: 9.133 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.228/0.4466, allocations: 124.4 MB / 0.7504 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002622/0.4469, allocations: 71.97 kB / 0.7504 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02446/0.4714, allocations: 4.599 MB / 0.7549 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4715, allocations: 0 / 0.7549 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.4715, allocations: 4 kB / 0.7549 GB, free: 7.871 MB / 0.6355 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.00176/0.4732, allocations: 0.6246 MB / 0.7555 GB, free: 7.184 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.417e-05/0.4733, allocations: 12.03 kB / 0.7556 GB, free: 7.172 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002246/0.4736, allocations: 47.69 kB / 0.7556 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001203/0.4748, allocations: 306.7 kB / 0.7559 GB, free: 6.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.579e-05/0.4748, allocations: 15.98 kB / 0.7559 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001524/0.475, allocations: 39.98 kB / 0.756 GB, free: 6.73 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003715/0.4754, allocations: 99.89 kB / 0.756 GB, free: 6.633 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007554/0.4762, allocations: 307.2 kB / 0.7563 GB, free: 6.309 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.4762, allocations: 3.938 kB / 0.7563 GB, free: 6.305 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.079e-05/0.4763, allocations: 11.98 kB / 0.7564 GB, free: 6.293 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.4763, allocations: 4 kB / 0.7564 GB, free: 6.289 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008208/0.4771, allocations: 465.8 kB / 0.7568 GB, free: 5.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005904/0.4777, allocations: 277.8 kB / 0.7571 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003501/0.4781, allocations: 145.1 kB / 0.7572 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.824e-05/0.4781, allocations: 7.984 kB / 0.7572 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007818/0.4789, allocations: 340 kB / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=36): time 4.108e-06/0.479, allocations: 0 / 0.7575 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of matching and sorting (n=36): time 0.001539/0.4805, allocations: 0.4895 MB / 0.758 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001297/0.4807, allocations: 208 kB / 0.7582 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.4809, allocations: 130.5 kB / 0.7583 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001239/0.481, allocations: 49.64 kB / 0.7584 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001154/0.4811, allocations: 100.9 kB / 0.7585 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.4813, allocations: 90.95 kB / 0.7586 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.4814, allocations: 8 kB / 0.7586 GB, free: 3.793 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.4815, allocations: 334.8 kB / 0.7589 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000571/0.4821, allocations: 192.8 kB / 0.7591 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006022/0.4827, allocations: 252.7 kB / 0.7593 GB, free: 3 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007834/0.4835, allocations: 193.8 kB / 0.7595 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.4836, allocations: 0 / 0.7595 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002428/0.486, allocations: 0.7656 MB / 0.7603 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/0.4862, allocations: 121.2 kB / 0.7604 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.34e-05/0.4862, allocations: 4 kB / 0.7604 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.167e-05/0.4863, allocations: 0 / 0.7604 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002346/0.4865, allocations: 31.92 kB / 0.7604 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.4865, allocations: 0 / 0.7604 GB, free: 1.871 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009641/0.4875, allocations: 119.6 kB / 0.7605 GB, free: 1.754 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001111/0.4876, allocations: 35.97 kB / 0.7606 GB, free: 1.719 MB / 0.6355 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 () * 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.0003153/0.488, allocations: 154.1 kB / 0.7607 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001328/0.4893, allocations: 485 kB / 0.7612 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.975e-05/0.4894, allocations: 31.89 kB / 0.7612 GB, free: 1.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.367e-05/0.4895, allocations: 20.61 kB / 0.7612 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.4895, allocations: 7.984 kB / 0.7612 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.4896, allocations: 0 / 0.7612 GB, free: 1.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.166e-05/0.4896, allocations: 4 kB / 0.7612 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004342/0.49, allocations: 277.8 kB / 0.7615 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.49, allocations: 4 kB / 0.7615 GB, free: 0.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001758/0.4902, allocations: 23.92 kB / 0.7615 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.927e-06/0.4902, allocations: 0 / 0.7615 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.231e-05/0.4903, allocations: 23.95 kB / 0.7615 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.902e-06/0.4903, allocations: 8 kB / 0.7615 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.738e-06/0.4904, allocations: 0 / 0.7615 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001329/0.4917, allocations: 0.591 MB / 0.7621 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.44e-05/0.4918, allocations: 104.8 kB / 0.7622 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.4919, allocations: 23.94 kB / 0.7622 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000378/0.4923, allocations: 23.97 kB / 0.7623 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/0.4925, allocations: 31.95 kB / 0.7623 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-05/0.4926, allocations: 35.95 kB / 0.7623 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000104/0.4927, allocations: 109.7 kB / 0.7624 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/0.4927, allocations: 0 / 0.7624 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007572/0.4935, allocations: 115.9 kB / 0.7625 GB, free: 15.54 MB / 0.6511 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) * 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.002007/0.4955, allocations: 1.55 MB / 0.7641 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001795/0.4973, allocations: 0.8972 MB / 0.7649 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.231e-06/0.4974, allocations: 0 / 0.7649 GB, free: 13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0005691/0.498, allocations: 192.7 kB / 0.7651 GB, free: 12.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002723/0.4982, allocations: 19.92 kB / 0.7651 GB, free: 12.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.4997, allocations: 415.6 kB / 0.7655 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.5001, allocations: 0.7292 MB / 0.7662 GB, free: 11.57 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.153e-05/0.5002, allocations: 18.08 kB / 0.7663 GB, free: 11.56 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001264/0.5003, allocations: 47.42 kB / 0.7663 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of SimCode: time 1.423e-06/0.5003, allocations: 0 / 0.7663 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04634/0.5467, allocations: 5.886 MB / 0.7721 GB, free: 5.672 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003525/0.5471, allocations: 180.4 kB / 0.7722 GB, free: 5.469 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.553/3.1, allocations: 0 / 0.7722 GB, free: 5.469 MB / 0.6511 GB