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.001844/0.001844, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002375/0.002375, allocations: 218.1 kB / 22.26 MB, free: 5.082 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.58/1.58, allocations: 230.6 MB / 256 MB, free: 8.027 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.256/3.256, allocations: 0.49 GB / 0.7951 GB, free: 33.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.003382/0.003382, allocations: 65.66 kB / 1.154 GB, free: 25.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3698/0.3732, allocations: 176.1 MB / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002727/0.3759, allocations: 1.558 MB / 1.328 GB, free: 15.78 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001306/0.3772, allocations: 0.5323 MB / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.21e-05/0.3773, allocations: 0 / 1.328 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.03e-05/0.3774, allocations: 15.8 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.3775, allocations: 35.84 kB / 1.328 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008008/0.3783, allocations: 313.3 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005777/0.3789, allocations: 487.5 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.028e-05/0.3789, allocations: 8 kB / 1.329 GB, free: 14.41 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003971/0.3793, allocations: 279.7 kB / 1.329 GB, free: 14.13 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003164/0.3796, allocations: 151.4 kB / 1.33 GB, free: 13.98 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.84e-05/0.3797, allocations: 28 kB / 1.33 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.259e-05/0.3798, allocations: 28 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001328/0.3799, allocations: 115.7 kB / 1.33 GB, free: 13.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3801, allocations: 191 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0004753/0.3806, allocations: 434.3 kB / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.3806, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.372e-06/0.3806, allocations: 0 / 1.33 GB, free: 13.2 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.3806, allocations: 0 / 1.33 GB, free: 13.2 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.0013/0.3819, allocations: 0.7989 MB / 1.331 GB, free: 12.33 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.3819, allocations: 16.03 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.382, allocations: 48.7 kB / 1.331 GB, free: 12.27 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004326/0.3825, allocations: 248.8 kB / 1.331 GB, free: 12 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.14e-05/0.3825, allocations: 20.36 kB / 1.331 GB, free: 11.98 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.838e-05/0.3826, allocations: 28.36 kB / 1.331 GB, free: 11.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009659/0.3836, allocations: 209.9 kB / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3836, allocations: 192 / 1.332 GB, free: 11.74 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.11e-05/0.3836, allocations: 15.92 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.3836, allocations: 3.938 kB / 1.332 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.3843, allocations: 99.92 kB / 1.332 GB, free: 11.62 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004652/0.3848, allocations: 360.3 kB / 1.332 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001025/0.3858, allocations: 169.7 kB / 1.332 GB, free: 11.06 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006992/0.3865, allocations: 100.8 kB / 1.332 GB, free: 10.96 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.3866, allocations: 7.938 kB / 1.332 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009263/0.3875, allocations: 219.1 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.704e-06/0.3875, allocations: 0 / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002489/0.39, allocations: 496.1 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.322e-05/0.39, allocations: 55.41 kB / 1.333 GB, free: 10.17 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004507/0.3905, allocations: 417.9 kB / 1.334 GB, free: 9.746 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.3905, allocations: 37.7 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.617e-05/0.3906, allocations: 101.4 kB / 1.334 GB, free: 9.602 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.13e-05/0.3907, allocations: 43.67 kB / 1.334 GB, free: 9.559 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001979/0.3909, allocations: 125.5 kB / 1.334 GB, free: 9.43 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001486/0.391, allocations: 326.8 kB / 1.334 GB, free: 9.102 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000262/0.3913, allocations: 115.9 kB / 1.334 GB, free: 8.988 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003039/0.3916, allocations: 173.9 kB / 1.334 GB, free: 8.797 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.392, allocations: 271.4 kB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.392, allocations: 7.938 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008599/0.3928, allocations: 493.8 kB / 1.335 GB, free: 7.992 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.794e-05/0.3929, allocations: 91.31 kB / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.3929, allocations: 0 / 1.335 GB, free: 7.891 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.285e-05/0.393, allocations: 4 kB / 1.335 GB, free: 7.887 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001775/0.3932, allocations: 27.91 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3932, allocations: 0 / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004846/0.3936, allocations: 64.03 kB / 1.335 GB, free: 7.797 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.436e-05/0.3937, allocations: 59.98 kB / 1.335 GB, free: 7.738 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.000244/0.394, allocations: 198.2 kB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.992e-05/0.3941, allocations: 47.64 kB / 1.336 GB, free: 7.492 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.719e-05/0.3941, allocations: 39.69 kB / 1.336 GB, free: 7.453 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.896e-06/0.3941, allocations: 4 kB / 1.336 GB, free: 7.449 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.3941, allocations: 4 kB / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.3941, allocations: 0 / 1.336 GB, free: 7.445 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002277/0.3964, allocations: 0.7126 MB / 1.336 GB, free: 6.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3964, allocations: 4 kB / 1.336 GB, free: 6.676 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.853e-05/0.3965, allocations: 4 kB / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.035e-06/0.3965, allocations: 0 / 1.336 GB, free: 6.672 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.3965, allocations: 23.97 kB / 1.336 GB, free: 6.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.3965, allocations: 4 kB / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.3965, allocations: 0 / 1.336 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001882/0.3984, allocations: 479.4 kB / 1.337 GB, free: 6.16 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003303/0.3987, allocations: 133.5 kB / 1.337 GB, free: 6.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.114e-05/0.3988, allocations: 15.98 kB / 1.337 GB, free: 6.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.3993, allocations: 27.97 kB / 1.337 GB, free: 5.984 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.202e-05/0.3993, allocations: 15.92 kB / 1.337 GB, free: 5.969 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.042e-05/0.3994, allocations: 59.97 kB / 1.337 GB, free: 5.91 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003344/0.3997, allocations: 299 kB / 1.337 GB, free: 5.621 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3997, allocations: 0 / 1.337 GB, free: 5.621 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003865/0.4001, allocations: 60 kB / 1.337 GB, free: 5.562 MB / 1.029 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.0001734/0.4003, allocations: 120.9 kB / 1.338 GB, free: 5.434 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001277/0.4016, allocations: 420.9 kB / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4016, allocations: 0 / 1.338 GB, free: 5 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.4023, allocations: 103.9 kB / 1.338 GB, free: 4.898 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003641/0.4026, allocations: 29.58 kB / 1.338 GB, free: 4.871 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.4041, allocations: 0.5513 MB / 1.339 GB, free: 4.293 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004413/0.4045, allocations: 0.7669 MB / 1.339 GB, free: 3.5 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.171e-05/0.4046, allocations: 13.08 kB / 1.339 GB, free: 3.484 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.4046, allocations: 23.42 kB / 1.339 GB, free: 3.465 MB / 1.029 GB Notification: Performance of SimCode: time 5.01e-07/0.4046, allocations: 0 / 1.339 GB, free: 3.465 MB / 1.029 GB Notification: Performance of Templates: time 0.009924/0.4146, allocations: 5.022 MB / 1.344 GB, free: 14.34 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/jenkins/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.205311116296798]