Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001577/0.001577, allocations: 115.9 kB / 17.13 MB, free: 6.008 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.001886/0.001886, allocations: 211.2 kB / 20.1 MB, free: 3.055 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.507/1.507, allocations: 230.6 MB / 253.5 MB, free: 15.1 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 2.908/2.908, allocations: 0.49 GB / 0.7923 GB, free: 1.293 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.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [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.00205/0.00205, allocations: 67.91 kB / 1.15 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.011/1.013, allocations: 176.1 MB / 1.322 GB, free: 25.02 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.00238/1.015, allocations: 1.761 MB / 1.324 GB, free: 23.79 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001114/1.017, allocations: 0.6246 MB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.031e-05/1.017, allocations: 2.5 kB / 1.324 GB, free: 23.38 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.361e-05/1.017, allocations: 15.2 kB / 1.324 GB, free: 23.37 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/1.017, allocations: 30.38 kB / 1.324 GB, free: 23.35 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006372/1.017, allocations: 363 kB / 1.325 GB, free: 23.15 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004139/1.018, allocations: 0.591 MB / 1.325 GB, free: 22.88 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/1.018, allocations: 24 kB / 1.325 GB, free: 22.87 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002731/1.018, allocations: 320.5 kB / 1.326 GB, free: 22.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002191/1.018, allocations: 158.6 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 7.179e-05/1.019, allocations: 47 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.869e-05/1.019, allocations: 38.81 kB / 1.326 GB, free: 22.69 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 9.485e-05/1.019, allocations: 126 kB / 1.326 GB, free: 22.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001437/1.019, allocations: 219.4 kB / 1.326 GB, free: 22.51 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005178/1.019, allocations: 0.5912 MB / 1.327 GB, free: 22.3 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.019, allocations: 7.938 kB / 1.327 GB, free: 22.29 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.472e-06/1.019, allocations: 1.156 kB / 1.327 GB, free: 22.29 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.018e-05/1.019, allocations: 0 / 1.327 GB, free: 22.29 MB / 1.061 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.001197/1.021, allocations: 0.9209 MB / 1.328 GB, free: 21.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.799e-05/1.021, allocations: 8.938 kB / 1.328 GB, free: 21.51 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001418/1.021, allocations: 56.38 kB / 1.328 GB, free: 21.49 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003391/1.021, allocations: 339.8 kB / 1.328 GB, free: 21.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.005e-05/1.021, allocations: 19.52 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.873e-05/1.021, allocations: 30.53 kB / 1.328 GB, free: 21.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001068/1.022, allocations: 238 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/1.022, allocations: 1 kB / 1.328 GB, free: 21.12 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.322e-05/1.022, allocations: 9.531 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.212e-06/1.022, allocations: 1.312 kB / 1.328 GB, free: 21.11 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008835/1.023, allocations: 116.9 kB / 1.328 GB, free: 21.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001385/1.025, allocations: 0.6719 MB / 1.329 GB, free: 20.66 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001147/1.026, allocations: 175 kB / 1.329 GB, free: 20.6 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008195/1.027, allocations: 113 kB / 1.329 GB, free: 20.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.641e-05/1.027, allocations: 6.469 kB / 1.329 GB, free: 20.56 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001067/1.028, allocations: 235.4 kB / 1.33 GB, free: 20.47 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.885e-06/1.028, allocations: 4 kB / 1.33 GB, free: 20.47 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002752/1.03, allocations: 495.3 kB / 1.33 GB, free: 20.36 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/1.03, allocations: 65.08 kB / 1.33 GB, free: 20.29 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004843/1.031, allocations: 440.6 kB / 1.331 GB, free: 20.07 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/1.031, allocations: 49.23 kB / 1.331 GB, free: 20.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.284e-05/1.031, allocations: 100.7 kB / 1.331 GB, free: 19.94 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.295e-05/1.031, allocations: 37 kB / 1.331 GB, free: 19.91 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/1.031, allocations: 141.3 kB / 1.331 GB, free: 19.84 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.401e-05/1.031, allocations: 330.1 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002925/1.032, allocations: 139 kB / 1.331 GB, free: 19.47 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002953/1.032, allocations: 188 kB / 1.332 GB, free: 19.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003717/1.032, allocations: 309.5 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/1.032, allocations: 3.938 kB / 1.332 GB, free: 19.14 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008391/1.033, allocations: 0.5151 MB / 1.332 GB, free: 18.91 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.576e-05/1.033, allocations: 94.09 kB / 1.332 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.033, allocations: 3.047 kB / 1.332 GB, free: 18.83 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/1.033, allocations: 6.156 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000169/1.033, allocations: 23.53 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/1.033, allocations: 3.969 kB / 1.332 GB, free: 18.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005078/1.034, allocations: 54.02 kB / 1.333 GB, free: 18.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/1.034, allocations: 62.41 kB / 1.333 GB, free: 18.81 MB / 1.061 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.0002339/1.034, allocations: 225.8 kB / 1.333 GB, free: 18.64 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/1.034, allocations: 41.42 kB / 1.333 GB, free: 18.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.642e-05/1.034, allocations: 43.06 kB / 1.333 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/1.034, allocations: 2.688 kB / 1.333 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.034, allocations: 0 / 1.333 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/1.034, allocations: 0.9375 kB / 1.333 GB, free: 18.6 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002419/1.037, allocations: 0.791 MB / 1.334 GB, free: 18.17 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/1.037, allocations: 0 / 1.334 GB, free: 18.17 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.901e-05/1.037, allocations: 9.203 kB / 1.334 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.539e-06/1.037, allocations: 5.078 kB / 1.334 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/1.037, allocations: 18.81 kB / 1.334 GB, free: 18.16 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/1.037, allocations: 9.109 kB / 1.334 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.037, allocations: 0 / 1.334 GB, free: 18.15 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/1.039, allocations: 475.6 kB / 1.334 GB, free: 17.95 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003026/1.039, allocations: 259 kB / 1.334 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.831e-05/1.039, allocations: 16.41 kB / 1.334 GB, free: 17.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005003/1.04, allocations: 35.84 kB / 1.334 GB, free: 17.76 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/1.04, allocations: 12.12 kB / 1.334 GB, free: 17.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.06e-05/1.04, allocations: 56.92 kB / 1.335 GB, free: 17.75 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003143/1.04, allocations: 319.6 kB / 1.335 GB, free: 17.6 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.04, allocations: 0 / 1.335 GB, free: 17.6 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003936/1.041, allocations: 66.94 kB / 1.335 GB, free: 17.6 MB / 1.061 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.0001637/1.041, allocations: 126 kB / 1.335 GB, free: 17.5 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.042, allocations: 443.6 kB / 1.335 GB, free: 17.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.042, allocations: 0 / 1.335 GB, free: 17.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008178/1.043, allocations: 117.9 kB / 1.336 GB, free: 17.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/1.043, allocations: 46.23 kB / 1.336 GB, free: 17.23 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/1.045, allocations: 0.6462 MB / 1.336 GB, free: 16.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.045, allocations: 0.7827 MB / 1.337 GB, free: 16.15 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.737e-05/1.045, allocations: 20.5 kB / 1.337 GB, free: 16.14 MB / 1.061 GB Notification: Performance of SimCode: time 3.81e-07/1.045, allocations: 0 / 1.337 GB, free: 16.14 MB / 1.061 GB Notification: Performance of Templates: time 0.006812/1.052, allocations: 4.087 MB / 1.341 GB, free: 15.56 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.701081157007138]