Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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.00198/0.00198, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002669/0.002669, allocations: 216.2 kB / 22.24 MB, free: 4.852 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.53/1.53, allocations: 230.6 MB / 256 MB, free: 8.047 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.787/2.787, allocations: 475.9 MB / 0.7699 GB, free: 4.762 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.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus,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.CalendarTimeMonthsPlus") [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.002098/0.002098, allocations: 68.95 kB / 1.117 GB, free: 41.29 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3136/0.3157, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002766/0.3185, allocations: 1.531 MB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.3198, allocations: 0.5168 MB / 1.285 GB, free: 9.934 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.296e-05/0.3198, allocations: 4 kB / 1.285 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.163e-05/0.3199, allocations: 11.88 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001174/0.32, allocations: 27.84 kB / 1.285 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007924/0.3208, allocations: 314.8 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005497/0.3214, allocations: 483.5 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.088e-05/0.3214, allocations: 4 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000402/0.3218, allocations: 283.6 kB / 1.286 GB, free: 8.832 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002963/0.3221, allocations: 147.5 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.374e-05/0.3222, allocations: 28 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.295e-05/0.3223, allocations: 27.94 kB / 1.286 GB, free: 8.633 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.3224, allocations: 111.7 kB / 1.286 GB, free: 8.523 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001885/0.3226, allocations: 159.3 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004716/0.3231, allocations: 426.4 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.3231, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3231, allocations: 0 / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3231, allocations: 4 kB / 1.287 GB, free: 7.945 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.001303/0.3244, allocations: 0.7989 MB / 1.288 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3245, allocations: 8.031 kB / 1.288 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.3246, allocations: 52.66 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004514/0.325, allocations: 260.7 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.001e-05/0.3251, allocations: 20.36 kB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-05/0.3251, allocations: 24.38 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009624/0.3261, allocations: 222 kB / 1.288 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.3261, allocations: 3.938 kB / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.3261, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.3262, allocations: 0 / 1.288 GB, free: 6.469 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007354/0.3269, allocations: 103.8 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003936/0.3273, allocations: 277.1 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.3283, allocations: 158.5 kB / 1.289 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007165/0.329, allocations: 108.8 kB / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.378e-05/0.329, allocations: 0 / 1.289 GB, free: 5.793 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009354/0.33, allocations: 227.1 kB / 1.289 GB, free: 5.559 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.33, allocations: 3.938 kB / 1.289 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002514/0.3325, allocations: 489 kB / 1.29 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.062e-05/0.3326, allocations: 63.39 kB / 1.29 GB, free: 4.996 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004658/0.333, allocations: 413.9 kB / 1.29 GB, free: 4.582 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 5.711e-05/0.3331, allocations: 37.7 kB / 1.29 GB, free: 4.539 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.948e-05/0.3332, allocations: 97.44 kB / 1.29 GB, free: 4.441 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.3332, allocations: 35.73 kB / 1.29 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002009/0.3334, allocations: 141.3 kB / 1.29 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3336, allocations: 322.8 kB / 1.291 GB, free: 3.938 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003238/0.3339, allocations: 195.3 kB / 1.291 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003609/0.3343, allocations: 246.5 kB / 1.291 GB, free: 3.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003904/0.3346, allocations: 259 kB / 1.291 GB, free: 3.176 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.3347, allocations: 3.984 kB / 1.291 GB, free: 3.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009023/0.3356, allocations: 0.5586 MB / 1.292 GB, free: 2.582 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.939e-05/0.3357, allocations: 79.38 kB / 1.292 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3357, allocations: 7.938 kB / 1.292 GB, free: 2.484 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.3357, allocations: 7.938 kB / 1.292 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.3358, allocations: 19.98 kB / 1.292 GB, free: 2.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.3359, allocations: 11.92 kB / 1.292 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004577/0.3363, allocations: 60.03 kB / 1.292 GB, free: 2.387 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.596e-05/0.3364, allocations: 67.97 kB / 1.292 GB, free: 2.32 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.0002348/0.3366, allocations: 187.8 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.986e-05/0.3367, allocations: 35.77 kB / 1.292 GB, free: 2.094 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.386e-05/0.3368, allocations: 51.61 kB / 1.292 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.846e-06/0.3368, allocations: 3.938 kB / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.3368, allocations: 0 / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.3368, allocations: 0 / 1.292 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002185/0.339, allocations: 0.6836 MB / 1.293 GB, free: 1.316 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.339, allocations: 4 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.765e-05/0.339, allocations: 7.938 kB / 1.293 GB, free: 1.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.339, allocations: 3.984 kB / 1.293 GB, free: 1.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.495e-05/0.3391, allocations: 15.98 kB / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.3391, allocations: 0 / 1.293 GB, free: 1.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3391, allocations: 4 kB / 1.293 GB, free: 1.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001722/0.3408, allocations: 487.4 kB / 1.294 GB, free: 0.7891 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.3411, allocations: 129.6 kB / 1.294 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.237e-05/0.3412, allocations: 12 kB / 1.294 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004466/0.3416, allocations: 27.97 kB / 1.294 GB, free: 0.625 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.214e-05/0.3417, allocations: 15.97 kB / 1.294 GB, free: 0.6094 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.088e-05/0.3417, allocations: 55.98 kB / 1.294 GB, free: 0.5547 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003116/0.3421, allocations: 295.1 kB / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3421, allocations: 0 / 1.294 GB, free: 280 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000356/0.3424, allocations: 63.98 kB / 1.294 GB, free: 216 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.0001551/0.3426, allocations: 119.2 kB / 1.294 GB, free: 84 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.3439, allocations: 476.8 kB / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3439, allocations: 0 / 1.295 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007418/0.3446, allocations: 111.9 kB / 1.295 GB, free: 15.47 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003728/0.345, allocations: 39.22 kB / 1.295 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.3465, allocations: 0.5474 MB / 1.295 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001887/0.3467, allocations: 163 kB / 1.296 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 6.458e-05/0.3468, allocations: 17.08 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.879e-05/0.3468, allocations: 15.44 kB / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of SimCode: time 3.71e-07/0.3468, allocations: 0 / 1.296 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of Templates: time 0.01046/0.3573, allocations: 6.059 MB / 1.301 GB, free: 8.547 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.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: 8.956322234123945]