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.001302/0.001302, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001619/0.001619, allocations: 212.9 kB / 22.99 MB, free: 4.957 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.557/1.557, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.431/3.431, allocations: 0.49 GB / 0.7959 GB, free: 35.49 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: translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") translateModel(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|occSchDay.occupied|occSchDay1.occupied|occSchDay2.occupied|occSchDay.tNexNonOcc|occSchDay.tNexOcc|occSchDay1.tNexNonOcc|occSchDay1.tNexOcc|occSchDay2.tNexNonOcc|occSchDay2.tNexOcc",fileNamePrefix="Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime") [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.0021/0.0021, allocations: 71.61 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3782/0.3803, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime): time 0.002944/0.3832, allocations: 1.48 MB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3844, allocations: 0.619 MB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.35e-05/0.3845, allocations: 4 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 8.008e-05/0.3845, allocations: 15.8 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 7.07e-05/0.3846, allocations: 19.84 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3856, allocations: 350.5 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0002457/0.3859, allocations: 171.7 kB / 1.33 GB, free: 14.38 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.623e-05/0.3859, allocations: 12 kB / 1.33 GB, free: 14.37 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 9.593e-05/0.386, allocations: 79.81 kB / 1.33 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.918e-05/0.3861, allocations: 47.77 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.585e-05/0.3862, allocations: 12 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004394/0.3866, allocations: 291.7 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 8.222e-05/0.3867, allocations: 39.89 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 7.648e-05/0.3868, allocations: 43.8 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004273/0.3872, allocations: 315 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3872, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3872, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3872, allocations: 0 / 1.33 GB, free: 13.56 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.0006605/0.3878, allocations: 415 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.3879, allocations: 11.97 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.388, allocations: 16.84 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00026/0.3882, allocations: 154.3 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.515e-05/0.3882, allocations: 4.375 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.3883, allocations: 12.38 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.3885, allocations: 98.58 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3885, allocations: 192 / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.756e-05/0.3885, allocations: 7.938 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.3885, allocations: 4 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001006/0.3886, allocations: 47.91 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002675/0.3889, allocations: 175.1 kB / 1.331 GB, free: 12.53 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001739/0.3891, allocations: 99.86 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.3892, allocations: 66.66 kB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.158e-05/0.3892, allocations: 4 kB / 1.332 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003183/0.3895, allocations: 145.7 kB / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of pre-optimization done (n=21): time 1.373e-06/0.3895, allocations: 0 / 1.332 GB, free: 12.16 MB / 1.029 GB Notification: Performance of matching and sorting (n=21): time 0.0004864/0.39, allocations: 213.5 kB / 1.332 GB, free: 11.95 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.988e-05/0.3901, allocations: 122.7 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001575/0.3903, allocations: 147.3 kB / 1.332 GB, free: 11.65 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.137e-05/0.3903, allocations: 33.7 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.006e-05/0.3904, allocations: 96.64 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.154e-05/0.3905, allocations: 51.62 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.92e-05/0.3906, allocations: 57.7 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001821/0.3908, allocations: 330.8 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001019/0.3909, allocations: 48.27 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004345/0.3913, allocations: 463.2 kB / 1.333 GB, free: 10.45 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3915, allocations: 134.5 kB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.3915, allocations: 0 / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0003276/0.3918, allocations: 209.3 kB / 1.333 GB, free: 10.1 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.3919, allocations: 8 kB / 1.333 GB, free: 10.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.613e-05/0.3919, allocations: 7.984 kB / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.3919, allocations: 0 / 1.333 GB, free: 10.08 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.985e-05/0.392, allocations: 19.88 kB / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.392, allocations: 0 / 1.333 GB, free: 10.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002547/0.3923, allocations: 51.8 kB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.92e-05/0.3923, allocations: 7.984 kB / 1.334 GB, free: 10 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.0001513/0.3924, allocations: 141 kB / 1.334 GB, free: 9.855 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.596e-05/0.3925, allocations: 11.89 kB / 1.334 GB, free: 9.844 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.076e-05/0.3925, allocations: 24.64 kB / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.3925, allocations: 0 / 1.334 GB, free: 9.812 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/0.3925, allocations: 7.938 kB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.3925, allocations: 0 / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001664/0.3927, allocations: 141.2 kB / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-06/0.3927, allocations: 0 / 1.334 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.642e-05/0.3928, allocations: 12 kB / 1.334 GB, free: 9.625 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/0.3928, allocations: 3.938 kB / 1.334 GB, free: 9.621 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/0.3928, allocations: 4 kB / 1.334 GB, free: 9.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3928, allocations: 7.984 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.3928, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003485/0.3932, allocations: 216.8 kB / 1.334 GB, free: 9.375 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.463e-05/0.3932, allocations: 19.84 kB / 1.334 GB, free: 9.355 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.3932, allocations: 3.984 kB / 1.334 GB, free: 9.352 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.392e-05/0.3933, allocations: 4.141 kB / 1.334 GB, free: 9.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.3933, allocations: 19.91 kB / 1.334 GB, free: 9.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.3933, allocations: 4 kB / 1.334 GB, free: 9.324 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.392e-05/0.3934, allocations: 108.7 kB / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3934, allocations: 0 / 1.334 GB, free: 9.219 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003878/0.3938, allocations: 103.8 kB / 1.334 GB, free: 9.117 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.0003547/0.3942, allocations: 205.1 kB / 1.335 GB, free: 8.91 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000336/0.3945, allocations: 209.2 kB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.3945, allocations: 0 / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 9.077e-05/0.3946, allocations: 51.92 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001734/0.3948, allocations: 5.875 kB / 1.335 GB, free: 8.633 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004802/0.3952, allocations: 248.8 kB / 1.335 GB, free: 8.359 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.254e-05/0.3953, allocations: 96.48 kB / 1.335 GB, free: 8.246 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.793e-05/0.3954, allocations: 12.97 kB / 1.335 GB, free: 8.23 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.487e-05/0.3954, allocations: 19.44 kB / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3954, allocations: 0 / 1.335 GB, free: 8.211 MB / 1.029 GB Notification: Performance of Templates: time 0.007187/0.4026, allocations: 3.326 MB / 1.338 GB, free: 4.93 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.SetPoints.Validation.OccupancyScheduleNegativeStartTime.pipe 2>&1) [Timeout 400] 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: 9.761682862997986]