Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001655/0.001655, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001961/0.001961, allocations: 191.4 kB / 22.23 MB, free: 5.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.323/3.323, allocations: 496 MB / 0.7835 GB, free: 33.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|calTim.year|calTim.month|calTim.day|calTim.weekDay|calTim.hour|calTim.minute",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 68.33 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4029, allocations: 173.6 MB / 1.307 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003995/0.4069, allocations: 1.759 MB / 1.309 GB, free: 28 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.4088, allocations: 0.6247 MB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000157/0.4089, allocations: 3.938 kB / 1.31 GB, free: 15.4 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001655/0.4091, allocations: 11.86 kB / 1.31 GB, free: 15.39 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.4093, allocations: 31.8 kB / 1.31 GB, free: 15.36 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4105, allocations: 362.4 kB / 1.31 GB, free: 15 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000977/0.4115, allocations: 0.597 MB / 1.311 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.4116, allocations: 29.22 kB / 1.311 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006438/0.4123, allocations: 323.5 kB / 1.311 GB, free: 14.06 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004581/0.4127, allocations: 159.6 kB / 1.311 GB, free: 13.9 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001347/0.4129, allocations: 40 kB / 1.311 GB, free: 13.86 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.413, allocations: 43.94 kB / 1.311 GB, free: 13.82 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0001754/0.4132, allocations: 127.6 kB / 1.311 GB, free: 13.7 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0002727/0.4135, allocations: 219 kB / 1.312 GB, free: 13.48 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0007713/0.4142, allocations: 0.5956 MB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.4142, allocations: 4 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.884e-06/0.4142, allocations: 0 / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.685e-05/0.4142, allocations: 4 kB / 1.312 GB, free: 12.88 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001828/0.4161, allocations: 0.8417 MB / 1.313 GB, free: 11.96 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.4161, allocations: 8.922 kB / 1.313 GB, free: 11.95 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002032/0.4163, allocations: 60.64 kB / 1.313 GB, free: 11.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005574/0.4169, allocations: 276.7 kB / 1.313 GB, free: 11.6 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.142e-05/0.417, allocations: 28.34 kB / 1.313 GB, free: 11.57 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.075e-05/0.417, allocations: 32.36 kB / 1.313 GB, free: 11.54 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001054/0.4181, allocations: 230 kB / 1.314 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.192e-05/0.4181, allocations: 192 / 1.314 GB, free: 11.31 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.769e-05/0.4181, allocations: 11.94 kB / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.4182, allocations: 3.938 kB / 1.314 GB, free: 11.3 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000796/0.4189, allocations: 119.9 kB / 1.314 GB, free: 11.18 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.4205, allocations: 0.6399 MB / 1.314 GB, free: 10.5 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001049/0.4215, allocations: 174.5 kB / 1.314 GB, free: 10.32 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000724/0.4222, allocations: 104.8 kB / 1.315 GB, free: 10.21 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.521e-05/0.4223, allocations: 7.984 kB / 1.315 GB, free: 10.2 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009935/0.4233, allocations: 227.1 kB / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of pre-optimization done (n=16): time 2.114e-06/0.4233, allocations: 0 / 1.315 GB, free: 9.969 MB / 1.014 GB Notification: Performance of matching and sorting (n=16): time 0.002646/0.4259, allocations: 0.4934 MB / 1.315 GB, free: 9.469 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.335e-05/0.426, allocations: 55.41 kB / 1.315 GB, free: 9.402 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005924/0.4266, allocations: 441.9 kB / 1.316 GB, free: 8.957 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 8.857e-05/0.4266, allocations: 41.69 kB / 1.316 GB, free: 8.91 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001206/0.4268, allocations: 101.4 kB / 1.316 GB, free: 8.809 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 5.446e-05/0.4268, allocations: 51.61 kB / 1.316 GB, free: 8.758 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.4271, allocations: 137.5 kB / 1.316 GB, free: 8.617 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001725/0.4272, allocations: 326.8 kB / 1.316 GB, free: 8.289 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003183/0.4275, allocations: 147.9 kB / 1.317 GB, free: 8.145 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003481/0.4279, allocations: 197.9 kB / 1.317 GB, free: 7.93 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004416/0.4283, allocations: 295 kB / 1.317 GB, free: 7.609 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/0.4283, allocations: 4 kB / 1.317 GB, free: 7.605 MB / 1.014 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009744/0.4293, allocations: 0.5275 MB / 1.318 GB, free: 7.062 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.4294, allocations: 99.38 kB / 1.318 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.4294, allocations: 0 / 1.318 GB, free: 6.953 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.218e-05/0.4295, allocations: 4 kB / 1.318 GB, free: 6.949 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000182/0.4296, allocations: 23.91 kB / 1.318 GB, free: 6.926 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.189e-05/0.4297, allocations: 4 kB / 1.318 GB, free: 6.922 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004968/0.4302, allocations: 67.97 kB / 1.318 GB, free: 6.855 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/0.4303, allocations: 55.98 kB / 1.318 GB, free: 6.801 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 24 (calTim.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.calTim.year) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0003185/0.4306, allocations: 228.8 kB / 1.318 GB, free: 6.57 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.482e-05/0.4306, allocations: 35.77 kB / 1.318 GB, free: 6.535 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.4307, allocations: 43.73 kB / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.4307, allocations: 0 / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4307, allocations: 0 / 1.318 GB, free: 6.496 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.214e-06/0.4307, allocations: 3.984 kB / 1.318 GB, free: 6.492 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002227/0.433, allocations: 0.759 MB / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.433, allocations: 0 / 1.319 GB, free: 5.68 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.947e-05/0.433, allocations: 11.92 kB / 1.319 GB, free: 5.668 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.433, allocations: 4 kB / 1.319 GB, free: 5.664 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.734e-05/0.4331, allocations: 23.98 kB / 1.319 GB, free: 5.641 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.4331, allocations: 3.938 kB / 1.319 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4331, allocations: 0 / 1.319 GB, free: 5.637 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.4347, allocations: 485.1 kB / 1.319 GB, free: 5.148 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003501/0.4351, allocations: 173.5 kB / 1.319 GB, free: 4.98 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.144e-05/0.4352, allocations: 19.98 kB / 1.319 GB, free: 4.961 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.4356, allocations: 31.91 kB / 1.32 GB, free: 4.93 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.4357, allocations: 11.98 kB / 1.32 GB, free: 4.918 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.381e-05/0.4358, allocations: 55.97 kB / 1.32 GB, free: 4.863 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0003722/0.4361, allocations: 319.1 kB / 1.32 GB, free: 4.555 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4361, allocations: 4 kB / 1.32 GB, free: 4.551 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.000476/0.4366, allocations: 79.81 kB / 1.32 GB, free: 4.473 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 (calTim.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.calTim.hour) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.0002028/0.4368, allocations: 124.7 kB / 1.32 GB, free: 4.34 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.001383/0.4382, allocations: 442.8 kB / 1.32 GB, free: 3.883 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4382, allocations: 0 / 1.32 GB, free: 3.883 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0007314/0.4389, allocations: 107.9 kB / 1.321 GB, free: 3.777 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004289/0.4394, allocations: 39.27 kB / 1.321 GB, free: 3.742 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001852/0.4412, allocations: 0.599 MB / 1.321 GB, free: 3.113 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000638/0.4418, allocations: 0.7981 MB / 1.322 GB, free: 2.289 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0001137/0.442, allocations: 13.42 kB / 1.322 GB, free: 2.273 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.607e-05/0.442, allocations: 15.44 kB / 1.322 GB, free: 2.258 MB / 1.014 GB Notification: Performance of SimCode: time 1.012e-06/0.442, allocations: 7.938 kB / 1.322 GB, free: 2.25 MB / 1.014 GB Notification: Performance of Templates: time 0.01686/0.4589, allocations: 5.511 MB / 1.327 GB, free: 12.64 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.839817984960973]