Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.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.001363/0.001363, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001513/0.001513, allocations: 222.1 kB / 23 MB, free: 4.91 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.802/2.802, allocations: 476 MB / 0.7707 GB, free: 4.785 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Utilities.Time.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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_11_Buildings.Utilities.Time.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.002135/0.002135, allocations: 70.06 kB / 1.118 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2999, allocations: 170 MB / 1.284 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.003265/0.3031, allocations: 1.523 MB / 1.285 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001424/0.3046, allocations: 0.5246 MB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.345e-05/0.3046, allocations: 0 / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.3048, allocations: 11.86 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001477/0.3049, allocations: 27.84 kB / 1.286 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.3059, allocations: 322.5 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006842/0.3066, allocations: 483.5 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.857e-05/0.3066, allocations: 4 kB / 1.287 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000524/0.3072, allocations: 283.6 kB / 1.287 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.3076, allocations: 131.7 kB / 1.287 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001296/0.3077, allocations: 28 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001099/0.3078, allocations: 24 kB / 1.287 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001502/0.3079, allocations: 119.6 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3081, allocations: 155.3 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.3087, allocations: 430.4 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.3087, allocations: 0 / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.164e-06/0.3087, allocations: 0 / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.37e-05/0.3087, allocations: 0 / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001575/0.3103, allocations: 0.8028 MB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.174e-05/0.3103, allocations: 8.031 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.3105, allocations: 52.66 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004794/0.3109, allocations: 256.7 kB / 1.289 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.559e-05/0.311, allocations: 20.36 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.3111, allocations: 28.38 kB / 1.289 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009889/0.3121, allocations: 222 kB / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.3121, allocations: 192 / 1.289 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.469e-05/0.3121, allocations: 3.938 kB / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.087e-06/0.3121, allocations: 0 / 1.289 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007303/0.3129, allocations: 107.9 kB / 1.289 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004401/0.3133, allocations: 285.1 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009888/0.3143, allocations: 158.5 kB / 1.29 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000696/0.315, allocations: 108.8 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.315, allocations: 0 / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009357/0.3159, allocations: 223.2 kB / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.316, allocations: 0 / 1.29 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002473/0.3184, allocations: 493 kB / 1.29 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.271e-05/0.3185, allocations: 59.41 kB / 1.29 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/0.319, allocations: 413.9 kB / 1.291 GB, free: 4.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.811e-05/0.319, allocations: 45.7 kB / 1.291 GB, free: 4.578 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.481e-05/0.3191, allocations: 93.44 kB / 1.291 GB, free: 4.484 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.632e-05/0.3192, allocations: 39.67 kB / 1.291 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002396/0.3194, allocations: 137.4 kB / 1.291 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3196, allocations: 326.8 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003305/0.3199, allocations: 187.3 kB / 1.292 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003776/0.3203, allocations: 250.5 kB / 1.292 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003915/0.3207, allocations: 267 kB / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.3207, allocations: 0 / 1.292 GB, free: 3.211 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009107/0.3216, allocations: 0.5528 MB / 1.293 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/0.3217, allocations: 83.36 kB / 1.293 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.3217, allocations: 4 kB / 1.293 GB, free: 2.531 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.984e-05/0.3217, allocations: 3.938 kB / 1.293 GB, free: 2.527 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001643/0.3219, allocations: 23.98 kB / 1.293 GB, free: 2.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/0.3219, allocations: 12.12 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004793/0.3224, allocations: 51.84 kB / 1.293 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.855e-05/0.3225, allocations: 63.97 kB / 1.293 GB, free: 2.379 MB / 0.9825 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002478/0.3227, allocations: 188.7 kB / 1.293 GB, free: 2.188 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.943e-05/0.3228, allocations: 35.77 kB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.673e-05/0.3229, allocations: 43.62 kB / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.273e-06/0.3229, allocations: 8 kB / 1.293 GB, free: 2.102 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.3229, allocations: 7.922 kB / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.3229, allocations: 0 / 1.293 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002184/0.3251, allocations: 0.6716 MB / 1.294 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/0.3251, allocations: 15.88 kB / 1.294 GB, free: 1.367 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.072e-05/0.3251, allocations: 7.922 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.3251, allocations: 4 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.06e-05/0.3252, allocations: 23.97 kB / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3252, allocations: 0 / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.3252, allocations: 0 / 1.294 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3269, allocations: 483.4 kB / 1.294 GB, free: 0.8438 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003232/0.3272, allocations: 133.5 kB / 1.294 GB, free: 0.7148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.513e-05/0.3273, allocations: 8 kB / 1.294 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000455/0.3277, allocations: 34.97 kB / 1.294 GB, free: 0.6758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.903e-05/0.3278, allocations: 11.98 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.415e-05/0.3278, allocations: 59.97 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003161/0.3282, allocations: 295.1 kB / 1.295 GB, free: 332 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3282, allocations: 4 kB / 1.295 GB, free: 328 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003659/0.3285, allocations: 67.98 kB / 1.295 GB, free: 260 kB / 0.9825 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001636/0.3287, allocations: 115.2 kB / 1.295 GB, free: 132 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.33, allocations: 477.2 kB / 1.295 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.33, allocations: 0 / 1.295 GB, free: 15.63 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007431/0.3308, allocations: 112.2 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3311, allocations: 39.84 kB / 1.296 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3327, allocations: 0.5842 MB / 1.296 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.3329, allocations: 163 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.921e-05/0.3329, allocations: 23.42 kB / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3329, allocations: 0 / 1.296 GB, free: 14.66 MB / 0.9981 GB Notification: Performance of Templates: time 0.006964/0.3399, allocations: 3.68 MB / 1.3 GB, free: 10.93 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.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.137950612232089]