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.00133/0.00133, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001521/0.001521, allocations: 215.9 kB / 22.99 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.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.808/2.808, allocations: 476 MB / 0.7707 GB, free: 4.75 MB / 0.6231 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.002185/0.002185, allocations: 67.95 kB / 1.118 GB, free: 41.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3529, allocations: 169.9 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003935/0.3568, allocations: 1.736 MB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001703/0.3585, allocations: 0.6031 MB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.3586, allocations: 4 kB / 1.286 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001123/0.3587, allocations: 15.8 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.3589, allocations: 35.78 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001026/0.3599, allocations: 368.7 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007964/0.3607, allocations: 0.6009 MB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3608, allocations: 25.23 kB / 1.287 GB, free: 8.543 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005121/0.3614, allocations: 319.6 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003925/0.3617, allocations: 147.5 kB / 1.288 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.3619, allocations: 44 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001269/0.362, allocations: 40 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.3622, allocations: 123.6 kB / 1.288 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002194/0.3624, allocations: 179.2 kB / 1.288 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.3631, allocations: 0.5918 MB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.3631, allocations: 0 / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.238e-06/0.3631, allocations: 3.984 kB / 1.289 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.181e-05/0.3631, allocations: 0 / 1.289 GB, free: 7.109 MB / 0.9825 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.001382/0.3645, allocations: 0.8378 MB / 1.289 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3645, allocations: 12.03 kB / 1.289 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.3646, allocations: 56.7 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000501/0.3651, allocations: 280.6 kB / 1.29 GB, free: 5.832 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.48e-05/0.3652, allocations: 20.36 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.172e-05/0.3653, allocations: 32.36 kB / 1.29 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000994/0.3663, allocations: 239.9 kB / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.3663, allocations: 192 / 1.29 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.892e-05/0.3663, allocations: 3.938 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.3663, allocations: 4 kB / 1.29 GB, free: 5.535 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007321/0.367, allocations: 115.8 kB / 1.29 GB, free: 5.422 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.3684, allocations: 0.5352 MB / 1.291 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001/0.3694, allocations: 174.4 kB / 1.291 GB, free: 4.676 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007386/0.3701, allocations: 108.8 kB / 1.291 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.067e-05/0.3701, allocations: 11.92 kB / 1.291 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009605/0.3711, allocations: 227.2 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.593e-06/0.3711, allocations: 0 / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002509/0.3736, allocations: 0.4962 MB / 1.292 GB, free: 3.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.422e-05/0.3737, allocations: 63.39 kB / 1.292 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005104/0.3742, allocations: 441.9 kB / 1.292 GB, free: 3.305 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.358e-05/0.3742, allocations: 41.69 kB / 1.292 GB, free: 3.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.574e-05/0.3743, allocations: 105.4 kB / 1.292 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.348e-05/0.3744, allocations: 39.73 kB / 1.292 GB, free: 3.113 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002104/0.3746, allocations: 145.4 kB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.3747, allocations: 326.8 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.3751, allocations: 215.3 kB / 1.293 GB, free: 2.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003938/0.3755, allocations: 270.6 kB / 1.293 GB, free: 2.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004199/0.3759, allocations: 299.4 kB / 1.293 GB, free: 1.793 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3759, allocations: 7.938 kB / 1.293 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009582/0.3769, allocations: 0.5899 MB / 1.294 GB, free: 1.164 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.307e-05/0.377, allocations: 87.38 kB / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.377, allocations: 0 / 1.294 GB, free: 1.066 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.377, allocations: 4 kB / 1.294 GB, free: 1.062 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001629/0.3772, allocations: 23.92 kB / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.3772, allocations: 0 / 1.294 GB, free: 1.039 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004872/0.3777, allocations: 64.03 kB / 1.294 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001003/0.3778, allocations: 67.95 kB / 1.294 GB, free: 0.9102 MB / 0.9825 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.0002868/0.378, allocations: 216.3 kB / 1.294 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.425e-05/0.3781, allocations: 43.72 kB / 1.294 GB, free: 0.6445 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.578e-05/0.3782, allocations: 39.72 kB / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.3782, allocations: 0 / 1.295 GB, free: 0.6055 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3782, allocations: 4 kB / 1.295 GB, free: 0.6016 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.3782, allocations: 4 kB / 1.295 GB, free: 0.5977 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002164/0.3804, allocations: 0.7091 MB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.3804, allocations: 0 / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.809e-05/0.3804, allocations: 4 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.3804, allocations: 0 / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.409e-05/0.3804, allocations: 31.97 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.3804, allocations: 4 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3805, allocations: 0 / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001719/0.3822, allocations: 491.4 kB / 1.296 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003665/0.3825, allocations: 201.4 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.117e-05/0.3826, allocations: 16 kB / 1.296 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004481/0.3831, allocations: 27.97 kB / 1.296 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.999e-05/0.3831, allocations: 15.91 kB / 1.296 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.898e-05/0.3832, allocations: 55.98 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003475/0.3835, allocations: 323.1 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3835, allocations: 0 / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003997/0.3839, allocations: 67.94 kB / 1.296 GB, free: 14.62 MB / 0.9981 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.0001754/0.3841, allocations: 124 kB / 1.297 GB, free: 14.49 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001349/0.3854, allocations: 0.505 MB / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.3854, allocations: 0 / 1.297 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0007194/0.3862, allocations: 120.2 kB / 1.297 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.3866, allocations: 39.62 kB / 1.297 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001562/0.3881, allocations: 0.6385 MB / 1.298 GB, free: 13.12 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001965/0.3883, allocations: 178.9 kB / 1.298 GB, free: 12.93 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.3884, allocations: 19.42 kB / 1.298 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of SimCode: time 5.01e-07/0.3884, allocations: 4 kB / 1.298 GB, free: 12.91 MB / 0.9981 GB Notification: Performance of Templates: time 0.00685/0.3952, allocations: 4.118 MB / 1.302 GB, free: 8.746 MB / 0.9981 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 -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: 11.21583571890369]