Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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.001396/0.001396, allocations: 78.95 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.001407/0.001407, allocations: 158.8 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.961 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.869/2.869, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] 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.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.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.002059/0.002059, allocations: 67.89 kB / 0.9516 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3343/0.3363, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003078/0.3394, allocations: 1.733 MB / 1.119 GB, free: 0.7734 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001509/0.3409, allocations: 0.6092 MB / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.362e-05/0.341, allocations: 0 / 1.12 GB, free: 168 kB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001161/0.3411, allocations: 15.86 kB / 1.12 GB, free: 152 kB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001399/0.3413, allocations: 31.8 kB / 1.12 GB, free: 120 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009164/0.3422, allocations: 376 kB / 1.12 GB, free: 15.75 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0006815/0.3428, allocations: 0.597 MB / 1.121 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.343, allocations: 21.28 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004842/0.3434, allocations: 319.6 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003092/0.3438, allocations: 143.6 kB / 1.121 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001089/0.3439, allocations: 40 kB / 1.121 GB, free: 14.64 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.344, allocations: 47.94 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001538/0.3441, allocations: 131.6 kB / 1.121 GB, free: 14.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.3444, allocations: 179.2 kB / 1.122 GB, free: 14.29 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0006213/0.345, allocations: 0.5957 MB / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.345, allocations: 0 / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.543e-06/0.345, allocations: 0 / 1.122 GB, free: 13.69 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.345, allocations: 0 / 1.122 GB, free: 13.69 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.001321/0.3463, allocations: 0.8494 MB / 1.123 GB, free: 12.77 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.3464, allocations: 8.031 kB / 1.123 GB, free: 12.76 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.3465, allocations: 56.66 kB / 1.123 GB, free: 12.71 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004455/0.3469, allocations: 276.7 kB / 1.123 GB, free: 12.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.846e-05/0.347, allocations: 28.36 kB / 1.123 GB, free: 12.38 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.176e-05/0.347, allocations: 24.38 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001047/0.3481, allocations: 253.9 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.228e-05/0.3481, allocations: 4.125 kB / 1.124 GB, free: 12.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.579e-05/0.3481, allocations: 11.92 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.456e-06/0.3481, allocations: 4 kB / 1.124 GB, free: 12.09 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000789/0.3489, allocations: 131.9 kB / 1.124 GB, free: 11.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.3502, allocations: 0.5275 MB / 1.124 GB, free: 11.4 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001078/0.3513, allocations: 195.6 kB / 1.124 GB, free: 11.2 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007417/0.352, allocations: 120.8 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3521, allocations: 8 kB / 1.125 GB, free: 11.07 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009842/0.353, allocations: 243.1 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 2.245e-06/0.353, allocations: 4 kB / 1.125 GB, free: 10.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002599/0.3556, allocations: 0.5349 MB / 1.125 GB, free: 10.28 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.3557, allocations: 63.39 kB / 1.125 GB, free: 10.2 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004798/0.3562, allocations: 445.8 kB / 1.126 GB, free: 9.762 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.79e-05/0.3562, allocations: 41.69 kB / 1.126 GB, free: 9.715 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 9.632e-05/0.3563, allocations: 101.4 kB / 1.126 GB, free: 9.609 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.242e-05/0.3564, allocations: 39.72 kB / 1.126 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002126/0.3566, allocations: 149.3 kB / 1.126 GB, free: 9.418 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.3567, allocations: 326.8 kB / 1.126 GB, free: 9.09 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003781/0.3571, allocations: 219.3 kB / 1.127 GB, free: 8.863 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004061/0.3575, allocations: 274 kB / 1.127 GB, free: 8.562 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004181/0.3579, allocations: 295.7 kB / 1.127 GB, free: 8.242 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3579, allocations: 0 / 1.127 GB, free: 8.242 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009623/0.3589, allocations: 0.6055 MB / 1.128 GB, free: 7.605 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.359, allocations: 87.38 kB / 1.128 GB, free: 7.508 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.359, allocations: 8.188 kB / 1.128 GB, free: 7.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.359, allocations: 4 kB / 1.128 GB, free: 7.496 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.3592, allocations: 27.91 kB / 1.128 GB, free: 7.469 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.457e-06/0.3592, allocations: 7.938 kB / 1.128 GB, free: 7.461 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.3597, allocations: 59.91 kB / 1.128 GB, free: 7.402 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.419e-05/0.3598, allocations: 59.98 kB / 1.128 GB, free: 7.344 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.0002551/0.36, allocations: 224.3 kB / 1.128 GB, free: 7.113 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.3601, allocations: 43.7 kB / 1.128 GB, free: 7.07 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.213e-05/0.3602, allocations: 43.73 kB / 1.128 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.3602, allocations: 0 / 1.128 GB, free: 7.027 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.3602, allocations: 3.938 kB / 1.128 GB, free: 7.023 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.481e-06/0.3602, allocations: 3.984 kB / 1.128 GB, free: 7.02 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002266/0.3625, allocations: 0.752 MB / 1.129 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.3625, allocations: 0 / 1.129 GB, free: 6.227 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.3625, allocations: 7.984 kB / 1.129 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-06/0.3625, allocations: 0 / 1.129 GB, free: 6.219 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.645e-05/0.3625, allocations: 15.98 kB / 1.129 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3625, allocations: 0 / 1.129 GB, free: 6.203 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3625, allocations: 4 kB / 1.129 GB, free: 6.199 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3643, allocations: 0.5112 MB / 1.13 GB, free: 5.672 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003297/0.3647, allocations: 181.4 kB / 1.13 GB, free: 5.492 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.3647, allocations: 19.98 kB / 1.13 GB, free: 5.473 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00047/0.3652, allocations: 31.97 kB / 1.13 GB, free: 5.441 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.185e-05/0.3653, allocations: 15.92 kB / 1.13 GB, free: 5.426 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.808e-05/0.3653, allocations: 63.97 kB / 1.13 GB, free: 5.363 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003347/0.3657, allocations: 319.1 kB / 1.13 GB, free: 5.055 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/0.3657, allocations: 0 / 1.13 GB, free: 5.055 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003598/0.366, allocations: 67.98 kB / 1.13 GB, free: 4.988 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.0001704/0.3662, allocations: 127.5 kB / 1.13 GB, free: 4.855 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001381/0.3676, allocations: 0.528 MB / 1.131 GB, free: 4.293 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.3676, allocations: 4 kB / 1.131 GB, free: 4.289 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.000762/0.3683, allocations: 123.9 kB / 1.131 GB, free: 4.168 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.3687, allocations: 41.61 kB / 1.131 GB, free: 4.129 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.3703, allocations: 0.6135 MB / 1.132 GB, free: 3.488 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001958/0.3705, allocations: 179 kB / 1.132 GB, free: 3.297 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 6.274e-05/0.3705, allocations: 17.42 kB / 1.132 GB, free: 3.277 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.689e-05/0.3706, allocations: 24.5 kB / 1.132 GB, free: 3.254 MB / 1.076 GB Notification: Performance of SimCode: time 8.41e-07/0.3706, allocations: 0 / 1.132 GB, free: 3.254 MB / 1.076 GB Notification: Performance of Templates: time 0.6028/0.9734, allocations: 6.547 MB / 1.138 GB, free: 58.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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: 9.000899050966837]