Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001905/0.001905, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001487/0.001487, allocations: 211.5 kB / 22.99 MB, free: 4.957 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.471/1.471, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.263/3.263, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [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.002062/0.002062, allocations: 69.67 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.369, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003302/0.3723, allocations: 1.736 MB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00163/0.3739, allocations: 0.6031 MB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.682e-05/0.374, allocations: 4 kB / 1.329 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.3741, allocations: 11.81 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.3742, allocations: 35.78 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008958/0.3751, allocations: 362.7 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007087/0.3758, allocations: 0.6087 MB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3759, allocations: 25.23 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004251/0.3764, allocations: 319.5 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.3767, allocations: 159.4 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001045/0.3768, allocations: 44 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.3769, allocations: 40 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.377, allocations: 127.6 kB / 1.331 GB, free: 12.94 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002066/0.3772, allocations: 183.2 kB / 1.331 GB, free: 12.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006542/0.3779, allocations: 0.6033 MB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3779, allocations: 4 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3779, allocations: 0 / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.3779, allocations: 0 / 1.332 GB, free: 12.15 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.001499/0.3794, allocations: 0.8339 MB / 1.333 GB, free: 11.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.3795, allocations: 12.03 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001585/0.3796, allocations: 56.66 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005271/0.3801, allocations: 276.7 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.014e-05/0.3802, allocations: 24.3 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.741e-05/0.3803, allocations: 32.36 kB / 1.333 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001151/0.3814, allocations: 239 kB / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3815, allocations: 192 / 1.333 GB, free: 10.59 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.666e-05/0.3815, allocations: 3.938 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.997e-06/0.3815, allocations: 4 kB / 1.333 GB, free: 10.58 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008939/0.3824, allocations: 115.9 kB / 1.333 GB, free: 10.46 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00142/0.3838, allocations: 0.5352 MB / 1.334 GB, free: 9.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.385, allocations: 174.5 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008246/0.3858, allocations: 108.8 kB / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.386e-05/0.3858, allocations: 0 / 1.334 GB, free: 9.609 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001064/0.3869, allocations: 231.2 kB / 1.334 GB, free: 9.371 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.384e-06/0.3869, allocations: 3.938 kB / 1.334 GB, free: 9.367 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002959/0.3898, allocations: 0.4895 MB / 1.335 GB, free: 8.871 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.266e-05/0.3899, allocations: 59.41 kB / 1.335 GB, free: 8.801 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005441/0.3904, allocations: 445.8 kB / 1.335 GB, free: 8.352 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.281e-05/0.3905, allocations: 45.7 kB / 1.335 GB, free: 8.301 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3906, allocations: 109.3 kB / 1.336 GB, free: 8.191 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.3907, allocations: 35.73 kB / 1.336 GB, free: 8.156 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002274/0.3909, allocations: 137.4 kB / 1.336 GB, free: 8.016 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.3911, allocations: 330.8 kB / 1.336 GB, free: 7.684 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.3915, allocations: 215.3 kB / 1.336 GB, free: 7.461 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004164/0.3919, allocations: 281.2 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004567/0.3923, allocations: 296 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3924, allocations: 0 / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001038/0.3934, allocations: 0.5938 MB / 1.337 GB, free: 6.207 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.3935, allocations: 87.38 kB / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.353e-06/0.3935, allocations: 0 / 1.337 GB, free: 6.109 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.808e-05/0.3935, allocations: 4 kB / 1.337 GB, free: 6.105 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.3937, allocations: 19.98 kB / 1.337 GB, free: 6.086 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.798e-06/0.3937, allocations: 8.125 kB / 1.337 GB, free: 6.078 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.3943, allocations: 63.83 kB / 1.337 GB, free: 6.016 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.987e-05/0.3944, allocations: 67.91 kB / 1.338 GB, free: 5.949 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.0002928/0.3947, allocations: 212.8 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.871e-05/0.3947, allocations: 43.72 kB / 1.338 GB, free: 5.688 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.909e-05/0.3948, allocations: 47.72 kB / 1.338 GB, free: 5.641 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.3948, allocations: 11.94 kB / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3948, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.137e-06/0.3948, allocations: 0 / 1.338 GB, free: 5.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.3974, allocations: 0.7108 MB / 1.339 GB, free: 4.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.3974, allocations: 4 kB / 1.339 GB, free: 4.875 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.315e-05/0.3974, allocations: 7.938 kB / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.3974, allocations: 0 / 1.339 GB, free: 4.867 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.378e-05/0.3975, allocations: 23.97 kB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.469e-06/0.3975, allocations: 4 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3975, allocations: 0 / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.3995, allocations: 491.4 kB / 1.339 GB, free: 4.344 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003815/0.3999, allocations: 173.5 kB / 1.339 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.3999, allocations: 16 kB / 1.339 GB, free: 4.16 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005464/0.4005, allocations: 35.95 kB / 1.339 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/0.4005, allocations: 15.91 kB / 1.339 GB, free: 4.109 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.57e-05/0.4006, allocations: 55.98 kB / 1.339 GB, free: 4.055 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003693/0.401, allocations: 323.1 kB / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.401, allocations: 0 / 1.34 GB, free: 3.742 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004217/0.4014, allocations: 75.92 kB / 1.34 GB, free: 3.668 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.0002011/0.4016, allocations: 126.1 kB / 1.34 GB, free: 3.535 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.4031, allocations: 0.498 MB / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4031, allocations: 384 / 1.34 GB, free: 3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008791/0.404, allocations: 127.8 kB / 1.34 GB, free: 2.875 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.4044, allocations: 35.62 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.4062, allocations: 0.5941 MB / 1.341 GB, free: 2.219 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000208/0.4064, allocations: 182.9 kB / 1.341 GB, free: 2.02 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 7.933e-05/0.4064, allocations: 13.42 kB / 1.341 GB, free: 2.008 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.077e-05/0.4065, allocations: 19.42 kB / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4065, allocations: 0 / 1.341 GB, free: 1.988 MB / 1.029 GB Notification: Performance of Templates: time 0.01133/0.4178, allocations: 6.617 MB / 1.348 GB, free: 11.32 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.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.06639888099744]