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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01161/0.01161, allocations: 107.4 kB / 15.06 MB, free: 5.555 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.00128/0.00128, allocations: 181.3 kB / 15.95 MB, free: 5.52 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 2.09/2.09, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.294/2.294, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004809, allocations: 12 kB / 0.587 GB, free: 2.066 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6871/0.6876, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001976/0.6896, allocations: 1.194 MB / 0.6846 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.001272/0.691, allocations: 0.5101 MB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.021e-05/0.6911, allocations: 0 / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 7.168e-05/0.6911, allocations: 7.984 kB / 0.6851 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.6913, allocations: 20.22 kB / 0.6851 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.6924, allocations: 275.1 kB / 0.6854 GB, free: 15.42 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0003926/0.6928, allocations: 236.8 kB / 0.6856 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.778e-05/0.6929, allocations: 16.48 kB / 0.6856 GB, free: 15.3 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003912/0.6933, allocations: 200.8 kB / 0.6858 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000332/0.6937, allocations: 176.8 kB / 0.686 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.979e-05/0.6938, allocations: 21.38 kB / 0.686 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002083/0.694, allocations: 48.66 kB / 0.6861 GB, free: 15.17 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001052/0.6941, allocations: 58.45 kB / 0.6861 GB, free: 15.14 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.6943, allocations: 79.53 kB / 0.6862 GB, free: 15.1 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0004691/0.6948, allocations: 260.4 kB / 0.6864 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.6948, allocations: 0 / 0.6864 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.755e-06/0.6948, allocations: 1.406 kB / 0.6864 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.6948, allocations: 3.938 kB / 0.6864 GB, free: 15.04 MB / 0.5261 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.001488/0.6963, allocations: 0.5989 MB / 0.687 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6964, allocations: 9.5 kB / 0.687 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.767e-05/0.6965, allocations: 51.31 kB / 0.6871 GB, free: 14.47 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.6966, allocations: 42.94 kB / 0.6871 GB, free: 14.46 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005067/0.6972, allocations: 281.2 kB / 0.6874 GB, free: 14.22 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.002e-05/0.6972, allocations: 26.53 kB / 0.6874 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001495/0.6974, allocations: 45.5 kB / 0.6875 GB, free: 14.21 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.6985, allocations: 344.6 kB / 0.6878 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6986, allocations: 0.9688 kB / 0.6878 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.6986, allocations: 12.58 kB / 0.6878 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.277e-05/0.6987, allocations: 7.094 kB / 0.6878 GB, free: 14.05 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.6993, allocations: 126.7 kB / 0.6879 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008886/0.7002, allocations: 497.3 kB / 0.6884 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009274/0.7012, allocations: 318.1 kB / 0.6887 GB, free: 13.48 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 2.602e-05/0.7012, allocations: 10.7 kB / 0.6887 GB, free: 13.47 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/0.7024, allocations: 362.5 kB / 0.6891 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=36): time 4.198e-06/0.7024, allocations: 0 / 0.6891 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of matching and sorting (n=36): time 0.002814/0.7052, allocations: 0.6929 MB / 0.6897 GB, free: 13.09 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001049/0.7054, allocations: 202.8 kB / 0.6899 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001671/0.7056, allocations: 150 kB / 0.6901 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.7058, allocations: 52.47 kB / 0.6901 GB, free: 12.7 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.7059, allocations: 104.5 kB / 0.6902 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001219/0.706, allocations: 96.77 kB / 0.6903 GB, free: 12.53 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-05/0.7061, allocations: 18.84 kB / 0.6903 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.437e-05/0.7062, allocations: 336.8 kB / 0.6907 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006871/0.7069, allocations: 221.5 kB / 0.6909 GB, free: 12.13 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006992/0.7076, allocations: 281.6 kB / 0.6911 GB, free: 12 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007137/0.7083, allocations: 314.3 kB / 0.6914 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.7084, allocations: 0.6562 kB / 0.6914 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of matching and sorting (n=57) (initialization): time 0.002488/0.7109, allocations: 0.955 MB / 0.6924 GB, free: 11.43 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001456/0.7111, allocations: 129.6 kB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.132e-05/0.7111, allocations: 1.609 kB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.7111, allocations: 3.719 kB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002359/0.7114, allocations: 27.33 kB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.7114, allocations: 3.094 kB / 0.6925 GB, free: 11.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.7125, allocations: 130.6 kB / 0.6927 GB, free: 11.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.7126, allocations: 35.8 kB / 0.6927 GB, free: 11.29 MB / 0.5261 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.0003562/0.713, allocations: 177 kB / 0.6929 GB, free: 11.14 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.175e-05/0.7131, allocations: 24.89 kB / 0.6929 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.87e-05/0.7131, allocations: 22.62 kB / 0.6929 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.118e-05/0.7131, allocations: 5.125 kB / 0.6929 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.7132, allocations: 1.219 kB / 0.6929 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.132e-05/0.7132, allocations: 3.125 kB / 0.6929 GB, free: 11.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004166/0.7136, allocations: 321.2 kB / 0.6932 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.7136, allocations: 1.031 kB / 0.6932 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001643/0.7138, allocations: 16.84 kB / 0.6932 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.999e-06/0.7138, allocations: 3.656 kB / 0.6932 GB, free: 10.86 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.062e-05/0.7139, allocations: 25.44 kB / 0.6933 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.076e-06/0.7139, allocations: 3.766 kB / 0.6933 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.7139, allocations: 5 kB / 0.6933 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001936/0.7159, allocations: 0.6548 MB / 0.6939 GB, free: 10.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.716, allocations: 100.5 kB / 0.694 GB, free: 10.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001738/0.7162, allocations: 29.41 kB / 0.694 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003699/0.7166, allocations: 28 kB / 0.6941 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001246/0.7167, allocations: 41.39 kB / 0.6941 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.948e-05/0.7168, allocations: 35.12 kB / 0.6941 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 9.619e-05/0.7169, allocations: 106.6 kB / 0.6942 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.4e-07/0.7169, allocations: 0 / 0.6942 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0007598/0.7177, allocations: 118.8 kB / 0.6943 GB, free: 10.27 MB / 0.5261 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.002427/0.7201, allocations: 1.603 MB / 0.6959 GB, free: 9.051 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.7223, allocations: 0.9751 MB / 0.6969 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 4.91e-06/0.7224, allocations: 0.9375 kB / 0.6969 GB, free: 8.484 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0009251/0.7233, allocations: 225.8 kB / 0.6971 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002535/0.7236, allocations: 17.3 kB / 0.6971 GB, free: 8.41 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005061/0.7287, allocations: 2.559 MB / 0.6996 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.729, allocations: 0.7273 MB / 0.7003 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.107e-05/0.7291, allocations: 17.94 kB / 0.7003 GB, free: 5.984 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.7292, allocations: 52.39 kB / 0.7004 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of SimCode: time 8.81e-07/0.7292, allocations: 1.281 kB / 0.7004 GB, free: 5.949 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03395/0.7632, allocations: 6.357 MB / 0.7066 GB, free: 2.832 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000273/0.7635, allocations: 213.3 kB / 0.7068 GB, free: 2.594 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.423, allocations: 0 / 0.7068 GB, free: 2.594 MB / 0.5261 GB