Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001409/0.001409, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001658/0.001658, allocations: 211.2 kB / 22.24 MB, free: 5.262 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.617/1.617, allocations: 230.6 MB / 256 MB, free: 7.793 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.461/3.461, allocations: 0.4892 GB / 0.7943 GB, free: 35.51 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.Controls.OBC.CDL.Reals.Sources.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.003047/0.003047, allocations: 63.02 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4242, allocations: 176.1 MB / 1.326 GB, free: 1.844 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003863/0.4281, allocations: 1.732 MB / 1.327 GB, free: 108 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001682/0.4298, allocations: 0.6013 MB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001418/0.4299, allocations: 4 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.43, allocations: 15.8 kB / 1.328 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001737/0.4302, allocations: 35.78 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.4314, allocations: 370.1 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.4323, allocations: 0.5932 MB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.4325, allocations: 33.16 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006214/0.4331, allocations: 315.6 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004591/0.4336, allocations: 148.7 kB / 1.329 GB, free: 14.01 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001652/0.4337, allocations: 47.94 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001277/0.4338, allocations: 40 kB / 1.329 GB, free: 13.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.434, allocations: 119.7 kB / 1.33 GB, free: 13.8 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002566/0.4343, allocations: 183.2 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0008029/0.4351, allocations: 0.5995 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.4351, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.914e-06/0.4351, allocations: 0 / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of Transformations before backend: time 2.291e-05/0.4351, allocations: 4 kB / 1.33 GB, free: 13.02 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001907/0.437, allocations: 0.8417 MB / 1.331 GB, free: 12.11 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.4371, allocations: 8.031 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001829/0.4372, allocations: 64.64 kB / 1.331 GB, free: 12.04 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005564/0.4378, allocations: 272.7 kB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.842e-05/0.4379, allocations: 24.3 kB / 1.331 GB, free: 11.72 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.203e-05/0.4379, allocations: 32.36 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.439, allocations: 234 kB / 1.332 GB, free: 11.46 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.439, allocations: 4.188 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.963e-05/0.439, allocations: 3.938 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.439, allocations: 4 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007889/0.4398, allocations: 117.8 kB / 1.332 GB, free: 11.33 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001701/0.4415, allocations: 0.5313 MB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.4427, allocations: 174.5 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007856/0.4435, allocations: 104.8 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 5.13e-05/0.4435, allocations: 3.938 kB / 1.333 GB, free: 10.48 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001189/0.4447, allocations: 235.2 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.846e-06/0.4447, allocations: 3.938 kB / 1.333 GB, free: 10.23 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002775/0.4475, allocations: 0.4918 MB / 1.333 GB, free: 9.738 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.4476, allocations: 59.41 kB / 1.333 GB, free: 9.668 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/0.4483, allocations: 445.9 kB / 1.334 GB, free: 9.215 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 9.123e-05/0.4484, allocations: 41.69 kB / 1.334 GB, free: 9.168 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.4486, allocations: 105.3 kB / 1.334 GB, free: 9.062 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 6.98e-05/0.4486, allocations: 39.72 kB / 1.334 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000322/0.449, allocations: 145.4 kB / 1.334 GB, free: 8.875 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000246/0.4492, allocations: 326.8 kB / 1.334 GB, free: 8.547 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004502/0.4497, allocations: 211.3 kB / 1.335 GB, free: 8.328 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004736/0.4501, allocations: 285.2 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005372/0.4507, allocations: 285.3 kB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.4507, allocations: 0 / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001187/0.4519, allocations: 0.5992 MB / 1.336 GB, free: 7.074 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001536/0.452, allocations: 87.38 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.452, allocations: 7.984 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.036e-05/0.4521, allocations: 0 / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002026/0.4523, allocations: 19.98 kB / 1.336 GB, free: 6.949 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/0.4523, allocations: 7.938 kB / 1.336 GB, free: 6.941 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005443/0.4528, allocations: 63.97 kB / 1.336 GB, free: 6.879 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001267/0.453, allocations: 63.98 kB / 1.336 GB, free: 6.816 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0004181/0.4534, allocations: 224.8 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001023/0.4535, allocations: 39.72 kB / 1.336 GB, free: 6.547 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001094/0.4536, allocations: 35.73 kB / 1.336 GB, free: 6.512 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.4536, allocations: 7.938 kB / 1.336 GB, free: 6.504 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.376e-05/0.4536, allocations: 3.984 kB / 1.336 GB, free: 6.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.4536, allocations: 4 kB / 1.336 GB, free: 6.496 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002433/0.4561, allocations: 0.705 MB / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.4561, allocations: 0 / 1.337 GB, free: 5.75 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.031e-05/0.4561, allocations: 11.92 kB / 1.337 GB, free: 5.738 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.4561, allocations: 4 kB / 1.337 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.716e-05/0.4562, allocations: 23.97 kB / 1.337 GB, free: 5.711 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4562, allocations: 4 kB / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.4562, allocations: 0 / 1.337 GB, free: 5.707 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00177/0.4579, allocations: 483.4 kB / 1.337 GB, free: 5.219 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003793/0.4583, allocations: 177.5 kB / 1.338 GB, free: 5.047 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.73e-05/0.4584, allocations: 24 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004608/0.4589, allocations: 31.34 kB / 1.338 GB, free: 4.996 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.265e-05/0.4589, allocations: 11.92 kB / 1.338 GB, free: 4.984 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.015e-05/0.459, allocations: 59.97 kB / 1.338 GB, free: 4.926 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003981/0.4594, allocations: 323 kB / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4594, allocations: 0 / 1.338 GB, free: 4.613 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004047/0.4598, allocations: 75.86 kB / 1.338 GB, free: 4.539 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0002002/0.46, allocations: 137.4 kB / 1.338 GB, free: 4.395 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001407/0.4614, allocations: 0.4941 MB / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.4614, allocations: 0 / 1.339 GB, free: 3.863 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.000751/0.4622, allocations: 124.2 kB / 1.339 GB, free: 3.742 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.4626, allocations: 42.73 kB / 1.339 GB, free: 3.707 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.4644, allocations: 0.5902 MB / 1.34 GB, free: 3.086 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.4646, allocations: 182.9 kB / 1.34 GB, free: 2.887 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.879e-05/0.4647, allocations: 17.42 kB / 1.34 GB, free: 2.871 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.561e-05/0.4648, allocations: 15.44 kB / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of SimCode: time 5.31e-07/0.4648, allocations: 0 / 1.34 GB, free: 2.855 MB / 1.029 GB Notification: Performance of Templates: time 0.01275/0.4775, allocations: 6.596 MB / 1.346 GB, free: 12.2 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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: 10.074964700266719]