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.001868/0.001868, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.002213/0.002213, allocations: 158.7 kB / 23.01 MB, free: 4.602 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.514/1.514, allocations: 177.2 MB / 203.4 MB, free: 8.879 MB / 190.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.667/2.667, allocations: 359.1 MB / 0.6044 GB, free: 14.83 MB / 0.5762 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.00207/0.00207, allocations: 64.19 kB / 0.9515 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3048/0.3069, allocations: 169.9 MB / 1.117 GB, free: 2.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002786/0.3097, allocations: 1.534 MB / 1.119 GB, free: 1.023 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001263/0.3109, allocations: 0.5259 MB / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.513e-05/0.311, allocations: 0 / 1.119 GB, free: 0.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 8.983e-05/0.3111, allocations: 7.922 kB / 1.119 GB, free: 0.4922 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001031/0.3112, allocations: 27.81 kB / 1.119 GB, free: 476 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007896/0.312, allocations: 320.8 kB / 1.12 GB, free: 156 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005837/0.3126, allocations: 483.5 kB / 1.12 GB, free: 15.68 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.316e-05/0.3126, allocations: 4 kB / 1.12 GB, free: 15.67 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004149/0.313, allocations: 287.5 kB / 1.121 GB, free: 15.39 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003027/0.3133, allocations: 137.7 kB / 1.121 GB, free: 15.26 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001034/0.3134, allocations: 28 kB / 1.121 GB, free: 15.23 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.827e-05/0.3135, allocations: 28 kB / 1.121 GB, free: 15.21 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.3137, allocations: 115.7 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002061/0.3139, allocations: 159.2 kB / 1.121 GB, free: 14.94 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.3144, allocations: 430.4 kB / 1.121 GB, free: 14.52 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 8.256e-06/0.3144, allocations: 4 kB / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.273e-06/0.3144, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.3144, allocations: 0 / 1.121 GB, free: 14.51 MB / 1.076 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.001342/0.3158, allocations: 0.795 MB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 9.076e-05/0.3159, allocations: 12.03 kB / 1.122 GB, free: 13.63 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.316, allocations: 56.69 kB / 1.122 GB, free: 13.58 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004062/0.3164, allocations: 260.7 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.3165, allocations: 20.36 kB / 1.122 GB, free: 13.28 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.044e-05/0.3165, allocations: 24.36 kB / 1.122 GB, free: 13.25 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001008/0.3175, allocations: 226.9 kB / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.3175, allocations: 192 / 1.123 GB, free: 13.03 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.179e-05/0.3176, allocations: 15.92 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.3176, allocations: 4 kB / 1.123 GB, free: 13.01 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007675/0.3183, allocations: 111.9 kB / 1.123 GB, free: 12.9 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004659/0.3188, allocations: 281.1 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001056/0.3199, allocations: 186.4 kB / 1.123 GB, free: 12.4 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007505/0.3206, allocations: 116.8 kB / 1.123 GB, free: 12.29 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.3206, allocations: 4 kB / 1.123 GB, free: 12.28 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009915/0.3216, allocations: 241.7 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.533e-06/0.3216, allocations: 0 / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002776/0.3244, allocations: 0.5244 MB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.605e-05/0.3245, allocations: 63.39 kB / 1.124 GB, free: 11.43 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004668/0.3249, allocations: 413.9 kB / 1.125 GB, free: 11.02 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.54e-05/0.325, allocations: 41.69 kB / 1.125 GB, free: 10.97 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.007e-05/0.3251, allocations: 93.45 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.974e-05/0.3251, allocations: 47.61 kB / 1.125 GB, free: 10.83 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001942/0.3253, allocations: 129.4 kB / 1.125 GB, free: 10.7 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3255, allocations: 326.8 kB / 1.125 GB, free: 10.37 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003248/0.3258, allocations: 191.3 kB / 1.125 GB, free: 10.17 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003533/0.3262, allocations: 242.1 kB / 1.126 GB, free: 9.898 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003914/0.3266, allocations: 279.1 kB / 1.126 GB, free: 9.594 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.3266, allocations: 0 / 1.126 GB, free: 9.594 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001065/0.3276, allocations: 0.5509 MB / 1.126 GB, free: 9.012 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 9.008e-05/0.3277, allocations: 87.56 kB / 1.127 GB, free: 8.914 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.3277, allocations: 4 kB / 1.127 GB, free: 8.91 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3277, allocations: 7.938 kB / 1.127 GB, free: 8.902 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001684/0.3279, allocations: 19.92 kB / 1.127 GB, free: 8.883 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.3279, allocations: 7.984 kB / 1.127 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004836/0.3284, allocations: 63.84 kB / 1.127 GB, free: 8.812 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3285, allocations: 59.98 kB / 1.127 GB, free: 8.754 MB / 1.076 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.0002544/0.3288, allocations: 200.8 kB / 1.127 GB, free: 8.551 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.3288, allocations: 43.72 kB / 1.127 GB, free: 8.508 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.752e-05/0.3289, allocations: 47.55 kB / 1.127 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3289, allocations: 0 / 1.127 GB, free: 8.461 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.3289, allocations: 4 kB / 1.127 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.3289, allocations: 0 / 1.127 GB, free: 8.457 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002299/0.3312, allocations: 0.7159 MB / 1.128 GB, free: 7.703 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.309e-06/0.3312, allocations: 3.938 kB / 1.128 GB, free: 7.699 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.962e-05/0.3313, allocations: 7.984 kB / 1.128 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.3313, allocations: 0 / 1.128 GB, free: 7.691 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.89e-05/0.3313, allocations: 23.97 kB / 1.128 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.3313, allocations: 0 / 1.128 GB, free: 7.668 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3313, allocations: 4 kB / 1.128 GB, free: 7.664 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001938/0.3332, allocations: 0.4995 MB / 1.128 GB, free: 7.148 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002841/0.3335, allocations: 133.5 kB / 1.128 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.447e-05/0.3336, allocations: 12 kB / 1.128 GB, free: 7.008 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004918/0.3341, allocations: 39.95 kB / 1.128 GB, free: 6.969 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.17e-05/0.3341, allocations: 7.984 kB / 1.128 GB, free: 6.961 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.44e-05/0.3342, allocations: 63.97 kB / 1.128 GB, free: 6.898 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003187/0.3345, allocations: 295.1 kB / 1.129 GB, free: 6.613 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3345, allocations: 0 / 1.129 GB, free: 6.613 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003613/0.3349, allocations: 64 kB / 1.129 GB, free: 6.551 MB / 1.076 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.0001581/0.335, allocations: 115.2 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.3364, allocations: 497.8 kB / 1.129 GB, free: 5.906 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.3364, allocations: 0 / 1.129 GB, free: 5.906 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007905/0.3372, allocations: 123.8 kB / 1.129 GB, free: 5.785 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.3375, allocations: 35.7 kB / 1.129 GB, free: 5.75 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001499/0.339, allocations: 0.5667 MB / 1.13 GB, free: 5.156 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002349/0.3393, allocations: 171 kB / 1.13 GB, free: 4.973 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.464e-05/0.3393, allocations: 9.141 kB / 1.13 GB, free: 4.965 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.456e-05/0.3394, allocations: 20.44 kB / 1.13 GB, free: 4.941 MB / 1.076 GB Notification: Performance of SimCode: time 3.61e-07/0.3394, allocations: 0 / 1.13 GB, free: 4.941 MB / 1.076 GB Notification: Performance of Templates: time 0.4954/0.8347, allocations: 6.038 MB / 1.136 GB, free: 58 MB / 1.076 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 -s ida -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/jenkins1/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.421853875974193]