Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.001381/0.001381, 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.001572/0.001572, allocations: 212.4 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.503/1.503, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.23/3.23, allocations: 0.49 GB / 0.7959 GB, free: 35.38 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.CalendarTimeMonthsPlus,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.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_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus") [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.002116/0.002116, allocations: 62.59 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3575/0.3596, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003449/0.3631, allocations: 1.734 MB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001559/0.3646, allocations: 0.6091 MB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.063e-05/0.3647, allocations: 3.938 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001112/0.3648, allocations: 11.86 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001366/0.365, allocations: 31.8 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009091/0.3659, allocations: 377.6 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0006536/0.3665, allocations: 0.597 MB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/0.3666, allocations: 29.17 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004238/0.3671, allocations: 315.6 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.3674, allocations: 167.3 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.3675, allocations: 44 kB / 1.331 GB, free: 13.06 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 9.859e-05/0.3676, allocations: 44 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001455/0.3677, allocations: 123.7 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001916/0.3679, allocations: 179.2 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006506/0.3685, allocations: 0.5995 MB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3685, allocations: 0 / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.546e-06/0.3686, allocations: 4 kB / 1.332 GB, free: 12.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.154e-06/0.3686, allocations: 0 / 1.332 GB, free: 12.12 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.001464/0.37, allocations: 0.8417 MB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3701, allocations: 8.031 kB / 1.333 GB, free: 11.2 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001362/0.3702, allocations: 56.66 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005153/0.3707, allocations: 284.6 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.3708, allocations: 24.36 kB / 1.333 GB, free: 10.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.341e-05/0.3709, allocations: 24.36 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001169/0.372, allocations: 234 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3721, allocations: 192 / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.393e-05/0.3721, allocations: 7.938 kB / 1.333 GB, free: 10.55 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.3721, allocations: 4 kB / 1.333 GB, free: 10.54 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008788/0.373, allocations: 123.9 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001462/0.3745, allocations: 0.5313 MB / 1.334 GB, free: 9.859 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001159/0.3756, allocations: 166.5 kB / 1.334 GB, free: 9.688 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008428/0.3765, allocations: 111.8 kB / 1.334 GB, free: 9.578 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.859e-05/0.3765, allocations: 3.984 kB / 1.334 GB, free: 9.574 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001073/0.3776, allocations: 233.4 kB / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 1.873e-06/0.3776, allocations: 0 / 1.334 GB, free: 9.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002874/0.3804, allocations: 0.4934 MB / 1.335 GB, free: 8.836 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.313e-05/0.3805, allocations: 55.41 kB / 1.335 GB, free: 8.77 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005386/0.381, allocations: 445.9 kB / 1.335 GB, free: 8.32 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 8.478e-05/0.3811, allocations: 49.62 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.3812, allocations: 105.3 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.039e-05/0.3813, allocations: 39.72 kB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.3815, allocations: 141.4 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.3817, allocations: 326.8 kB / 1.336 GB, free: 7.648 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/0.3821, allocations: 223.3 kB / 1.336 GB, free: 7.418 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004138/0.3825, allocations: 273.2 kB / 1.336 GB, free: 7.117 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000427/0.3829, allocations: 291 kB / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.3829, allocations: 0 / 1.337 GB, free: 6.801 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001024/0.3839, allocations: 0.5914 MB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.45e-05/0.384, allocations: 95.36 kB / 1.337 GB, free: 6.074 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.384, allocations: 4 kB / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.3841, allocations: 0 / 1.337 GB, free: 6.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001866/0.3842, allocations: 31.92 kB / 1.337 GB, free: 6.039 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.3843, allocations: 4 kB / 1.337 GB, free: 6.035 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.3848, allocations: 59.78 kB / 1.338 GB, free: 5.977 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.635e-05/0.3849, allocations: 59.97 kB / 1.338 GB, free: 5.918 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.0003009/0.3852, allocations: 228.8 kB / 1.338 GB, free: 5.684 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.632e-05/0.3853, allocations: 39.72 kB / 1.338 GB, free: 5.645 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.657e-05/0.3853, allocations: 43.72 kB / 1.338 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.119e-06/0.3853, allocations: 4 kB / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.3853, allocations: 0 / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3854, allocations: 0 / 1.338 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002443/0.3878, allocations: 0.7149 MB / 1.339 GB, free: 4.844 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3878, allocations: 3.938 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.3878, allocations: 4 kB / 1.339 GB, free: 4.836 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.751e-06/0.3878, allocations: 4 kB / 1.339 GB, free: 4.832 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.815e-05/0.3879, allocations: 19.97 kB / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3879, allocations: 0 / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3879, allocations: 0 / 1.339 GB, free: 4.812 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.3899, allocations: 495.4 kB / 1.339 GB, free: 4.312 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003704/0.3903, allocations: 173.5 kB / 1.339 GB, free: 4.145 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.329e-05/0.3904, allocations: 16 kB / 1.339 GB, free: 4.129 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005421/0.3909, allocations: 31.97 kB / 1.339 GB, free: 4.098 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.3909, allocations: 15.92 kB / 1.339 GB, free: 4.082 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.669e-05/0.391, allocations: 55.97 kB / 1.339 GB, free: 4.027 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003565/0.3914, allocations: 319.1 kB / 1.34 GB, free: 3.719 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3914, allocations: 3.938 kB / 1.34 GB, free: 3.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.00043/0.3918, allocations: 75.86 kB / 1.34 GB, free: 3.641 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.0001839/0.392, allocations: 127.9 kB / 1.34 GB, free: 3.504 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001539/0.3935, allocations: 0.5081 MB / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3935, allocations: 0 / 1.34 GB, free: 2.961 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008699/0.3944, allocations: 119.8 kB / 1.34 GB, free: 2.844 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004225/0.3948, allocations: 34.75 kB / 1.341 GB, free: 2.812 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.3965, allocations: 0.5944 MB / 1.341 GB, free: 2.188 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002105/0.3967, allocations: 186.7 kB / 1.341 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.89e-05/0.3968, allocations: 17.42 kB / 1.341 GB, free: 1.969 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.3969, allocations: 19.44 kB / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of SimCode: time 4.7e-07/0.3969, allocations: 0 / 1.341 GB, free: 1.949 MB / 1.029 GB Notification: Performance of Templates: time 0.01128/0.4081, allocations: 6.608 MB / 1.348 GB, free: 11.29 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.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.168344079007511]