Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001847/0.001847, allocations: 105.1 kB / 19.71 MB, free: 2.125 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.002252/0.002252, allocations: 209.9 kB / 23 MB, free: 4.949 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.625/1.625, 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 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.275/3.275, allocations: 0.49 GB / 0.7959 GB, free: 35.46 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.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_12_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_12_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.002092/0.002092, allocations: 66.25 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3836, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003047/0.3867, allocations: 1.535 MB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.3882, allocations: 0.5306 MB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.674e-05/0.3882, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001049/0.3883, allocations: 7.922 kB / 1.329 GB, free: 14.94 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001223/0.3884, allocations: 31.78 kB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008367/0.3893, allocations: 314.2 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005521/0.3898, allocations: 491.4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.536e-05/0.3899, allocations: 4 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004055/0.3903, allocations: 287.6 kB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3906, allocations: 147.7 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.636e-05/0.3907, allocations: 28 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.747e-05/0.3908, allocations: 28 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001426/0.3909, allocations: 115.6 kB / 1.33 GB, free: 13.53 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.3911, allocations: 155.3 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004735/0.3916, allocations: 430.4 kB / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.3916, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3916, allocations: 0 / 1.331 GB, free: 12.95 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.3916, allocations: 4 kB / 1.331 GB, free: 12.95 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001436/0.393, allocations: 0.7989 MB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.3931, allocations: 8.031 kB / 1.332 GB, free: 12.07 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001311/0.3932, allocations: 52.7 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004906/0.3937, allocations: 260.7 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.3937, allocations: 24.23 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.215e-05/0.3938, allocations: 28.38 kB / 1.332 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.3949, allocations: 217.6 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.3949, allocations: 192 / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.217e-05/0.395, allocations: 3.938 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.395, allocations: 4 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008374/0.3958, allocations: 95.92 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004369/0.3963, allocations: 285.1 kB / 1.333 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001145/0.3974, allocations: 166.4 kB / 1.333 GB, free: 10.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007999/0.3982, allocations: 96.78 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.3982, allocations: 7.984 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.3993, allocations: 219.2 kB / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.913e-06/0.3993, allocations: 0 / 1.333 GB, free: 10.56 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002868/0.4021, allocations: 494.8 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.246e-05/0.4022, allocations: 63.39 kB / 1.334 GB, free: 9.996 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.4027, allocations: 417.9 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-05/0.4028, allocations: 37.7 kB / 1.334 GB, free: 9.531 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001008/0.4029, allocations: 93.44 kB / 1.334 GB, free: 9.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.744e-05/0.4029, allocations: 43.69 kB / 1.334 GB, free: 9.395 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002179/0.4031, allocations: 129.5 kB / 1.334 GB, free: 9.262 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4033, allocations: 322.8 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003388/0.4036, allocations: 191.3 kB / 1.335 GB, free: 8.738 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00037/0.404, allocations: 245.2 kB / 1.335 GB, free: 8.465 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004183/0.4044, allocations: 270.9 kB / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.4044, allocations: 0 / 1.335 GB, free: 8.168 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009552/0.4054, allocations: 0.5476 MB / 1.336 GB, free: 7.59 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.023e-05/0.4055, allocations: 83.38 kB / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.994e-06/0.4055, allocations: 0 / 1.336 GB, free: 7.496 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.503e-05/0.4055, allocations: 11.92 kB / 1.336 GB, free: 7.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.4057, allocations: 23.92 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.4057, allocations: 4 kB / 1.336 GB, free: 7.457 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005514/0.4063, allocations: 68.03 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000106/0.4064, allocations: 59.97 kB / 1.336 GB, free: 7.332 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.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.0002746/0.4067, allocations: 192.2 kB / 1.336 GB, free: 7.137 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.107e-05/0.4067, allocations: 43.72 kB / 1.336 GB, free: 7.094 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.724e-05/0.4068, allocations: 39.69 kB / 1.336 GB, free: 7.055 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.458e-06/0.4068, allocations: 7.922 kB / 1.336 GB, free: 7.047 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4068, allocations: 3.984 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003187/0.4071, allocations: 126 kB / 1.337 GB, free: 6.918 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.733e-05/0.4072, allocations: 15.98 kB / 1.337 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004955/0.4077, allocations: 27.97 kB / 1.337 GB, free: 6.875 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.143e-05/0.4077, allocations: 11.98 kB / 1.337 GB, free: 6.863 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001896/0.4096, allocations: 440.5 kB / 1.337 GB, free: 6.426 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001939/0.4116, allocations: 0.5476 MB / 1.338 GB, free: 5.863 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0007954/0.4124, allocations: 111.9 kB / 1.338 GB, free: 5.754 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003346/0.4127, allocations: 291.1 kB / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of Backend: time 6.82e-07/0.4127, allocations: 0 / 1.338 GB, free: 5.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001011/0.4137, allocations: 458 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of SimCode: time 0.001153/0.4149, allocations: 0.9353 MB / 1.339 GB, free: 4 MB / 1.029 GB Notification: Performance of Templates: time 0.01168/0.4266, allocations: 6.451 MB / 1.346 GB, free: 13.49 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.635000226000557]