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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001759/0.001759, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002328/0.002328, allocations: 195.5 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.53/1.53, allocations: 225.6 MB / 250.9 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.853/2.853, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 71.88 kB / 1.109 GB, free: 6.484 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9739/0.9759, allocations: 168.7 MB / 1.274 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003204/0.9791, allocations: 1.751 MB / 1.276 GB, free: 2.77 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001438/0.9806, allocations: 0.6261 MB / 1.276 GB, free: 2.141 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.199e-05/0.9806, allocations: 4 kB / 1.276 GB, free: 2.137 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001063/0.9807, allocations: 15.8 kB / 1.276 GB, free: 2.121 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001287/0.9809, allocations: 35.78 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.9817, allocations: 364.8 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007153/0.9825, allocations: 0.6008 MB / 1.277 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.9826, allocations: 21.11 kB / 1.277 GB, free: 1.109 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005126/0.9831, allocations: 315.5 kB / 1.278 GB, free: 0.8008 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003231/0.9834, allocations: 163.3 kB / 1.278 GB, free: 0.6406 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.067e-05/0.9835, allocations: 40 kB / 1.278 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.243e-05/0.9836, allocations: 44 kB / 1.278 GB, free: 0.5586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001439/0.9837, allocations: 123.7 kB / 1.278 GB, free: 448 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002198/0.9839, allocations: 211 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006532/0.9846, allocations: 0.6022 MB / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.9846, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9846, allocations: 0 / 1.279 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.9846, allocations: 3.938 kB / 1.279 GB, free: 15.62 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.001542/0.9861, allocations: 0.917 MB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.9862, allocations: 12.03 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.9863, allocations: 60.64 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005173/0.9868, allocations: 338.5 kB / 1.28 GB, free: 14.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.016e-05/0.9869, allocations: 24.36 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.905e-05/0.987, allocations: 28.22 kB / 1.28 GB, free: 14.13 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001056/0.988, allocations: 244.7 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.988, allocations: 192 / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.925e-05/0.9881, allocations: 11.92 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.205e-06/0.9881, allocations: 4 kB / 1.28 GB, free: 13.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008055/0.9889, allocations: 107.9 kB / 1.281 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001716/0.9906, allocations: 0.6681 MB / 1.281 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/0.9918, allocations: 178.4 kB / 1.281 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007971/0.9926, allocations: 108.8 kB / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.9926, allocations: 0 / 1.281 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001028/0.9936, allocations: 231.1 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.545e-06/0.9936, allocations: 0 / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002747/0.9964, allocations: 0.4973 MB / 1.282 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.153e-05/0.9964, allocations: 59.39 kB / 1.282 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005534/0.997, allocations: 441.9 kB / 1.283 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 9.283e-05/0.9971, allocations: 41.69 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.9972, allocations: 105.4 kB / 1.283 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.309e-05/0.9972, allocations: 35.7 kB / 1.283 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.9975, allocations: 141.5 kB / 1.283 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002684/0.9977, allocations: 322.8 kB / 1.283 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003258/0.9981, allocations: 143.9 kB / 1.283 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003439/0.9984, allocations: 189.9 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004543/0.9989, allocations: 297.3 kB / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.9989, allocations: 0 / 1.284 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000967/0.9998, allocations: 0.5338 MB / 1.284 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001184/1, allocations: 97.56 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.928e-06/1, allocations: 8.188 kB / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.706e-05/1, allocations: 0 / 1.285 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/1, allocations: 19.98 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.644e-05/1, allocations: 15.91 kB / 1.285 GB, free: 9.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/1.001, allocations: 51.91 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.193e-05/1.001, allocations: 55.98 kB / 1.285 GB, free: 9.367 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.0003185/1.001, allocations: 220.3 kB / 1.285 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.942e-05/1.001, allocations: 39.77 kB / 1.285 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.784e-05/1.001, allocations: 43.78 kB / 1.285 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.21e-06/1.001, allocations: 7.938 kB / 1.285 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/1.001, allocations: 0 / 1.285 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.001, allocations: 3.938 kB / 1.285 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/1.004, allocations: 0.7899 MB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/1.004, allocations: 3.984 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.842e-05/1.004, allocations: 11.94 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.004, allocations: 3.938 kB / 1.286 GB, free: 8.18 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.3e-05/1.004, allocations: 23.97 kB / 1.286 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/1.004, allocations: 3.938 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/1.004, allocations: 0 / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001812/1.006, allocations: 483.5 kB / 1.286 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004528/1.006, allocations: 244.6 kB / 1.286 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.615e-05/1.006, allocations: 16 kB / 1.286 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004821/1.007, allocations: 38.91 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/1.007, allocations: 7.984 kB / 1.287 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.994e-05/1.007, allocations: 59.97 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000385/1.007, allocations: 319.1 kB / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/1.007, allocations: 0 / 1.287 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004324/1.008, allocations: 71.94 kB / 1.287 GB, free: 6.91 MB / 0.9825 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.0002233/1.008, allocations: 135.7 kB / 1.287 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001443/1.009, allocations: 434.5 kB / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.009, allocations: 0 / 1.288 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/1.01, allocations: 121.9 kB / 1.288 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004261/1.01, allocations: 35.56 kB / 1.288 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/1.012, allocations: 0.6172 MB / 1.288 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004918/1.013, allocations: 0.7864 MB / 1.289 GB, free: 4.707 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 7.417e-05/1.013, allocations: 17.42 kB / 1.289 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.017e-05/1.013, allocations: 19.44 kB / 1.289 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of SimCode: time 7.02e-07/1.013, allocations: 0 / 1.289 GB, free: 4.672 MB / 0.9825 GB Notification: Performance of Templates: time 0.01151/1.024, allocations: 5.469 MB / 1.294 GB, free: 15.1 MB / 0.9981 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 cvode -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_2/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.209027331322432]