Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001553/0.001553, 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.001845/0.001845, allocations: 159.2 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.424/1.424, allocations: 177.2 MB / 203.4 MB, free: 8.887 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.63/2.63, allocations: 359.1 MB / 0.6044 GB, free: 14.89 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.CalendarTimeMonths,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.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonths,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.CalendarTimeMonths") [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.002142/0.002142, allocations: 72.08 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3999/0.402, allocations: 169.9 MB / 1.117 GB, free: 2.602 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002898/0.4049, allocations: 1.517 MB / 1.119 GB, free: 1.074 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001312/0.4063, allocations: 0.5229 MB / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.02e-05/0.4063, allocations: 0 / 1.119 GB, free: 0.5508 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.718e-05/0.4064, allocations: 7.875 kB / 1.119 GB, free: 0.543 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001214/0.4065, allocations: 31.84 kB / 1.119 GB, free: 0.5117 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008994/0.4074, allocations: 313.9 kB / 1.12 GB, free: 212 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0006528/0.4081, allocations: 491.4 kB / 1.12 GB, free: 15.73 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.4081, allocations: 7.938 kB / 1.12 GB, free: 15.72 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000474/0.4086, allocations: 275.7 kB / 1.12 GB, free: 15.45 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.409, allocations: 133.8 kB / 1.121 GB, free: 15.32 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001173/0.4091, allocations: 24 kB / 1.121 GB, free: 15.3 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.874e-05/0.4092, allocations: 28 kB / 1.121 GB, free: 15.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001454/0.4093, allocations: 119.6 kB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00021/0.4095, allocations: 159.3 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0005073/0.4101, allocations: 434.4 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.4101, allocations: 4 kB / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.533e-06/0.4101, allocations: 0 / 1.121 GB, free: 14.57 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.444e-05/0.4101, allocations: 3.938 kB / 1.121 GB, free: 14.56 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.001362/0.4114, allocations: 0.8028 MB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.4115, allocations: 8.031 kB / 1.122 GB, free: 13.68 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001414/0.4116, allocations: 56.69 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004171/0.412, allocations: 256.7 kB / 1.122 GB, free: 13.35 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.404e-05/0.4121, allocations: 16.36 kB / 1.122 GB, free: 13.33 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.101e-05/0.4121, allocations: 28.36 kB / 1.122 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001029/0.4132, allocations: 230 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.126e-05/0.4132, allocations: 4.125 kB / 1.123 GB, free: 13.07 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.272e-05/0.4132, allocations: 11.94 kB / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.4132, allocations: 0 / 1.123 GB, free: 13.06 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007899/0.414, allocations: 111.9 kB / 1.123 GB, free: 12.95 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.4144, allocations: 289.1 kB / 1.123 GB, free: 12.64 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001079/0.4155, allocations: 179.3 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000772/0.4163, allocations: 120.8 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4163, allocations: 4 kB / 1.123 GB, free: 12.33 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001008/0.4173, allocations: 235.1 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.523e-06/0.4173, allocations: 0 / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002654/0.4199, allocations: 0.5205 MB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.42, allocations: 63.39 kB / 1.124 GB, free: 11.48 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004516/0.4204, allocations: 413.9 kB / 1.125 GB, free: 11.07 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.465e-05/0.4205, allocations: 41.69 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.16e-05/0.4206, allocations: 89.45 kB / 1.125 GB, free: 10.93 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.676e-05/0.4206, allocations: 51.67 kB / 1.125 GB, free: 10.88 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002121/0.4209, allocations: 129.4 kB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.421, allocations: 330.8 kB / 1.125 GB, free: 10.42 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003303/0.4213, allocations: 191.3 kB / 1.125 GB, free: 10.22 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003663/0.4217, allocations: 251.3 kB / 1.126 GB, free: 9.941 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003982/0.4221, allocations: 275.7 kB / 1.126 GB, free: 9.641 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.4221, allocations: 0 / 1.126 GB, free: 9.641 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009221/0.423, allocations: 0.5547 MB / 1.126 GB, free: 9.055 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.617e-05/0.4231, allocations: 83.38 kB / 1.126 GB, free: 8.961 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.4231, allocations: 4 kB / 1.126 GB, free: 8.957 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.128e-05/0.4231, allocations: 7.938 kB / 1.127 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.4233, allocations: 19.92 kB / 1.127 GB, free: 8.93 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.016e-06/0.4233, allocations: 4 kB / 1.127 GB, free: 8.926 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005014/0.4238, allocations: 72.02 kB / 1.127 GB, free: 8.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.78e-05/0.4239, allocations: 55.98 kB / 1.127 GB, free: 8.801 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.000226/0.4241, allocations: 199.7 kB / 1.127 GB, free: 8.598 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.846e-05/0.4242, allocations: 43.72 kB / 1.127 GB, free: 8.555 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.735e-05/0.4243, allocations: 43.61 kB / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.4243, allocations: 0 / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.4243, allocations: 7.938 kB / 1.127 GB, free: 8.504 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.4243, allocations: 0 / 1.127 GB, free: 8.504 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002315/0.4266, allocations: 0.7081 MB / 1.128 GB, free: 7.758 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4266, allocations: 7.875 kB / 1.128 GB, free: 7.75 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/0.4267, allocations: 11.92 kB / 1.128 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.4267, allocations: 4 kB / 1.128 GB, free: 7.734 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.4267, allocations: 19.98 kB / 1.128 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.4267, allocations: 0 / 1.128 GB, free: 7.715 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4267, allocations: 3.984 kB / 1.128 GB, free: 7.711 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.4285, allocations: 0.4995 MB / 1.128 GB, free: 7.195 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000302/0.4288, allocations: 133.5 kB / 1.128 GB, free: 7.066 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.588e-05/0.4289, allocations: 12 kB / 1.128 GB, free: 7.055 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005331/0.4294, allocations: 35.95 kB / 1.128 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.4295, allocations: 7.984 kB / 1.128 GB, free: 7.012 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.384e-05/0.4296, allocations: 63.98 kB / 1.128 GB, free: 6.949 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003112/0.4299, allocations: 295.1 kB / 1.129 GB, free: 6.664 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.4299, allocations: 0 / 1.129 GB, free: 6.664 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003713/0.4302, allocations: 67.98 kB / 1.129 GB, free: 6.598 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.0001501/0.4304, allocations: 123.1 kB / 1.129 GB, free: 6.469 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001334/0.4317, allocations: 493.8 kB / 1.129 GB, free: 5.949 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.4317, allocations: 0 / 1.129 GB, free: 5.949 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007966/0.4325, allocations: 128.3 kB / 1.129 GB, free: 5.824 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003671/0.4329, allocations: 32.39 kB / 1.129 GB, free: 5.793 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001478/0.4344, allocations: 0.5717 MB / 1.13 GB, free: 5.199 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001769/0.4345, allocations: 167 kB / 1.13 GB, free: 5.02 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.792e-05/0.4346, allocations: 17.14 kB / 1.13 GB, free: 5.004 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.414e-05/0.4346, allocations: 16.5 kB / 1.13 GB, free: 4.984 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.4346, allocations: 0 / 1.13 GB, free: 4.984 MB / 1.076 GB Notification: Performance of Templates: time 0.5151/0.9498, allocations: 6.03 MB / 1.136 GB, free: 57.93 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.499683736008592]