Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.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.001907/0.001907, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.002366/0.002366, allocations: 192.9 kB / 22.11 MB, free: 4.223 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.572/1.572, allocations: 225.6 MB / 250.8 MB, free: 2.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.954/2.954, allocations: 495.8 MB / 0.7831 GB, free: 12.24 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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.Utilities.Time.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002029/0.002029, allocations: 71.88 kB / 1.137 GB, free: 12.2 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.063/1.065, allocations: 173.6 MB / 1.307 GB, free: 33.84 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00237/1.068, allocations: 1.535 MB / 1.308 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001114/1.069, allocations: 0.5444 MB / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.559e-05/1.069, allocations: 6.812 kB / 1.309 GB, free: 32.41 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/1.069, allocations: 7.406 kB / 1.309 GB, free: 32.4 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001086/1.069, allocations: 27.05 kB / 1.309 GB, free: 32.39 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006913/1.07, allocations: 319.2 kB / 1.309 GB, free: 32.22 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003932/1.07, allocations: 482.8 kB / 1.31 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.153e-05/1.07, allocations: 2.875 kB / 1.31 GB, free: 32.03 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/1.071, allocations: 287.3 kB / 1.31 GB, free: 31.94 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002313/1.071, allocations: 146.7 kB / 1.31 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 9.49e-05/1.071, allocations: 27.66 kB / 1.31 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.743e-05/1.071, allocations: 27.16 kB / 1.31 GB, free: 31.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/1.071, allocations: 115.2 kB / 1.31 GB, free: 31.84 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/1.071, allocations: 183.9 kB / 1.31 GB, free: 31.73 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003346/1.072, allocations: 426.2 kB / 1.311 GB, free: 31.58 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.072, allocations: 0 / 1.311 GB, free: 31.58 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.944e-06/1.072, allocations: 3.938 kB / 1.311 GB, free: 31.57 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.482e-06/1.072, allocations: 4 kB / 1.311 GB, free: 31.57 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001024/1.073, allocations: 0.7951 MB / 1.311 GB, free: 30.92 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.334e-05/1.073, allocations: 11.66 kB / 1.312 GB, free: 30.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/1.073, allocations: 55.8 kB / 1.312 GB, free: 30.89 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003023/1.073, allocations: 261.7 kB / 1.312 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.352e-05/1.073, allocations: 19.44 kB / 1.312 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/1.073, allocations: 23.06 kB / 1.312 GB, free: 30.68 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009504/1.074, allocations: 214.9 kB / 1.312 GB, free: 30.62 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/1.074, allocations: 192 / 1.312 GB, free: 30.62 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.023e-05/1.074, allocations: 7.938 kB / 1.312 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/1.074, allocations: 2.844 kB / 1.312 GB, free: 30.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007733/1.075, allocations: 99.95 kB / 1.312 GB, free: 30.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000338/1.075, allocations: 363.9 kB / 1.313 GB, free: 30.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/1.076, allocations: 164.2 kB / 1.313 GB, free: 30.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007669/1.077, allocations: 108.1 kB / 1.313 GB, free: 30.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.528e-05/1.077, allocations: 6.953 kB / 1.313 GB, free: 30.28 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009284/1.078, allocations: 223.7 kB / 1.313 GB, free: 30.2 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.563e-06/1.078, allocations: 4 kB / 1.313 GB, free: 30.2 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00257/1.081, allocations: 497.9 kB / 1.313 GB, free: 30.07 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/1.081, allocations: 54.12 kB / 1.314 GB, free: 30.01 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003225/1.081, allocations: 416.7 kB / 1.314 GB, free: 29.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.93e-05/1.081, allocations: 40.94 kB / 1.314 GB, free: 29.77 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.074e-05/1.081, allocations: 101.2 kB / 1.314 GB, free: 29.68 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.56e-05/1.081, allocations: 33.08 kB / 1.314 GB, free: 29.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000171/1.081, allocations: 126.1 kB / 1.314 GB, free: 29.61 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.413e-05/1.081, allocations: 321.2 kB / 1.315 GB, free: 29.29 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002329/1.082, allocations: 120.7 kB / 1.315 GB, free: 29.25 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002461/1.082, allocations: 176.2 kB / 1.315 GB, free: 29.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003037/1.082, allocations: 283.2 kB / 1.315 GB, free: 28.95 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/1.082, allocations: 0 / 1.315 GB, free: 28.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007016/1.083, allocations: 489.7 kB / 1.316 GB, free: 28.74 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.431e-05/1.083, allocations: 90.86 kB / 1.316 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.083, allocations: 192 / 1.316 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/1.083, allocations: 8.219 kB / 1.316 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001614/1.083, allocations: 24.89 kB / 1.316 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/1.083, allocations: 2.656 kB / 1.316 GB, free: 28.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004704/1.084, allocations: 60.02 kB / 1.316 GB, free: 28.64 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.152e-05/1.084, allocations: 60.39 kB / 1.316 GB, free: 28.64 MB / 1.061 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0001757/1.084, allocations: 199.2 kB / 1.316 GB, free: 28.5 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.283e-05/1.084, allocations: 43.27 kB / 1.316 GB, free: 28.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/1.084, allocations: 42.58 kB / 1.316 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.084, allocations: 2.625 kB / 1.316 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/1.084, allocations: 0 / 1.316 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/1.084, allocations: 3.469 kB / 1.316 GB, free: 28.45 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002067/1.086, allocations: 0.7244 MB / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/1.086, allocations: 0 / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.295e-05/1.086, allocations: 5.25 kB / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/1.086, allocations: 0 / 1.317 GB, free: 28.08 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.441e-05/1.086, allocations: 23.64 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.086, allocations: 4 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/1.086, allocations: 3.141 kB / 1.317 GB, free: 28.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001676/1.088, allocations: 492.7 kB / 1.317 GB, free: 27.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002155/1.088, allocations: 128.8 kB / 1.317 GB, free: 27.81 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.969e-05/1.088, allocations: 13.25 kB / 1.317 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004694/1.089, allocations: 32.22 kB / 1.317 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.603e-05/1.089, allocations: 8.062 kB / 1.317 GB, free: 27.8 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.408e-05/1.089, allocations: 62.22 kB / 1.317 GB, free: 27.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0002108/1.089, allocations: 291.8 kB / 1.318 GB, free: 27.66 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/1.089, allocations: 3.938 kB / 1.318 GB, free: 27.66 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003274/1.089, allocations: 64.53 kB / 1.318 GB, free: 27.66 MB / 1.061 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001223/1.089, allocations: 127.2 kB / 1.318 GB, free: 27.55 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001154/1.09, allocations: 403.9 kB / 1.318 GB, free: 27.36 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.09, allocations: 0 / 1.318 GB, free: 27.36 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007781/1.091, allocations: 116.1 kB / 1.318 GB, free: 27.33 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003658/1.092, allocations: 28.3 kB / 1.318 GB, free: 27.32 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/1.093, allocations: 0.5603 MB / 1.319 GB, free: 27.01 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001766/1.093, allocations: 0.7756 MB / 1.32 GB, free: 26.3 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.543e-05/1.093, allocations: 13.06 kB / 1.32 GB, free: 26.3 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.169e-05/1.093, allocations: 16.42 kB / 1.32 GB, free: 26.29 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.093, allocations: 0 / 1.32 GB, free: 26.29 MB / 1.061 GB Notification: Performance of Templates: time 0.009231/1.103, allocations: 5.016 MB / 1.325 GB, free: 25.45 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.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: 9.447761442512274]