Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 95.64 kB / 18.95 MB, free: 2.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002116/0.002116, allocations: 213.5 kB / 22.25 MB, free: 5.242 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.641/1.641, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 3.077/3.077, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002215/0.002215, allocations: 72 kB / 1.117 GB, free: 9.195 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3599/0.3621, allocations: 169.9 MB / 1.283 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.003746/0.3658, allocations: 1.481 MB / 1.284 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.3673, allocations: 0.6437 MB / 1.285 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.79e-05/0.3674, allocations: 0 / 1.285 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.747e-05/0.3674, allocations: 7.938 kB / 1.285 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.3675, allocations: 19.84 kB / 1.285 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.00131/0.3688, allocations: 361.5 kB / 1.285 GB, free: 1.754 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003308/0.3692, allocations: 167.7 kB / 1.285 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 6.241e-05/0.3692, allocations: 7.984 kB / 1.285 GB, free: 1.582 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3694, allocations: 79.77 kB / 1.285 GB, free: 1.504 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001169/0.3695, allocations: 39.83 kB / 1.285 GB, free: 1.465 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.3695, allocations: 16 kB / 1.285 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005719/0.3701, allocations: 287.6 kB / 1.286 GB, free: 1.168 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.201e-05/0.3702, allocations: 35.91 kB / 1.286 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.306e-05/0.3703, allocations: 47.78 kB / 1.286 GB, free: 1.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0005972/0.3709, allocations: 311.4 kB / 1.286 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.3709, allocations: 0 / 1.286 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3709, allocations: 0 / 1.286 GB, free: 0.7812 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3709, allocations: 0 / 1.286 GB, free: 0.7812 MB / 0.9825 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.000803/0.3717, allocations: 401.3 kB / 1.286 GB, free: 364 kB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.3718, allocations: 8.031 kB / 1.286 GB, free: 356 kB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.244e-05/0.3718, allocations: 54.61 kB / 1.286 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.3719, allocations: 12.84 kB / 1.286 GB, free: 280 kB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002917/0.3722, allocations: 146.4 kB / 1.287 GB, free: 108 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.681e-05/0.3722, allocations: 12.38 kB / 1.287 GB, free: 96 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.641e-05/0.3722, allocations: 12.38 kB / 1.287 GB, free: 84 kB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002505/0.3725, allocations: 98.45 kB / 1.287 GB, free: 15.97 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.3725, allocations: 7.938 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.3725, allocations: 4 kB / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3725, allocations: 0 / 1.287 GB, free: 15.96 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001118/0.3726, allocations: 47.91 kB / 1.287 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003018/0.3729, allocations: 198.5 kB / 1.287 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002075/0.3731, allocations: 107.8 kB / 1.287 GB, free: 15.54 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.3733, allocations: 58.67 kB / 1.287 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.3733, allocations: 4 kB / 1.287 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003167/0.3736, allocations: 141.8 kB / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 1.322e-06/0.3736, allocations: 0 / 1.287 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.0004872/0.3741, allocations: 221.4 kB / 1.287 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.654e-05/0.3742, allocations: 110.8 kB / 1.288 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001556/0.3743, allocations: 148.7 kB / 1.288 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.169e-05/0.3744, allocations: 37.7 kB / 1.288 GB, free: 14.76 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.3744, allocations: 92.64 kB / 1.288 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 7.749e-05/0.3745, allocations: 59.58 kB / 1.288 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/0.3746, allocations: 61.69 kB / 1.288 GB, free: 14.54 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3748, allocations: 326.8 kB / 1.288 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001035/0.3749, allocations: 48.27 kB / 1.288 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003994/0.3753, allocations: 471.2 kB / 1.289 GB, free: 13.59 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002402/0.3755, allocations: 126.5 kB / 1.289 GB, free: 13.46 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.3755, allocations: 7.938 kB / 1.289 GB, free: 13.45 MB / 0.9981 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003504/0.3759, allocations: 197.4 kB / 1.289 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3759, allocations: 8 kB / 1.289 GB, free: 13.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.706e-05/0.3759, allocations: 8 kB / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3759, allocations: 0 / 1.289 GB, free: 13.23 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001058/0.376, allocations: 16 kB / 1.289 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.376, allocations: 0 / 1.289 GB, free: 13.22 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002337/0.3763, allocations: 55.78 kB / 1.289 GB, free: 13.16 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.484e-05/0.3763, allocations: 4 kB / 1.289 GB, free: 13.16 MB / 0.9981 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 (occSchDay2.tNext,$PRE.occSchDay2.tNext,occSchDay2.tNonOcc,$PRE.occSchDay2.tNonOcc,occSchDay2.tOcc,$PRE.occSchDay2.tOcc,occSchDay2.occupied,$PRE.occSchDay2.occupied,$whenCondition3,occSchDay1.tNext,$PRE.occSchDay1.tNext,occSchDay1.tNonOcc,$PRE.occSchDay1.tNonOcc,occSchDay1.tOcc,$PRE.occSchDay1.tOcc,occSchDay1.occupied,$PRE.occSchDay1.occupied,$whenCondition2,occSchDay.tNext,$PRE.occSchDay.tNext,occSchDay.tNonOcc,$PRE.occSchDay.tNonOcc,occSchDay.tOcc,$PRE.occSchDay.tOcc,occSchDay.occupied,$PRE.occSchDay.occupied,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001575/0.3765, allocations: 144.3 kB / 1.289 GB, free: 13.01 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.837e-05/0.3765, allocations: 7.953 kB / 1.289 GB, free: 13 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.586e-05/0.3765, allocations: 20.7 kB / 1.289 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.3765, allocations: 0 / 1.289 GB, free: 12.98 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.3765, allocations: 11.88 kB / 1.289 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.047e-06/0.3765, allocations: 0 / 1.289 GB, free: 12.97 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001888/0.3767, allocations: 176.5 kB / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3767, allocations: 0 / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.897e-05/0.3768, allocations: 8 kB / 1.289 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3768, allocations: 8.078 kB / 1.289 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.059e-05/0.3768, allocations: 0 / 1.289 GB, free: 12.74 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3768, allocations: 4 kB / 1.289 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.3768, allocations: 3.984 kB / 1.289 GB, free: 12.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00033/0.3771, allocations: 218 kB / 1.29 GB, free: 12.5 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.481e-05/0.3771, allocations: 19.89 kB / 1.29 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.3772, allocations: 0 / 1.29 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.012e-05/0.3772, allocations: 15.92 kB / 1.29 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.91e-05/0.3773, allocations: 7.984 kB / 1.29 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.013e-05/0.3773, allocations: 7.938 kB / 1.29 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.47e-05/0.3774, allocations: 107.3 kB / 1.29 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3774, allocations: 0 / 1.29 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003764/0.3777, allocations: 103.8 kB / 1.29 GB, free: 12.24 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009111/0.3787, allocations: 0.8489 MB / 1.291 GB, free: 11.36 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003553/0.379, allocations: 205.3 kB / 1.291 GB, free: 11.14 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.379, allocations: 3.938 kB / 1.291 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.3791, allocations: 47.92 kB / 1.291 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002046/0.3793, allocations: 19.86 kB / 1.291 GB, free: 11.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002209/0.3815, allocations: 1.81 MB / 1.293 GB, free: 9.152 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.906e-05/0.3816, allocations: 100.6 kB / 1.293 GB, free: 9.035 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 5.342e-05/0.3817, allocations: 12.98 kB / 1.293 GB, free: 9.02 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.365e-05/0.3817, allocations: 31.42 kB / 1.293 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3817, allocations: 0 / 1.293 GB, free: 8.988 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03644/0.4182, allocations: 5.3 MB / 1.298 GB, free: 3.863 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.38/11.8, allocations: 7.609 kB / 1.298 GB, free: 3.859 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.962008013855666]