Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008267/0.0008267, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001055/0.001055, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.647/1.647, allocations: 205.4 MB / 222.1 MB, free: 5.629 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.808/1.808, allocations: 292.7 MB / 0.5499 GB, free: 14.52 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004978/0.0004979, allocations: 12.94 kB / 0.6738 GB, free: 26.15 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2146/0.2151, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.001514/0.2167, allocations: 1.186 MB / 0.7886 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009937/0.2177, allocations: 0.6556 MB / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.2178, allocations: 0 / 0.7892 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.287e-05/0.2178, allocations: 7.922 kB / 0.7892 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.834e-05/0.2179, allocations: 11.92 kB / 0.7892 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007731/0.2187, allocations: 287.1 kB / 0.7895 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002131/0.2189, allocations: 135.7 kB / 0.7896 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.193e-05/0.219, allocations: 4 kB / 0.7896 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 8.886e-05/0.219, allocations: 67.81 kB / 0.7897 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 8.365e-05/0.2191, allocations: 47.83 kB / 0.7897 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.2192, allocations: 8 kB / 0.7897 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003166/0.2195, allocations: 227.7 kB / 0.79 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 6.135e-05/0.2196, allocations: 35.88 kB / 0.79 GB, free: 9.152 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.329e-05/0.2196, allocations: 45.7 kB / 0.79 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002875/0.2199, allocations: 199.9 kB / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.2199, allocations: 0 / 0.7902 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.422e-06/0.2199, allocations: 7.938 kB / 0.7902 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.2199, allocations: 0 / 0.7902 GB, free: 8.898 MB / 0.6075 GB 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.0005991/0.2206, allocations: 454.8 kB / 0.7907 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2206, allocations: 12.03 kB / 0.7907 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.624e-05/0.2207, allocations: 34.56 kB / 0.7907 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.149e-05/0.2207, allocations: 15.81 kB / 0.7907 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002065/0.2209, allocations: 206.8 kB / 0.7909 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.2209, allocations: 8 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.451e-05/0.221, allocations: 11.98 kB / 0.7909 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2212, allocations: 108.2 kB / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.2212, allocations: 0 / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.2212, allocations: 0 / 0.791 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.2212, allocations: 7.984 kB / 0.7911 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.234e-05/0.2213, allocations: 47.91 kB / 0.7911 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002469/0.2216, allocations: 247.3 kB / 0.7913 GB, free: 7.602 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001473/0.2217, allocations: 123.7 kB / 0.7915 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.785e-05/0.2218, allocations: 70.66 kB / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.2218, allocations: 0 / 0.7915 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002301/0.2221, allocations: 144 kB / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=21): time 1.573e-06/0.2221, allocations: 0 / 0.7917 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=21): time 0.0003812/0.2225, allocations: 205.5 kB / 0.7919 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.222e-05/0.2226, allocations: 118.8 kB / 0.792 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.2227, allocations: 140.7 kB / 0.7921 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.24e-05/0.2227, allocations: 33.7 kB / 0.7921 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.653e-05/0.2228, allocations: 100.7 kB / 0.7922 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.79e-05/0.2228, allocations: 55.34 kB / 0.7923 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/0.2228, allocations: 11.94 kB / 0.7923 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001139/0.223, allocations: 330.8 kB / 0.7926 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.516e-05/0.2231, allocations: 52.19 kB / 0.7927 GB, free: 6.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001892/0.2233, allocations: 172.5 kB / 0.7928 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.2234, allocations: 71.97 kB / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.2234, allocations: 0 / 0.7929 GB, free: 5.844 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002864/0.2237, allocations: 193.3 kB / 0.7931 GB, free: 5.648 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/0.2237, allocations: 4 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/0.2237, allocations: 4 kB / 0.7931 GB, free: 5.641 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.2238, allocations: 4 kB / 0.7931 GB, free: 5.637 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.69e-05/0.2238, allocations: 19.98 kB / 0.7931 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.2239, allocations: 4.875 kB / 0.7931 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002237/0.2241, allocations: 55.8 kB / 0.7932 GB, free: 5.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.2241, allocations: 4 kB / 0.7932 GB, free: 5.555 MB / 0.6075 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 ($whenCondition3,$PRE.occSchDay2.occupied,occSchDay2.occupied,$PRE.occSchDay2.tOcc,occSchDay2.tOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tNonOcc,$PRE.occSchDay2.tNext,occSchDay2.tNext,$whenCondition2,$PRE.occSchDay1.occupied,occSchDay1.occupied,$PRE.occSchDay1.tOcc,occSchDay1.tOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tNonOcc,$PRE.occSchDay1.tNext,occSchDay1.tNext,$whenCondition1,$PRE.occSchDay.occupied,occSchDay.occupied,$PRE.occSchDay.tOcc,occSchDay.tOcc,$PRE.occSchDay.tNonOcc,occSchDay.tNonOcc,$PRE.occSchDay.tNext,occSchDay.tNext) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001269/0.2243, allocations: 148 kB / 0.7933 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.18e-05/0.2243, allocations: 11.95 kB / 0.7933 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.614e-05/0.2243, allocations: 16.7 kB / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.374e-06/0.2243, allocations: 0 / 0.7933 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.27e-05/0.2243, allocations: 4 kB / 0.7933 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.2244, allocations: 3.938 kB / 0.7933 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001738/0.2245, allocations: 213.5 kB / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.2245, allocations: 0 / 0.7935 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.2246, allocations: 11.94 kB / 0.7936 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.2246, allocations: 11.98 kB / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.2246, allocations: 0 / 0.7936 GB, free: 5.082 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-06/0.2246, allocations: 4 kB / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2246, allocations: 0 / 0.7936 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002747/0.2249, allocations: 205.1 kB / 0.7938 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.76e-05/0.225, allocations: 100.8 kB / 0.7939 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/0.225, allocations: 8 kB / 0.7939 GB, free: 4.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.75e-05/0.2251, allocations: 8 kB / 0.7939 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.2251, allocations: 11.92 kB / 0.7939 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2251, allocations: 12 kB / 0.7939 GB, free: 4.699 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.609e-05/0.2252, allocations: 114.3 kB / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2252, allocations: 0 / 0.794 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003633/0.2256, allocations: 104 kB / 0.7941 GB, free: 4.488 MB / 0.6075 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 (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.0007158/0.2263, allocations: 0.8419 MB / 0.7949 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2266, allocations: 213 kB / 0.7951 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.2267, allocations: 0 / 0.7951 GB, free: 3.387 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.562e-05/0.2268, allocations: 67.83 kB / 0.7952 GB, free: 3.32 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.227, allocations: 14.81 kB / 0.7952 GB, free: 3.309 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001204/0.2282, allocations: 0.854 MB / 0.7961 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.2284, allocations: 0.7126 MB / 0.7967 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.444e-05/0.2285, allocations: 12.88 kB / 0.7968 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.313e-05/0.2285, allocations: 31.42 kB / 0.7968 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2285, allocations: 4 kB / 0.7968 GB, free: 1.605 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01536/0.2439, allocations: 4.255 MB / 0.8009 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000174/0.2441, allocations: 220.3 kB / 0.8012 GB, free: 13.31 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.88/2.124, allocations: 0 / 0.8012 GB, free: 13.31 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_8_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) Environment - environmentSimulation: