Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001709/0.001709, allocations: 100.4 kB / 19.7 MB, free: 2.141 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.002131/0.002131, allocations: 219.4 kB / 22.99 MB, free: 4.961 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.49/1.49, allocations: 230.6 MB / 256.8 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.276/3.276, allocations: 0.5107 GB / 0.8166 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002101/0.002101, allocations: 68.69 kB / 1.187 GB, free: 13.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 181.9 MB / 1.365 GB, free: 13.55 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003409/0.3647, allocations: 1.727 MB / 1.366 GB, free: 11.8 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001629/0.3663, allocations: 0.6063 MB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3664, allocations: 4 kB / 1.367 GB, free: 11.2 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001231/0.3665, allocations: 15.8 kB / 1.367 GB, free: 11.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000167/0.3667, allocations: 43.5 kB / 1.367 GB, free: 11.14 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001045/0.3677, allocations: 357.3 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008604/0.3686, allocations: 0.597 MB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.3687, allocations: 25.23 kB / 1.368 GB, free: 10.16 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005363/0.3693, allocations: 319.6 kB / 1.368 GB, free: 9.852 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00038/0.3696, allocations: 144.5 kB / 1.368 GB, free: 9.711 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001293/0.3698, allocations: 44 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001088/0.3699, allocations: 40 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.37, allocations: 127.6 kB / 1.369 GB, free: 9.504 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002182/0.3702, allocations: 179.2 kB / 1.369 GB, free: 9.328 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0007118/0.371, allocations: 0.5995 MB / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.371, allocations: 0 / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.783e-06/0.371, allocations: 0 / 1.369 GB, free: 8.727 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.371, allocations: 8 kB / 1.369 GB, free: 8.719 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.001596/0.3726, allocations: 0.8261 MB / 1.37 GB, free: 7.82 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.3726, allocations: 15.97 kB / 1.37 GB, free: 7.805 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.3727, allocations: 56.66 kB / 1.37 GB, free: 7.75 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005176/0.3733, allocations: 284.6 kB / 1.371 GB, free: 7.449 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.3733, allocations: 20.36 kB / 1.371 GB, free: 7.43 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.034e-05/0.3734, allocations: 28.38 kB / 1.371 GB, free: 7.402 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009819/0.3744, allocations: 239.7 kB / 1.371 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.3744, allocations: 192 / 1.371 GB, free: 7.164 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.3744, allocations: 7.922 kB / 1.371 GB, free: 7.156 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.3744, allocations: 4 kB / 1.371 GB, free: 7.152 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007641/0.3752, allocations: 107.9 kB / 1.371 GB, free: 7.047 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001488/0.3767, allocations: 0.5352 MB / 1.371 GB, free: 6.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/0.3777, allocations: 178.5 kB / 1.372 GB, free: 6.297 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007318/0.3784, allocations: 112.8 kB / 1.372 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.3785, allocations: 4 kB / 1.372 GB, free: 6.18 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009753/0.3794, allocations: 241.4 kB / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.863e-06/0.3794, allocations: 0 / 1.372 GB, free: 5.934 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002556/0.382, allocations: 497.2 kB / 1.372 GB, free: 5.441 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001216/0.3821, allocations: 63.39 kB / 1.372 GB, free: 5.367 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.3826, allocations: 441.9 kB / 1.373 GB, free: 4.922 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.897e-05/0.3827, allocations: 41.69 kB / 1.373 GB, free: 4.875 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 9.728e-05/0.3828, allocations: 105.4 kB / 1.373 GB, free: 4.77 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.382e-05/0.3828, allocations: 39.7 kB / 1.373 GB, free: 4.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002827/0.3831, allocations: 145.5 kB / 1.373 GB, free: 4.582 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3833, allocations: 326.8 kB / 1.374 GB, free: 4.254 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003643/0.3836, allocations: 211.3 kB / 1.374 GB, free: 4.035 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004146/0.3841, allocations: 282.8 kB / 1.374 GB, free: 3.727 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004214/0.3845, allocations: 286.9 kB / 1.374 GB, free: 3.414 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.3845, allocations: 4 kB / 1.374 GB, free: 3.41 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009797/0.3855, allocations: 0.6038 MB / 1.375 GB, free: 2.777 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.05e-05/0.3855, allocations: 87.38 kB / 1.375 GB, free: 2.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3856, allocations: 4 kB / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.546e-05/0.3856, allocations: 0 / 1.375 GB, free: 2.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.3857, allocations: 23.97 kB / 1.375 GB, free: 2.652 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3857, allocations: 7.938 kB / 1.375 GB, free: 2.645 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005098/0.3862, allocations: 60.03 kB / 1.375 GB, free: 2.586 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.33e-05/0.3863, allocations: 59.98 kB / 1.375 GB, free: 2.527 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.0002623/0.3866, allocations: 220.3 kB / 1.375 GB, free: 2.305 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.077e-05/0.3867, allocations: 39.7 kB / 1.375 GB, free: 2.266 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.677e-05/0.3867, allocations: 35.73 kB / 1.375 GB, free: 2.234 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.64e-06/0.3867, allocations: 4 kB / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.3867, allocations: 0 / 1.375 GB, free: 2.23 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3867, allocations: 7.984 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002223/0.389, allocations: 0.7089 MB / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.874e-06/0.389, allocations: 0 / 1.376 GB, free: 1.473 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.389, allocations: 11.92 kB / 1.376 GB, free: 1.461 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.389, allocations: 4 kB / 1.376 GB, free: 1.457 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.3891, allocations: 19.98 kB / 1.376 GB, free: 1.438 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3891, allocations: 4 kB / 1.376 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.3891, allocations: 3.984 kB / 1.376 GB, free: 1.43 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001725/0.3908, allocations: 493.5 kB / 1.377 GB, free: 0.9336 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003491/0.3911, allocations: 181.5 kB / 1.377 GB, free: 0.7578 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.394e-05/0.3912, allocations: 23.98 kB / 1.377 GB, free: 0.7344 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004624/0.3917, allocations: 27.97 kB / 1.377 GB, free: 0.707 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.722e-05/0.3917, allocations: 11.92 kB / 1.377 GB, free: 0.6953 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.272e-05/0.3918, allocations: 63.97 kB / 1.377 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00039/0.3922, allocations: 319.1 kB / 1.377 GB, free: 328 kB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.3922, allocations: 0 / 1.377 GB, free: 328 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003566/0.3925, allocations: 75.88 kB / 1.377 GB, free: 252 kB / 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.0001771/0.3927, allocations: 132.1 kB / 1.377 GB, free: 108 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.3941, allocations: 0.4941 MB / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3941, allocations: 0 / 1.378 GB, free: 15.57 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007581/0.3948, allocations: 130.9 kB / 1.378 GB, free: 15.45 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.3952, allocations: 35.27 kB / 1.378 GB, free: 15.42 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001603/0.3968, allocations: 0.6387 MB / 1.379 GB, free: 14.74 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.397, allocations: 182.9 kB / 1.379 GB, free: 14.54 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.001e-05/0.3971, allocations: 19.42 kB / 1.379 GB, free: 14.52 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.3971, allocations: 4 kB / 1.379 GB, free: 14.52 MB / 1.076 GB Notification: Performance of Templates: time 0.006724/0.4038, allocations: 4.115 MB / 1.383 GB, free: 10.36 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.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.445113654248416]