Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001773/0.001773, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002146/0.002146, allocations: 194.3 kB / 22.17 MB, free: 5.656 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.526/1.526, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002963/0.002963, allocations: 71.89 kB / 1.109 GB, free: 6.504 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.969/0.972, allocations: 168.7 MB / 1.274 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.005679/0.9776, allocations: 1.755 MB / 1.276 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.98, allocations: 0.6277 MB / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001381/0.9801, allocations: 0 / 1.276 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001422/0.9803, allocations: 15.8 kB / 1.276 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.9805, allocations: 31.84 kB / 1.276 GB, free: 2.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.001321/0.9818, allocations: 366.7 kB / 1.277 GB, free: 1.801 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.9828, allocations: 0.6008 MB / 1.277 GB, free: 1.199 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001267/0.9829, allocations: 17.12 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006317/0.9835, allocations: 315.5 kB / 1.278 GB, free: 0.875 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004714/0.984, allocations: 159.3 kB / 1.278 GB, free: 0.7188 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000133/0.9842, allocations: 44 kB / 1.278 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.9843, allocations: 40 kB / 1.278 GB, free: 0.6367 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/0.9845, allocations: 123.7 kB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.9848, allocations: 223 kB / 1.278 GB, free: 304 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0009302/0.9857, allocations: 0.5905 MB / 1.279 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.9857, allocations: 3.938 kB / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.904e-06/0.9857, allocations: 0 / 1.279 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.9857, allocations: 0 / 1.279 GB, free: 15.7 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.002104/0.9878, allocations: 0.9247 MB / 1.28 GB, free: 14.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.9879, allocations: 8.031 kB / 1.28 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000202/0.9881, allocations: 56.66 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006961/0.9888, allocations: 330.6 kB / 1.28 GB, free: 14.27 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.431e-05/0.9889, allocations: 32.3 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001338/0.989, allocations: 28.36 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.9905, allocations: 240.5 kB / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.437e-05/0.9906, allocations: 192 / 1.28 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.791e-05/0.9906, allocations: 7.938 kB / 1.28 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.9906, allocations: 7.984 kB / 1.28 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/0.9918, allocations: 115.9 kB / 1.281 GB, free: 13.84 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001987/0.9938, allocations: 0.6643 MB / 1.281 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.9954, allocations: 182.4 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001134/0.9966, allocations: 104.8 kB / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/0.9966, allocations: 0 / 1.281 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001486/0.9981, allocations: 233.9 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.745e-06/0.9981, allocations: 0 / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.004153/1.002, allocations: 0.4934 MB / 1.282 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.394e-05/1.002, allocations: 63.33 kB / 1.282 GB, free: 12.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008586/1.003, allocations: 449.8 kB / 1.283 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001132/1.003, allocations: 37.7 kB / 1.283 GB, free: 11.53 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/1.003, allocations: 109.4 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/1.004, allocations: 35.69 kB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003648/1.004, allocations: 141.4 kB / 1.283 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002878/1.004, allocations: 326.8 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005343/1.005, allocations: 139.9 kB / 1.283 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005793/1.005, allocations: 189.9 kB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007706/1.006, allocations: 293.2 kB / 1.284 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/1.006, allocations: 4 kB / 1.284 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001673/1.008, allocations: 0.526 MB / 1.284 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001606/1.008, allocations: 99.36 kB / 1.284 GB, free: 9.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/1.008, allocations: 4 kB / 1.284 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.066e-05/1.008, allocations: 0 / 1.284 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/1.008, allocations: 23.92 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.008, allocations: 4 kB / 1.285 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008286/1.009, allocations: 56.09 kB / 1.285 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.009, allocations: 67.95 kB / 1.285 GB, free: 9.438 MB / 0.9825 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.0004564/1.01, allocations: 222.8 kB / 1.285 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001223/1.01, allocations: 43.69 kB / 1.285 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001275/1.01, allocations: 43.78 kB / 1.285 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/1.01, allocations: 8 kB / 1.285 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/1.01, allocations: 4 kB / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/1.01, allocations: 0 / 1.285 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004047/1.014, allocations: 0.7858 MB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/1.014, allocations: 0 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.821e-05/1.014, allocations: 8 kB / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/1.014, allocations: 0 / 1.286 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.95e-05/1.014, allocations: 23.97 kB / 1.286 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.874e-06/1.014, allocations: 3.938 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.014, allocations: 0 / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003141/1.017, allocations: 487.4 kB / 1.286 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005538/1.018, allocations: 240.6 kB / 1.286 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/1.018, allocations: 19.98 kB / 1.286 GB, free: 7.469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006269/1.019, allocations: 31.91 kB / 1.286 GB, free: 7.438 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.834e-05/1.019, allocations: 7.984 kB / 1.287 GB, free: 7.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001078/1.019, allocations: 63.98 kB / 1.287 GB, free: 7.367 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0005094/1.019, allocations: 319.1 kB / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/1.019, allocations: 0 / 1.287 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007503/1.02, allocations: 71.94 kB / 1.287 GB, free: 6.988 MB / 0.9825 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.0002759/1.02, allocations: 127.7 kB / 1.287 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002409/1.023, allocations: 450.5 kB / 1.287 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/1.023, allocations: 0 / 1.287 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/1.024, allocations: 113.5 kB / 1.288 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/1.025, allocations: 46.22 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002767/1.028, allocations: 0.6214 MB / 1.288 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006929/1.028, allocations: 0.7786 MB / 1.289 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001117/1.028, allocations: 17.42 kB / 1.289 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.95e-05/1.028, allocations: 23.42 kB / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of SimCode: time 4.71e-07/1.028, allocations: 0 / 1.289 GB, free: 4.742 MB / 0.9825 GB Notification: Performance of Templates: time 0.01714/1.046, allocations: 5.466 MB / 1.294 GB, free: 15.17 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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.239072180353105]