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.001928/0.001928, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.00271/0.00271, allocations: 161.6 kB / 23.02 MB, free: 4.945 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.486/1.486, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.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 2.807/2.807, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 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.002109/0.002109, allocations: 63.91 kB / 0.9819 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9234/0.9255, allocations: 176.1 MB / 1.154 GB, free: 33.34 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.002276/0.9278, allocations: 1.533 MB / 1.155 GB, free: 32.29 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001066/0.9288, allocations: 0.5204 MB / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.348e-05/0.9289, allocations: 0 / 1.156 GB, free: 31.95 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.104e-05/0.929, allocations: 14.22 kB / 1.156 GB, free: 31.94 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001063/0.9291, allocations: 26.61 kB / 1.156 GB, free: 31.93 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006526/0.9297, allocations: 319.9 kB / 1.156 GB, free: 31.77 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003794/0.9301, allocations: 489.6 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.806e-05/0.9301, allocations: 2.938 kB / 1.157 GB, free: 31.57 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.9304, allocations: 287 kB / 1.157 GB, free: 31.48 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002442/0.9307, allocations: 129.9 kB / 1.157 GB, free: 31.44 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 8.982e-05/0.9308, allocations: 31.48 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 8.477e-05/0.9308, allocations: 28.97 kB / 1.157 GB, free: 31.43 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001007/0.9309, allocations: 117 kB / 1.157 GB, free: 31.39 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001417/0.9311, allocations: 157.1 kB / 1.157 GB, free: 31.31 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.9314, allocations: 429 kB / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.9314, allocations: 0 / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.502e-06/0.9314, allocations: 0 / 1.158 GB, free: 31.15 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.9314, allocations: 4 kB / 1.158 GB, free: 31.15 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.001009/0.9324, allocations: 0.8042 MB / 1.159 GB, free: 30.49 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.295e-05/0.9324, allocations: 11.34 kB / 1.159 GB, free: 30.49 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001057/0.9326, allocations: 51.14 kB / 1.159 GB, free: 30.47 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.9329, allocations: 255.7 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.108e-05/0.9329, allocations: 19.06 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.065e-05/0.933, allocations: 26.56 kB / 1.159 GB, free: 30.27 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009238/0.9339, allocations: 236.5 kB / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.9339, allocations: 192 / 1.159 GB, free: 30.2 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.033e-05/0.9339, allocations: 14.66 kB / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.5e-06/0.9339, allocations: 0 / 1.159 GB, free: 30.19 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007495/0.9347, allocations: 108.8 kB / 1.159 GB, free: 30.18 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.935, allocations: 283.8 kB / 1.16 GB, free: 30 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009974/0.936, allocations: 181.6 kB / 1.16 GB, free: 29.95 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007654/0.9367, allocations: 115.7 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.308e-05/0.9368, allocations: 2.594 kB / 1.16 GB, free: 29.92 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008884/0.9376, allocations: 247.9 kB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.683e-06/0.9376, allocations: 0 / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002397/0.94, allocations: 0.5189 MB / 1.161 GB, free: 29.72 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.273e-05/0.9401, allocations: 57.95 kB / 1.161 GB, free: 29.66 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000318/0.9404, allocations: 418.4 kB / 1.161 GB, free: 29.45 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.055e-05/0.9404, allocations: 41.55 kB / 1.161 GB, free: 29.41 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.471e-05/0.9405, allocations: 99.12 kB / 1.161 GB, free: 29.32 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.392e-05/0.9405, allocations: 35.73 kB / 1.161 GB, free: 29.3 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.9407, allocations: 127.4 kB / 1.161 GB, free: 29.25 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.9407, allocations: 328.4 kB / 1.162 GB, free: 28.93 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002478/0.941, allocations: 198.4 kB / 1.162 GB, free: 28.82 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002491/0.9412, allocations: 241.7 kB / 1.162 GB, free: 28.65 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002804/0.9415, allocations: 276.3 kB / 1.162 GB, free: 28.46 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.9415, allocations: 4 kB / 1.162 GB, free: 28.45 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006781/0.9422, allocations: 0.5571 MB / 1.163 GB, free: 28.17 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 5.904e-05/0.9422, allocations: 83.03 kB / 1.163 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9423, allocations: 2.688 kB / 1.163 GB, free: 28.1 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.042e-05/0.9423, allocations: 6.531 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001646/0.9424, allocations: 28.88 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.9424, allocations: 3.156 kB / 1.163 GB, free: 28.09 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004619/0.9429, allocations: 75.11 kB / 1.163 GB, free: 28.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.943, allocations: 55.17 kB / 1.163 GB, free: 28.07 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.000169/0.9432, allocations: 197.2 kB / 1.163 GB, free: 27.93 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.854e-05/0.9432, allocations: 41.12 kB / 1.163 GB, free: 27.9 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.715e-05/0.9433, allocations: 47.45 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.9433, allocations: 0 / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.9433, allocations: 0 / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.9433, allocations: 2.812 kB / 1.163 GB, free: 27.88 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001963/0.9452, allocations: 0.7067 MB / 1.164 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.9452, allocations: 3.938 kB / 1.164 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.368e-05/0.9453, allocations: 9.062 kB / 1.164 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.9453, allocations: 0 / 1.164 GB, free: 27.55 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.9453, allocations: 23.94 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.9453, allocations: 4 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.9453, allocations: 3.984 kB / 1.164 GB, free: 27.54 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001569/0.9469, allocations: 0.5039 MB / 1.165 GB, free: 27.33 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002089/0.9471, allocations: 133.2 kB / 1.165 GB, free: 27.28 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.187e-05/0.9471, allocations: 20.58 kB / 1.165 GB, free: 27.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004646/0.9476, allocations: 36.33 kB / 1.165 GB, free: 27.27 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.9476, allocations: 9.938 kB / 1.165 GB, free: 27.26 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.514e-05/0.9477, allocations: 61.64 kB / 1.165 GB, free: 27.26 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0002193/0.9479, allocations: 294.6 kB / 1.165 GB, free: 27.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.9479, allocations: 0 / 1.165 GB, free: 27.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003289/0.9482, allocations: 65.12 kB / 1.165 GB, free: 27.12 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.0001028/0.9483, allocations: 126.6 kB / 1.165 GB, free: 27.01 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001132/0.9495, allocations: 492.5 kB / 1.166 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.9495, allocations: 0 / 1.166 GB, free: 26.75 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007181/0.9502, allocations: 119.6 kB / 1.166 GB, free: 26.73 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003529/0.9505, allocations: 38.67 kB / 1.166 GB, free: 26.71 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.9518, allocations: 0.5665 MB / 1.167 GB, free: 26.41 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.952, allocations: 174.2 kB / 1.167 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.042e-05/0.952, allocations: 13.59 kB / 1.167 GB, free: 26.32 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.932e-05/0.952, allocations: 17.17 kB / 1.167 GB, free: 26.3 MB / 1.076 GB Notification: Performance of SimCode: time 6.31e-07/0.952, allocations: 0 / 1.167 GB, free: 26.3 MB / 1.076 GB Notification: Performance of Templates: time 0.009636/0.9617, allocations: 6.044 MB / 1.173 GB, free: 25.09 MB / 1.076 GB " [Timeout remaining time 299] 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 -s ida -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: 8.899406968033873]