Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001319/0.001319, allocations: 99.64 kB / 18.95 MB, free: 2.672 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.00156/0.00156, allocations: 217.2 kB / 22.25 MB, free: 5.246 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.578/1.578, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.51/3.51, allocations: 0.4892 GB / 0.7943 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,fileNamePrefix="Buildings_12_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.002388/0.002388, allocations: 64.52 kB / 1.153 GB, free: 25.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3777/0.3801, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002941/0.3831, allocations: 1.483 MB / 1.326 GB, free: 0.8867 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001243/0.3843, allocations: 0.6189 MB / 1.327 GB, free: 272 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.874e-05/0.3844, allocations: 8 kB / 1.327 GB, free: 264 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 8.058e-05/0.3844, allocations: 7.922 kB / 1.327 GB, free: 256 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.515e-05/0.3845, allocations: 15.86 kB / 1.327 GB, free: 240 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001129/0.3857, allocations: 362 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002721/0.3859, allocations: 167.6 kB / 1.328 GB, free: 15.72 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.772e-05/0.386, allocations: 12 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001285/0.3861, allocations: 71.83 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.897e-05/0.3862, allocations: 55.75 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/0.3862, allocations: 15.98 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004964/0.3867, allocations: 271.7 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 7.965e-05/0.3868, allocations: 35.91 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 8.883e-05/0.3869, allocations: 51.77 kB / 1.328 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004902/0.3874, allocations: 307.3 kB / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3874, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3874, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.3874, allocations: 0 / 1.328 GB, free: 14.91 MB / 1.029 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.0007246/0.3881, allocations: 413.4 kB / 1.329 GB, free: 14.48 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.3882, allocations: 8.031 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.044e-05/0.3882, allocations: 38.75 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.885e-05/0.3883, allocations: 12.84 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002321/0.3885, allocations: 154.3 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.3885, allocations: 4.375 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.175e-05/0.3886, allocations: 20.3 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002029/0.3888, allocations: 106.4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.177e-05/0.3888, allocations: 3.938 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.111e-05/0.3888, allocations: 0 / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.3888, allocations: 4 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.3889, allocations: 47.97 kB / 1.329 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.3892, allocations: 202.4 kB / 1.329 GB, free: 13.79 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001648/0.3893, allocations: 91.89 kB / 1.329 GB, free: 13.68 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001088/0.3894, allocations: 70.64 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.3895, allocations: 4 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002935/0.3898, allocations: 139.3 kB / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.412e-06/0.3898, allocations: 0 / 1.33 GB, free: 13.44 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004664/0.3902, allocations: 218.1 kB / 1.33 GB, free: 13.22 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.425e-05/0.3903, allocations: 122.8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001333/0.3905, allocations: 141.7 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.66e-05/0.3905, allocations: 37.7 kB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.324e-05/0.3906, allocations: 100.6 kB / 1.33 GB, free: 12.78 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.488e-05/0.3906, allocations: 47.64 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.97e-05/0.3907, allocations: 61.69 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.3909, allocations: 322.8 kB / 1.331 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001074/0.391, allocations: 56.25 kB / 1.331 GB, free: 12.28 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003889/0.3914, allocations: 472.3 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.3916, allocations: 130.5 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3916, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003534/0.3919, allocations: 209.3 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.392, allocations: 5.875 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.35e-05/0.392, allocations: 4 kB / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.392, allocations: 0 / 1.332 GB, free: 11.36 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.3921, allocations: 19.92 kB / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.3921, allocations: 0 / 1.332 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002288/0.3923, allocations: 47.84 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.933e-05/0.3924, allocations: 8 kB / 1.332 GB, free: 11.28 MB / 1.029 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.0001448/0.3925, allocations: 152.5 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.3925, allocations: 7.953 kB / 1.332 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.3926, allocations: 16.72 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.3926, allocations: 4 kB / 1.332 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.343e-06/0.3926, allocations: 4 kB / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3926, allocations: 0 / 1.332 GB, free: 11.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.3928, allocations: 172.5 kB / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.3928, allocations: 0 / 1.332 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.998e-05/0.3928, allocations: 16 kB / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.3928, allocations: 0 / 1.332 GB, free: 10.86 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.643e-05/0.3928, allocations: 11.98 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.3928, allocations: 3.938 kB / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.3928, allocations: 0 / 1.332 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003111/0.3931, allocations: 210.6 kB / 1.332 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.115e-05/0.3932, allocations: 15.84 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.881e-05/0.3932, allocations: 7.984 kB / 1.332 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.759e-05/0.3933, allocations: 7.938 kB / 1.332 GB, free: 10.58 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.3933, allocations: 11.98 kB / 1.332 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.3933, allocations: 4 kB / 1.332 GB, free: 10.56 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.976e-05/0.3934, allocations: 107.2 kB / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sort global known variables: time 1e-07/0.3934, allocations: 0 / 1.332 GB, free: 10.46 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003836/0.3938, allocations: 107.8 kB / 1.332 GB, free: 10.35 MB / 1.029 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.000864/0.3946, allocations: 0.8504 MB / 1.333 GB, free: 9.469 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.395, allocations: 208.9 kB / 1.333 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.395, allocations: 0 / 1.333 GB, free: 9.246 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.512e-05/0.3951, allocations: 47.91 kB / 1.333 GB, free: 9.199 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.3953, allocations: 13.03 kB / 1.333 GB, free: 9.188 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002196/0.3975, allocations: 1.83 MB / 1.335 GB, free: 7.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.636e-05/0.3976, allocations: 100.5 kB / 1.335 GB, free: 7.141 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.35e-05/0.3976, allocations: 12.97 kB / 1.335 GB, free: 7.125 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.521e-05/0.3977, allocations: 31.7 kB / 1.335 GB, free: 7.094 MB / 1.029 GB Notification: Performance of SimCode: time 4.21e-07/0.3977, allocations: 4 kB / 1.335 GB, free: 7.09 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.4343, allocations: 5.291 MB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.79, allocations: 4.875 kB / 1.341 GB, free: 1.973 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; mkfifo Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe >> ../files/Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime_fmu --startTime=-112320 --stopTime=207360 --stepSize=127.872 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.fmu > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_SetPoints_Validation_OccupancyScheduleNegativeStartTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.02161002298817]