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.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.001648/0.001648, allocations: 104.2 kB / 19.74 MB, free: 2.07 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.00197/0.00197, allocations: 207.2 kB / 23.03 MB, free: 4.863 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.467/1.467, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.112/3.112, allocations: 0.49 GB / 0.7959 GB, free: 35.53 MB / 0.6231 GB " [Timeout remaining time 177] 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.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: 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.002041/0.002041, allocations: 68.11 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3404, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.002935/0.3433, allocations: 1.732 MB / 1.329 GB, free: 15.19 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001367/0.3447, allocations: 0.5974 MB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.788e-05/0.3447, allocations: 0 / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001108/0.3448, allocations: 15.86 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001379/0.345, allocations: 39.72 kB / 1.33 GB, free: 14.54 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008772/0.3459, allocations: 377.7 kB / 1.33 GB, free: 14.17 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006575/0.3465, allocations: 0.597 MB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.3466, allocations: 21.23 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004203/0.347, allocations: 319.6 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002886/0.3473, allocations: 156.1 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.3474, allocations: 40 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.3476, allocations: 40 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001385/0.3477, allocations: 127.6 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001922/0.3479, allocations: 175.2 kB / 1.331 GB, free: 12.71 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006044/0.3485, allocations: 0.5996 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.3485, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3485, allocations: 0 / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3485, allocations: 3.938 kB / 1.332 GB, free: 12.1 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001319/0.3498, allocations: 0.8495 MB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.309e-05/0.3498, allocations: 16.03 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.35, allocations: 56.66 kB / 1.333 GB, free: 11.11 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004244/0.3504, allocations: 276.7 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.732e-05/0.3504, allocations: 20.36 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.341e-05/0.3505, allocations: 28.38 kB / 1.333 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001005/0.3515, allocations: 255.6 kB / 1.333 GB, free: 10.52 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.3515, allocations: 8.125 kB / 1.333 GB, free: 10.51 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.823e-05/0.3516, allocations: 7.938 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.3516, allocations: 4 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007795/0.3523, allocations: 127.9 kB / 1.333 GB, free: 10.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001233/0.3536, allocations: 0.5352 MB / 1.334 GB, free: 9.805 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3546, allocations: 190.5 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007309/0.3554, allocations: 116.8 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.3554, allocations: 4 kB / 1.334 GB, free: 9.488 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009428/0.3563, allocations: 247.2 kB / 1.335 GB, free: 9.234 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.623e-06/0.3563, allocations: 3.938 kB / 1.335 GB, free: 9.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002557/0.3589, allocations: 0.5363 MB / 1.335 GB, free: 8.688 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.055e-05/0.359, allocations: 59.39 kB / 1.335 GB, free: 8.617 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004755/0.3594, allocations: 445.9 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.81e-05/0.3595, allocations: 41.69 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.814e-05/0.3596, allocations: 105.4 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.062e-05/0.3596, allocations: 35.73 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002105/0.3598, allocations: 145.4 kB / 1.336 GB, free: 7.832 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.36, allocations: 330.8 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003536/0.3603, allocations: 219.3 kB / 1.336 GB, free: 7.273 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003969/0.3607, allocations: 281.2 kB / 1.337 GB, free: 6.965 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004087/0.3612, allocations: 290.3 kB / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3612, allocations: 0 / 1.337 GB, free: 6.648 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009566/0.3621, allocations: 0.6069 MB / 1.338 GB, free: 6.012 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.378e-05/0.3622, allocations: 91.31 kB / 1.338 GB, free: 5.91 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3622, allocations: 4 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.611e-05/0.3622, allocations: 0 / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.3624, allocations: 31.91 kB / 1.338 GB, free: 5.875 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.242e-05/0.3624, allocations: 8 kB / 1.338 GB, free: 5.867 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004757/0.3629, allocations: 64.03 kB / 1.338 GB, free: 5.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-05/0.363, allocations: 59.98 kB / 1.338 GB, free: 5.746 MB / 1.029 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.000264/0.3632, allocations: 224.8 kB / 1.338 GB, free: 5.516 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.1e-05/0.3633, allocations: 39.72 kB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.792e-05/0.3634, allocations: 39.73 kB / 1.338 GB, free: 5.438 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.3634, allocations: 4 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.3634, allocations: 0 / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/0.3634, allocations: 3.984 kB / 1.338 GB, free: 5.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002181/0.3656, allocations: 0.7458 MB / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.3656, allocations: 0 / 1.339 GB, free: 4.645 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.63e-05/0.3656, allocations: 11.98 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.3656, allocations: 0 / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.445e-05/0.3657, allocations: 15.98 kB / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3657, allocations: 0 / 1.339 GB, free: 4.617 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.3657, allocations: 11.92 kB / 1.339 GB, free: 4.605 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001761/0.3674, allocations: 0.5111 MB / 1.339 GB, free: 4.078 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003111/0.3677, allocations: 181.4 kB / 1.34 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.121e-05/0.3678, allocations: 19.98 kB / 1.34 GB, free: 3.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004841/0.3683, allocations: 35.97 kB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.3683, allocations: 15.92 kB / 1.34 GB, free: 3.832 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.429e-05/0.3684, allocations: 59.97 kB / 1.34 GB, free: 3.773 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003513/0.3688, allocations: 319.1 kB / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3688, allocations: 0 / 1.34 GB, free: 3.461 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003799/0.3691, allocations: 71.92 kB / 1.34 GB, free: 3.391 MB / 1.029 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.0001764/0.3693, allocations: 134.4 kB / 1.34 GB, free: 3.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001346/0.3707, allocations: 0.5175 MB / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3707, allocations: 0 / 1.341 GB, free: 2.695 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008273/0.3715, allocations: 131.8 kB / 1.341 GB, free: 2.566 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.3719, allocations: 40.89 kB / 1.341 GB, free: 2.531 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001602/0.3735, allocations: 0.6518 MB / 1.341 GB, free: 1.844 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3737, allocations: 178.9 kB / 1.342 GB, free: 1.648 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.082e-05/0.3737, allocations: 23.42 kB / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of SimCode: time 6.31e-07/0.3737, allocations: 0 / 1.342 GB, free: 1.625 MB / 1.029 GB Notification: Performance of Templates: time 0.006375/0.3801, allocations: 4.127 MB / 1.346 GB, free: 13.45 MB / 1.045 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/jenkins1/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: 11.187894746894017]