Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.001613/0.001613, 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.001777/0.001777, allocations: 217.4 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.82 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.211/3.211, allocations: 0.4892 GB / 0.7951 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.CalendarTimeMonthsMinus,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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.002094/0.002094, allocations: 67.83 kB / 1.154 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3081/0.3102, allocations: 176.1 MB / 1.326 GB, free: 1.84 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus): time 0.003018/0.3132, allocations: 1.736 MB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001376/0.3146, allocations: 0.6091 MB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.945e-05/0.3147, allocations: 0 / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 9.209e-05/0.3148, allocations: 15.8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001215/0.3149, allocations: 31.8 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008137/0.3157, allocations: 366.8 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.3163, allocations: 0.601 MB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001006/0.3164, allocations: 21.23 kB / 1.33 GB, free: 14.46 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004249/0.3169, allocations: 323.5 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003047/0.3172, allocations: 157.2 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001135/0.3173, allocations: 40 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001056/0.3174, allocations: 40 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.3175, allocations: 127.6 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002085/0.3177, allocations: 179.2 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006064/0.3184, allocations: 0.5917 MB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3184, allocations: 7.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.233e-06/0.3184, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.3184, allocations: 4 kB / 1.331 GB, free: 13.01 MB / 1.029 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.001345/0.3197, allocations: 0.8456 MB / 1.332 GB, free: 12.09 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.221e-05/0.3197, allocations: 8.031 kB / 1.332 GB, free: 12.08 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001379/0.3199, allocations: 56.66 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.3204, allocations: 276.7 kB / 1.332 GB, free: 11.73 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.3204, allocations: 24.3 kB / 1.332 GB, free: 11.71 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.389e-05/0.3205, allocations: 36.34 kB / 1.332 GB, free: 11.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.3215, allocations: 239.8 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.3215, allocations: 192 / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.3215, allocations: 7.938 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.3215, allocations: 0 / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007514/0.3223, allocations: 115.9 kB / 1.333 GB, free: 11.32 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.3235, allocations: 0.543 MB / 1.333 GB, free: 10.74 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001022/0.3245, allocations: 162.5 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000718/0.3252, allocations: 108.8 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.3252, allocations: 7.984 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009208/0.3262, allocations: 227.1 kB / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.723e-06/0.3262, allocations: 0 / 1.334 GB, free: 10.22 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002481/0.3286, allocations: 0.4895 MB / 1.334 GB, free: 9.727 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.104e-05/0.3287, allocations: 59.41 kB / 1.334 GB, free: 9.656 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004899/0.3292, allocations: 445.9 kB / 1.335 GB, free: 9.203 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.977e-05/0.3293, allocations: 41.69 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.818e-05/0.3293, allocations: 101.4 kB / 1.335 GB, free: 9.055 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.34e-05/0.3294, allocations: 47.66 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002032/0.3296, allocations: 145.4 kB / 1.335 GB, free: 8.859 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3298, allocations: 326.8 kB / 1.335 GB, free: 8.531 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.3301, allocations: 223.3 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004065/0.3306, allocations: 269.2 kB / 1.336 GB, free: 8.004 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004382/0.331, allocations: 290.9 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.38e-06/0.331, allocations: 4 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001024/0.332, allocations: 0.5993 MB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.951e-05/0.3321, allocations: 89.56 kB / 1.337 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3321, allocations: 4 kB / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.572e-05/0.3321, allocations: 0 / 1.337 GB, free: 6.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.3323, allocations: 23.92 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3323, allocations: 4 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004681/0.3328, allocations: 60.03 kB / 1.337 GB, free: 6.867 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.133e-05/0.3329, allocations: 63.97 kB / 1.337 GB, free: 6.805 MB / 1.029 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.0002899/0.3332, allocations: 224.8 kB / 1.337 GB, free: 6.574 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.065e-05/0.3332, allocations: 43.66 kB / 1.337 GB, free: 6.531 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.853e-05/0.3333, allocations: 43.72 kB / 1.337 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.3333, allocations: 4 kB / 1.337 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.3333, allocations: 4 kB / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.3333, allocations: 0 / 1.337 GB, free: 6.48 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/0.3355, allocations: 0.7074 MB / 1.338 GB, free: 5.734 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.3355, allocations: 4 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.527e-05/0.3355, allocations: 3.938 kB / 1.338 GB, free: 5.727 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.3355, allocations: 8 kB / 1.338 GB, free: 5.719 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.012e-05/0.3356, allocations: 23.97 kB / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.3356, allocations: 0 / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.3356, allocations: 0 / 1.338 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001697/0.3373, allocations: 495.4 kB / 1.338 GB, free: 5.195 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003579/0.3376, allocations: 177.5 kB / 1.338 GB, free: 5.023 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.549e-05/0.3377, allocations: 12 kB / 1.338 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004563/0.3381, allocations: 31.91 kB / 1.338 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.681e-05/0.3382, allocations: 15.92 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.84e-05/0.3383, allocations: 59.97 kB / 1.339 GB, free: 4.906 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003427/0.3386, allocations: 315.1 kB / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3386, allocations: 0 / 1.339 GB, free: 4.602 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003649/0.339, allocations: 71.92 kB / 1.339 GB, free: 4.531 MB / 1.029 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.0001823/0.3392, allocations: 131.8 kB / 1.339 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001356/0.3405, allocations: 0.5042 MB / 1.34 GB, free: 3.852 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.3405, allocations: 4 kB / 1.34 GB, free: 3.848 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007504/0.3413, allocations: 112.3 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003873/0.3416, allocations: 38.17 kB / 1.34 GB, free: 3.703 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001567/0.3432, allocations: 0.6426 MB / 1.34 GB, free: 3.023 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.3434, allocations: 186.6 kB / 1.341 GB, free: 2.82 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.289e-05/0.3435, allocations: 27.42 kB / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/0.3435, allocations: 0 / 1.341 GB, free: 2.793 MB / 1.029 GB Notification: Performance of Templates: time 0.006322/0.3498, allocations: 4.133 MB / 1.345 GB, free: 14.61 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.209405085071921]