Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.001343/0.001343, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001462/0.001462, allocations: 209.3 kB / 22.99 MB, free: 4.984 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.481/1.481, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.232/3.232, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [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.002015/0.002015, allocations: 71.58 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3476/0.3496, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003538/0.3531, allocations: 1.732 MB / 1.329 GB, free: 15.24 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001602/0.3547, allocations: 0.6125 MB / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.3548, allocations: 0 / 1.329 GB, free: 14.63 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.3549, allocations: 15.8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001573/0.3551, allocations: 31.78 kB / 1.329 GB, free: 14.58 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001087/0.3562, allocations: 370.1 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007881/0.357, allocations: 0.6048 MB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.3571, allocations: 25.23 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004726/0.3576, allocations: 315.7 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003343/0.3579, allocations: 175.8 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001083/0.358, allocations: 40 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.3581, allocations: 40 kB / 1.331 GB, free: 13.03 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.3583, allocations: 123.6 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002106/0.3585, allocations: 179.2 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006729/0.3592, allocations: 0.5996 MB / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.3592, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3592, allocations: 0 / 1.332 GB, free: 12.13 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.3592, allocations: 0 / 1.332 GB, free: 12.13 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.001522/0.3607, allocations: 0.8456 MB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.3608, allocations: 8.031 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000155/0.3609, allocations: 60.59 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005356/0.3615, allocations: 280.6 kB / 1.333 GB, free: 10.85 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.819e-05/0.3615, allocations: 20.36 kB / 1.333 GB, free: 10.83 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.3616, allocations: 28.38 kB / 1.333 GB, free: 10.8 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.3628, allocations: 234 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.25e-05/0.3628, allocations: 4.172 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.3628, allocations: 7.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.3628, allocations: 0 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008725/0.3637, allocations: 119.8 kB / 1.333 GB, free: 10.44 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001458/0.3651, allocations: 0.5353 MB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001186/0.3663, allocations: 174.4 kB / 1.334 GB, free: 9.691 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008562/0.3672, allocations: 104.8 kB / 1.334 GB, free: 9.586 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.3672, allocations: 11.94 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001104/0.3683, allocations: 227.2 kB / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.364e-06/0.3683, allocations: 0 / 1.334 GB, free: 9.34 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002915/0.3712, allocations: 0.4894 MB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3713, allocations: 63.39 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000544/0.3718, allocations: 445.9 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.982e-05/0.3719, allocations: 41.69 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.372, allocations: 105.4 kB / 1.336 GB, free: 8.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.251e-05/0.3721, allocations: 35.75 kB / 1.336 GB, free: 8.133 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002496/0.3723, allocations: 149.4 kB / 1.336 GB, free: 7.98 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.3725, allocations: 326.8 kB / 1.336 GB, free: 7.652 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003982/0.3729, allocations: 219.3 kB / 1.336 GB, free: 7.426 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004192/0.3733, allocations: 273.2 kB / 1.336 GB, free: 7.125 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004379/0.3737, allocations: 287.8 kB / 1.337 GB, free: 6.812 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3737, allocations: 7.938 kB / 1.337 GB, free: 6.805 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00104/0.3748, allocations: 0.592 MB / 1.337 GB, free: 6.184 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.527e-05/0.3749, allocations: 87.38 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.3749, allocations: 4 kB / 1.337 GB, free: 6.082 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.132e-05/0.3749, allocations: 4 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001817/0.3751, allocations: 23.91 kB / 1.337 GB, free: 6.055 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.3751, allocations: 4 kB / 1.337 GB, free: 6.051 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005404/0.3756, allocations: 60.03 kB / 1.338 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3757, allocations: 63.98 kB / 1.338 GB, free: 5.93 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.0002962/0.376, allocations: 224.8 kB / 1.338 GB, free: 5.699 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.512e-05/0.3761, allocations: 39.72 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.713e-05/0.3762, allocations: 39.73 kB / 1.338 GB, free: 5.621 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3762, allocations: 4 kB / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.3762, allocations: 0 / 1.338 GB, free: 5.617 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3762, allocations: 7.984 kB / 1.338 GB, free: 5.609 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002497/0.3787, allocations: 0.705 MB / 1.339 GB, free: 4.863 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3787, allocations: 7.938 kB / 1.339 GB, free: 4.855 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.287e-05/0.3787, allocations: 7.984 kB / 1.339 GB, free: 4.848 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.3787, allocations: 4 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.288e-05/0.3788, allocations: 19.98 kB / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3788, allocations: 0 / 1.339 GB, free: 4.824 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.3788, allocations: 3.984 kB / 1.339 GB, free: 4.82 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002031/0.3808, allocations: 491.4 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003738/0.3812, allocations: 185.4 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.659e-05/0.3813, allocations: 19.98 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005275/0.3818, allocations: 27.97 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.783e-05/0.3819, allocations: 15.92 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.469e-05/0.382, allocations: 59.97 kB / 1.339 GB, free: 4.023 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003693/0.3823, allocations: 315.1 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004547/0.3828, allocations: 75.92 kB / 1.34 GB, free: 3.645 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.0002119/0.383, allocations: 130.1 kB / 1.34 GB, free: 3.508 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001631/0.3846, allocations: 0.5057 MB / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.3846, allocations: 0 / 1.34 GB, free: 2.965 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008716/0.3855, allocations: 120.2 kB / 1.34 GB, free: 2.848 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004384/0.3859, allocations: 31.14 kB / 1.34 GB, free: 2.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001722/0.3877, allocations: 0.598 MB / 1.341 GB, free: 2.191 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002218/0.3879, allocations: 182.7 kB / 1.341 GB, free: 1.992 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.346e-05/0.388, allocations: 17.42 kB / 1.341 GB, free: 1.977 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.388, allocations: 15.44 kB / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.388, allocations: 0 / 1.341 GB, free: 1.961 MB / 1.029 GB Notification: Performance of Templates: time 0.01163/0.3996, allocations: 6.607 MB / 1.348 GB, free: 11.3 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.039688421995379]