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.001402/0.001402, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.001542/0.001542, allocations: 159.2 kB / 23.01 MB, free: 4.598 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.495/1.495, allocations: 177.2 MB / 203.4 MB, free: 8.91 MB / 190.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.763/2.763, allocations: 377.9 MB / 0.6228 GB, free: 12.63 MB / 0.5919 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.002134/0.002134, allocations: 63.89 kB / 0.982 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9405/0.9426, allocations: 176.1 MB / 1.154 GB, free: 33.39 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.002495/0.9451, allocations: 1.73 MB / 1.156 GB, free: 32.21 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.9462, allocations: 0.6054 MB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.9463, allocations: 2.875 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 8.923e-05/0.9464, allocations: 11.34 kB / 1.156 GB, free: 31.8 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.000117/0.9465, allocations: 34.53 kB / 1.156 GB, free: 31.78 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007066/0.9472, allocations: 369.9 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.9477, allocations: 0.6036 MB / 1.157 GB, free: 31.28 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 9.945e-05/0.9478, allocations: 17.02 kB / 1.157 GB, free: 31.27 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003139/0.9481, allocations: 321.6 kB / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002608/0.9483, allocations: 156.6 kB / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.937e-05/0.9484, allocations: 41.66 kB / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.727e-05/0.9485, allocations: 41.59 kB / 1.158 GB, free: 31.08 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001173/0.9487, allocations: 124 kB / 1.158 GB, free: 31.04 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001664/0.9488, allocations: 178.7 kB / 1.158 GB, free: 30.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004331/0.9493, allocations: 0.5926 MB / 1.159 GB, free: 30.73 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.9493, allocations: 3.188 kB / 1.159 GB, free: 30.73 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.973e-06/0.9493, allocations: 0 / 1.159 GB, free: 30.73 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.9493, allocations: 4 kB / 1.159 GB, free: 30.73 MB / 1.076 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.001061/0.9503, allocations: 0.841 MB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.9504, allocations: 11.78 kB / 1.159 GB, free: 30.04 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.9505, allocations: 63.88 kB / 1.16 GB, free: 30.01 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003647/0.9508, allocations: 274.2 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.058e-05/0.9509, allocations: 20.25 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.082e-05/0.951, allocations: 29.62 kB / 1.16 GB, free: 29.79 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009542/0.9519, allocations: 252.2 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9519, allocations: 192 / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.869e-05/0.952, allocations: 10.25 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.952, allocations: 6.969 kB / 1.16 GB, free: 29.71 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007515/0.9527, allocations: 126.2 kB / 1.16 GB, free: 29.68 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001069/0.9538, allocations: 0.5469 MB / 1.161 GB, free: 29.34 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001044/0.9548, allocations: 194.7 kB / 1.161 GB, free: 29.28 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007239/0.9555, allocations: 122.5 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.9556, allocations: 6.875 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009113/0.9565, allocations: 244.8 kB / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.543e-06/0.9565, allocations: 0 / 1.161 GB, free: 29.17 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002526/0.959, allocations: 0.5415 MB / 1.162 GB, free: 29.04 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.798e-05/0.959, allocations: 60.69 kB / 1.162 GB, free: 28.98 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004142/0.9595, allocations: 440.8 kB / 1.162 GB, free: 28.75 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.096e-05/0.9595, allocations: 40.44 kB / 1.162 GB, free: 28.72 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.9596, allocations: 103.1 kB / 1.162 GB, free: 28.63 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.455e-05/0.9596, allocations: 39.41 kB / 1.162 GB, free: 28.6 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001973/0.9598, allocations: 144.2 kB / 1.163 GB, free: 28.53 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.314e-05/0.9599, allocations: 329.4 kB / 1.163 GB, free: 28.21 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002914/0.9602, allocations: 219.5 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000289/0.9605, allocations: 275 kB / 1.163 GB, free: 27.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003124/0.9608, allocations: 308.7 kB / 1.164 GB, free: 27.68 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.9608, allocations: 0 / 1.164 GB, free: 27.68 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007512/0.9615, allocations: 0.6036 MB / 1.164 GB, free: 27.36 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.186e-05/0.9616, allocations: 85.83 kB / 1.164 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.9616, allocations: 2.875 kB / 1.164 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.9616, allocations: 2.969 kB / 1.164 GB, free: 27.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001616/0.9618, allocations: 25.2 kB / 1.164 GB, free: 27.28 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.9618, allocations: 2.875 kB / 1.164 GB, free: 27.28 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004822/0.9623, allocations: 65.67 kB / 1.164 GB, free: 27.27 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-05/0.9623, allocations: 59.66 kB / 1.165 GB, free: 27.27 MB / 1.076 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.0002249/0.9626, allocations: 224 kB / 1.165 GB, free: 27.1 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.177e-05/0.9626, allocations: 43.39 kB / 1.165 GB, free: 27.08 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.687e-05/0.9627, allocations: 42.8 kB / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-06/0.9627, allocations: 3.328 kB / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.9627, allocations: 4 kB / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.9627, allocations: 0 / 1.165 GB, free: 27.06 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.9647, allocations: 0.7414 MB / 1.166 GB, free: 26.71 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.9647, allocations: 4 kB / 1.166 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.446e-05/0.9647, allocations: 5.25 kB / 1.166 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.9647, allocations: 4 kB / 1.166 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.333e-05/0.9647, allocations: 23.73 kB / 1.166 GB, free: 26.7 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.9647, allocations: 3.938 kB / 1.166 GB, free: 26.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.9647, allocations: 2.625 kB / 1.166 GB, free: 26.69 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001654/0.9664, allocations: 0.5156 MB / 1.166 GB, free: 26.48 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002605/0.9667, allocations: 190.1 kB / 1.166 GB, free: 26.39 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.664e-05/0.9667, allocations: 15.88 kB / 1.166 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004741/0.9672, allocations: 36.14 kB / 1.166 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.215e-05/0.9672, allocations: 14 kB / 1.166 GB, free: 26.38 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.764e-05/0.9673, allocations: 56.61 kB / 1.166 GB, free: 26.38 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002485/0.9675, allocations: 322.5 kB / 1.167 GB, free: 26.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.9675, allocations: 0 / 1.167 GB, free: 26.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003647/0.9679, allocations: 67.66 kB / 1.167 GB, free: 26.22 MB / 1.076 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.0001426/0.968, allocations: 126.6 kB / 1.167 GB, free: 26.12 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.9693, allocations: 0.5219 MB / 1.167 GB, free: 25.82 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.9693, allocations: 0 / 1.167 GB, free: 25.82 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007404/0.97, allocations: 135.8 kB / 1.168 GB, free: 25.79 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000441/0.9705, allocations: 45.61 kB / 1.168 GB, free: 25.78 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001456/0.9719, allocations: 0.6096 MB / 1.168 GB, free: 25.44 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001575/0.9721, allocations: 185.8 kB / 1.168 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.849e-05/0.9721, allocations: 16.52 kB / 1.168 GB, free: 25.34 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.476e-05/0.9722, allocations: 19.59 kB / 1.168 GB, free: 25.33 MB / 1.076 GB Notification: Performance of SimCode: time 8.12e-07/0.9722, allocations: 0 / 1.168 GB, free: 25.33 MB / 1.076 GB Notification: Performance of Templates: time 0.01097/0.9832, allocations: 6.555 MB / 1.175 GB, free: 24.03 MB / 1.076 GB " [Timeout remaining time 299] 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 ida -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.058228262001649]