Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001758/0.001758, allocations: 120.3 kB / 17.13 MB, free: 5.918 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.002022/0.002022, allocations: 191.7 kB / 20.08 MB, free: 2.988 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.456/1.456, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.561/2.561, allocations: 443.5 MB / 0.7293 GB, free: 14.59 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 75.89 kB / 1.057 GB, free: 2.02 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.292, allocations: 160.7 MB / 1.214 GB, free: 0.9922 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.002986/0.2949, allocations: 1.738 MB / 1.216 GB, free: 15.23 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.2963, allocations: 0.6429 MB / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.717e-05/0.2963, allocations: 0 / 1.216 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.95e-05/0.2964, allocations: 15.8 kB / 1.216 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001276/0.2965, allocations: 35.56 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008459/0.2974, allocations: 363.2 kB / 1.217 GB, free: 14.19 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007159/0.2981, allocations: 0.597 MB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.2982, allocations: 21.11 kB / 1.217 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004164/0.2986, allocations: 319.5 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003224/0.2989, allocations: 151.6 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001092/0.2991, allocations: 40 kB / 1.218 GB, free: 13.07 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001079/0.2992, allocations: 44 kB / 1.218 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.000151/0.2993, allocations: 123.6 kB / 1.218 GB, free: 12.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002283/0.2995, allocations: 215 kB / 1.218 GB, free: 12.7 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006462/0.3002, allocations: 0.6073 MB / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3002, allocations: 0 / 1.219 GB, free: 12.09 MB / 0.9669 GB Notification: Performance of FrontEnd: time 3.456e-06/0.3002, allocations: 3.984 kB / 1.219 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.3002, allocations: 0 / 1.219 GB, free: 12.08 MB / 0.9669 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.00143/0.3016, allocations: 0.9092 MB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.3017, allocations: 15.98 kB / 1.22 GB, free: 11.07 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.3018, allocations: 56.66 kB / 1.22 GB, free: 11.01 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004292/0.3022, allocations: 334.5 kB / 1.22 GB, free: 10.65 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.33e-05/0.3023, allocations: 28.31 kB / 1.22 GB, free: 10.62 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.589e-05/0.3024, allocations: 36.3 kB / 1.22 GB, free: 10.59 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001101/0.3035, allocations: 234 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.3035, allocations: 4.188 kB / 1.22 GB, free: 10.35 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.952e-05/0.3035, allocations: 3.938 kB / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.3035, allocations: 0 / 1.22 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008406/0.3044, allocations: 119.9 kB / 1.221 GB, free: 10.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001358/0.3057, allocations: 0.6759 MB / 1.221 GB, free: 9.5 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001118/0.3069, allocations: 170.5 kB / 1.221 GB, free: 9.324 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007992/0.3077, allocations: 104.8 kB / 1.221 GB, free: 9.219 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.733e-05/0.3077, allocations: 4 kB / 1.222 GB, free: 9.215 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001024/0.3087, allocations: 231.2 kB / 1.222 GB, free: 8.977 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 5.3e-06/0.3087, allocations: 3.984 kB / 1.222 GB, free: 8.973 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.002779/0.3115, allocations: 499.9 kB / 1.222 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.3116, allocations: 71.38 kB / 1.222 GB, free: 8.398 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005067/0.3121, allocations: 437.9 kB / 1.223 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-05/0.3121, allocations: 41.7 kB / 1.223 GB, free: 7.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3122, allocations: 105.4 kB / 1.223 GB, free: 7.805 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 4.674e-05/0.3123, allocations: 43.69 kB / 1.223 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002302/0.3125, allocations: 141.3 kB / 1.223 GB, free: 7.617 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.3127, allocations: 326.8 kB / 1.223 GB, free: 7.289 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003025/0.313, allocations: 139.9 kB / 1.223 GB, free: 7.152 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003627/0.3133, allocations: 194.9 kB / 1.224 GB, free: 6.941 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.3138, allocations: 295.5 kB / 1.224 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3138, allocations: 0 / 1.224 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009222/0.3147, allocations: 0.524 MB / 1.224 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.3148, allocations: 95.38 kB / 1.225 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.3148, allocations: 0 / 1.225 GB, free: 5.973 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.995e-05/0.3148, allocations: 4 kB / 1.225 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.315, allocations: 19.98 kB / 1.225 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.717e-06/0.315, allocations: 3.938 kB / 1.225 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005076/0.3155, allocations: 67.98 kB / 1.225 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-05/0.3156, allocations: 71.95 kB / 1.225 GB, free: 5.809 MB / 0.9669 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.0002778/0.3159, allocations: 212.3 kB / 1.225 GB, free: 5.594 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.829e-05/0.316, allocations: 39.77 kB / 1.225 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.412e-05/0.316, allocations: 43.78 kB / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.946e-06/0.316, allocations: 0 / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.316, allocations: 0 / 1.225 GB, free: 5.516 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.316, allocations: 11.94 kB / 1.225 GB, free: 5.504 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002406/0.3184, allocations: 0.7834 MB / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3184, allocations: 0 / 1.226 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.3185, allocations: 8 kB / 1.226 GB, free: 4.652 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.3185, allocations: 7.938 kB / 1.226 GB, free: 4.645 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.142e-05/0.3185, allocations: 19.97 kB / 1.226 GB, free: 4.625 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.186e-06/0.3185, allocations: 3.938 kB / 1.226 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.3185, allocations: 0 / 1.226 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00192/0.3205, allocations: 485.8 kB / 1.226 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000314/0.3208, allocations: 240.7 kB / 1.226 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.199e-05/0.3209, allocations: 19.98 kB / 1.226 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005376/0.3214, allocations: 35.91 kB / 1.227 GB, free: 3.824 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.831e-05/0.3214, allocations: 7.984 kB / 1.227 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.341e-05/0.3215, allocations: 55.97 kB / 1.227 GB, free: 3.762 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003633/0.3219, allocations: 327.1 kB / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9e-08/0.3219, allocations: 0 / 1.227 GB, free: 3.445 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004108/0.3223, allocations: 71.94 kB / 1.227 GB, free: 3.375 MB / 0.9669 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.0001947/0.3225, allocations: 127.9 kB / 1.227 GB, free: 3.238 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001439/0.3239, allocations: 442.5 kB / 1.228 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.3239, allocations: 0 / 1.228 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008509/0.3248, allocations: 111.9 kB / 1.228 GB, free: 2.672 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004399/0.3252, allocations: 41.41 kB / 1.228 GB, free: 2.633 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/0.3269, allocations: 0.6613 MB / 1.228 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004254/0.3274, allocations: 0.7864 MB / 1.229 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.3274, allocations: 11.44 kB / 1.229 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of SimCode: time 4.81e-07/0.3274, allocations: 4 kB / 1.229 GB, free: 1.113 MB / 0.9669 GB Notification: Performance of Templates: time 0.006849/0.3343, allocations: 4.093 MB / 1.233 GB, free: 12.97 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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: 10.43786448193714]