Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.001626/0.001626, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001971/0.001971, allocations: 220.3 kB / 23 MB, free: 4.914 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.476/1.476, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.783/2.783, allocations: 476 MB / 0.7707 GB, free: 4.742 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.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.Utilities.Time.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.Utilities.Time.Validation.CalendarTimeMonthsMinus") [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.002121/0.002121, allocations: 66.66 kB / 1.118 GB, free: 41.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2945, allocations: 170 MB / 1.284 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002745/0.2972, allocations: 1.52 MB / 1.285 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001278/0.2985, allocations: 0.5285 MB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.291e-05/0.2985, allocations: 0 / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 9.729e-05/0.2986, allocations: 11.81 kB / 1.286 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.2988, allocations: 31.78 kB / 1.286 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000818/0.2996, allocations: 315.4 kB / 1.286 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005406/0.3001, allocations: 483.5 kB / 1.287 GB, free: 9.172 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.3002, allocations: 7.984 kB / 1.287 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000401/0.3006, allocations: 275.6 kB / 1.287 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002943/0.3009, allocations: 135.6 kB / 1.287 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-05/0.301, allocations: 28 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.893e-05/0.3011, allocations: 32 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3012, allocations: 119.7 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001852/0.3014, allocations: 159.2 kB / 1.287 GB, free: 8.43 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004819/0.3019, allocations: 430.4 kB / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.3019, allocations: 0 / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3019, allocations: 0 / 1.288 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.3019, allocations: 3.938 kB / 1.288 GB, free: 8.004 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001285/0.3032, allocations: 0.7873 MB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.3032, allocations: 8.031 kB / 1.288 GB, free: 7.137 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.3033, allocations: 60.66 kB / 1.289 GB, free: 7.078 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.3038, allocations: 256.7 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.966e-05/0.3038, allocations: 16.36 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.842e-05/0.3039, allocations: 32.36 kB / 1.289 GB, free: 6.754 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009497/0.3049, allocations: 210 kB / 1.289 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.254e-05/0.3049, allocations: 4.172 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.651e-05/0.3049, allocations: 3.938 kB / 1.289 GB, free: 6.535 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.3049, allocations: 4 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007387/0.3057, allocations: 107.8 kB / 1.289 GB, free: 6.426 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.306, allocations: 277.1 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.3071, allocations: 170.5 kB / 1.29 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007276/0.3078, allocations: 100.8 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.005e-05/0.3078, allocations: 4 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001009/0.3088, allocations: 219.1 kB / 1.29 GB, free: 5.617 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.435e-06/0.3088, allocations: 8 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002542/0.3114, allocations: 487.6 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.379e-05/0.3115, allocations: 63.41 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005078/0.312, allocations: 417.8 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.663e-05/0.312, allocations: 41.69 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.992e-05/0.3121, allocations: 93.44 kB / 1.291 GB, free: 4.496 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.309e-05/0.3122, allocations: 39.73 kB / 1.291 GB, free: 4.457 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002134/0.3124, allocations: 133.4 kB / 1.291 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.3126, allocations: 322.8 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003343/0.3129, allocations: 191.3 kB / 1.292 GB, free: 3.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003763/0.3133, allocations: 250.4 kB / 1.292 GB, free: 3.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004222/0.3137, allocations: 271 kB / 1.292 GB, free: 3.223 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3137, allocations: 4 kB / 1.292 GB, free: 3.219 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009179/0.3146, allocations: 0.5487 MB / 1.293 GB, free: 2.641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.57e-05/0.3147, allocations: 79.38 kB / 1.293 GB, free: 2.551 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3147, allocations: 4.188 kB / 1.293 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.695e-05/0.3148, allocations: 7.938 kB / 1.293 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001778/0.3149, allocations: 19.98 kB / 1.293 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.3149, allocations: 3.938 kB / 1.293 GB, free: 2.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004906/0.3154, allocations: 67.77 kB / 1.293 GB, free: 2.449 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001019/0.3155, allocations: 59.98 kB / 1.293 GB, free: 2.391 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.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.000284/0.3158, allocations: 191.8 kB / 1.293 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.905e-05/0.3159, allocations: 35.77 kB / 1.293 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.496e-05/0.316, allocations: 51.55 kB / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.316, allocations: 0 / 1.293 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.316, allocations: 4 kB / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.316, allocations: 0 / 1.293 GB, free: 2.105 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002183/0.3182, allocations: 0.6739 MB / 1.294 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.3182, allocations: 3.938 kB / 1.294 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.921e-05/0.3182, allocations: 11.92 kB / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3182, allocations: 0 / 1.294 GB, free: 1.375 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.626e-05/0.3182, allocations: 15.98 kB / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3182, allocations: 0 / 1.294 GB, free: 1.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.978e-06/0.3182, allocations: 3.984 kB / 1.294 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001655/0.3199, allocations: 490.1 kB / 1.294 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003128/0.3202, allocations: 137.5 kB / 1.294 GB, free: 0.7305 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.911e-05/0.3203, allocations: 8 kB / 1.294 GB, free: 0.7227 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/0.3207, allocations: 31.95 kB / 1.294 GB, free: 0.6914 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.654e-05/0.3208, allocations: 11.98 kB / 1.294 GB, free: 0.6797 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.3208, allocations: 59.98 kB / 1.295 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003219/0.3212, allocations: 295.1 kB / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3212, allocations: 0 / 1.295 GB, free: 348 kB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003863/0.3215, allocations: 67.98 kB / 1.295 GB, free: 280 kB / 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.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.0001682/0.3217, allocations: 115.2 kB / 1.295 GB, free: 152 kB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001339/0.3231, allocations: 473.9 kB / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.3231, allocations: 0 / 1.295 GB, free: 15.64 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000723/0.3238, allocations: 119.8 kB / 1.296 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003754/0.3242, allocations: 29.52 kB / 1.296 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001531/0.3257, allocations: 0.5924 MB / 1.296 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000184/0.3259, allocations: 170.9 kB / 1.296 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.733e-05/0.3259, allocations: 19.42 kB / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/0.3259, allocations: 0 / 1.296 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of Templates: time 0.006424/0.3324, allocations: 3.69 MB / 1.3 GB, free: 10.93 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 11.243527505081147]