Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001415/0.001415, allocations: 81.31 kB / 19.76 MB, free: 2.027 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.001698/0.001698, allocations: 159.2 kB / 23.01 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.569/1.569, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.679/2.679, allocations: 359.1 MB / 0.6044 GB, free: 14.82 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.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_11_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_11_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.002463/0.002463, allocations: 67.91 kB / 0.9515 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.341, allocations: 169.9 MB / 1.117 GB, free: 2.465 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003357/0.3444, allocations: 1.737 MB / 1.119 GB, free: 0.7188 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001502/0.3459, allocations: 0.6053 MB / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.11e-05/0.346, allocations: 0 / 1.12 GB, free: 116 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001041/0.3461, allocations: 11.88 kB / 1.12 GB, free: 104 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001392/0.3462, allocations: 35.78 kB / 1.12 GB, free: 68 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3472, allocations: 369.1 kB / 1.12 GB, free: 15.71 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008232/0.3481, allocations: 0.5931 MB / 1.121 GB, free: 15.11 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00012/0.3482, allocations: 25.28 kB / 1.121 GB, free: 15.09 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005778/0.3488, allocations: 323.5 kB / 1.121 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003886/0.3491, allocations: 145.9 kB / 1.121 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001518/0.3493, allocations: 40 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.3494, allocations: 44 kB / 1.121 GB, free: 14.55 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.3496, allocations: 127.6 kB / 1.121 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002433/0.3498, allocations: 183.2 kB / 1.122 GB, free: 14.25 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006943/0.3505, allocations: 0.5956 MB / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3505, allocations: 0 / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3505, allocations: 0 / 1.122 GB, free: 13.65 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.3506, allocations: 3.938 kB / 1.122 GB, free: 13.64 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001534/0.3521, allocations: 0.8495 MB / 1.123 GB, free: 12.72 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.3521, allocations: 8.031 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000145/0.3523, allocations: 56.66 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004919/0.3528, allocations: 284.6 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.514e-05/0.3528, allocations: 20.36 kB / 1.123 GB, free: 12.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.349e-05/0.3529, allocations: 32.36 kB / 1.123 GB, free: 12.3 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.354, allocations: 253.9 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.354, allocations: 4.188 kB / 1.124 GB, free: 12.05 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.857e-05/0.354, allocations: 3.938 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.354, allocations: 4 kB / 1.124 GB, free: 12.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008074/0.3548, allocations: 127.9 kB / 1.124 GB, free: 11.91 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001344/0.3562, allocations: 0.5313 MB / 1.124 GB, free: 11.35 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001117/0.3573, allocations: 194.5 kB / 1.124 GB, free: 11.15 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.358, allocations: 120.8 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/0.3581, allocations: 4 kB / 1.125 GB, free: 11.03 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001031/0.3591, allocations: 247.1 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 2.003e-06/0.3591, allocations: 0 / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002704/0.3618, allocations: 0.5325 MB / 1.125 GB, free: 10.23 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.645e-05/0.3619, allocations: 63.41 kB / 1.125 GB, free: 10.16 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005988/0.3625, allocations: 445.8 kB / 1.126 GB, free: 9.719 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 9.976e-05/0.3626, allocations: 41.69 kB / 1.126 GB, free: 9.672 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.3627, allocations: 105.3 kB / 1.126 GB, free: 9.562 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.3627, allocations: 39.78 kB / 1.126 GB, free: 9.523 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002625/0.363, allocations: 145.4 kB / 1.126 GB, free: 9.375 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.3632, allocations: 330.8 kB / 1.126 GB, free: 9.043 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004168/0.3636, allocations: 223.2 kB / 1.127 GB, free: 8.812 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004477/0.364, allocations: 274.1 kB / 1.127 GB, free: 8.512 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004599/0.3645, allocations: 291.2 kB / 1.127 GB, free: 8.195 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.3645, allocations: 0 / 1.127 GB, free: 8.195 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001147/0.3657, allocations: 0.6158 MB / 1.128 GB, free: 7.551 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.3658, allocations: 87.38 kB / 1.128 GB, free: 7.453 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.027e-05/0.3658, allocations: 4 kB / 1.128 GB, free: 7.449 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.3658, allocations: 4 kB / 1.128 GB, free: 7.445 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000187/0.366, allocations: 19.92 kB / 1.128 GB, free: 7.426 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.118e-05/0.366, allocations: 4 kB / 1.128 GB, free: 7.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005212/0.3665, allocations: 68.03 kB / 1.128 GB, free: 7.355 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/0.3666, allocations: 67.97 kB / 1.128 GB, free: 7.289 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.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.0003282/0.367, allocations: 213.2 kB / 1.128 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.367, allocations: 39.72 kB / 1.128 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.377e-05/0.3671, allocations: 47.72 kB / 1.128 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.3671, allocations: 0 / 1.128 GB, free: 6.984 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.3671, allocations: 3.938 kB / 1.128 GB, free: 6.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.3671, allocations: 4 kB / 1.128 GB, free: 6.977 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002369/0.3695, allocations: 0.7588 MB / 1.129 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.3695, allocations: 0 / 1.129 GB, free: 6.18 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.933e-05/0.3695, allocations: 4 kB / 1.129 GB, free: 6.176 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.3696, allocations: 0 / 1.129 GB, free: 6.176 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.3696, allocations: 27.97 kB / 1.129 GB, free: 6.148 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.514e-06/0.3696, allocations: 0 / 1.129 GB, free: 6.148 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.3696, allocations: 4 kB / 1.129 GB, free: 6.145 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.3715, allocations: 0.5073 MB / 1.13 GB, free: 5.621 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003816/0.3718, allocations: 177.4 kB / 1.13 GB, free: 5.445 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.3719, allocations: 24 kB / 1.13 GB, free: 5.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004928/0.3724, allocations: 31.97 kB / 1.13 GB, free: 5.391 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.89e-05/0.3725, allocations: 19.84 kB / 1.13 GB, free: 5.371 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.444e-05/0.3725, allocations: 59.98 kB / 1.13 GB, free: 5.312 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0004007/0.3729, allocations: 323.1 kB / 1.13 GB, free: 5 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.3729, allocations: 0 / 1.13 GB, free: 5 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0004546/0.3734, allocations: 64 kB / 1.13 GB, free: 4.938 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.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.0001935/0.3736, allocations: 127.5 kB / 1.13 GB, free: 4.805 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001522/0.3751, allocations: 0.5252 MB / 1.131 GB, free: 4.242 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.64e-06/0.3751, allocations: 4 kB / 1.131 GB, free: 4.238 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000796/0.3759, allocations: 127.7 kB / 1.131 GB, free: 4.117 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004326/0.3764, allocations: 42.36 kB / 1.131 GB, free: 4.078 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001677/0.378, allocations: 0.617 MB / 1.132 GB, free: 3.434 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000205/0.3782, allocations: 175 kB / 1.132 GB, free: 3.246 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.197e-05/0.3783, allocations: 17.48 kB / 1.132 GB, free: 3.227 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.651e-05/0.3784, allocations: 20.48 kB / 1.132 GB, free: 3.207 MB / 1.076 GB Notification: Performance of SimCode: time 4.5e-07/0.3784, allocations: 0 / 1.132 GB, free: 3.207 MB / 1.076 GB Notification: Performance of Templates: time 0.5624/0.9408, allocations: 6.545 MB / 1.138 GB, free: 58.02 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.921195736038499]