Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001742/0.001742, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001858/0.001858, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.571/1.571, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.582/3.582, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002178/0.002178, allocations: 68.06 kB / 1.186 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.438/0.4402, allocations: 181.9 MB / 1.364 GB, free: 13.5 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus): time 0.003633/0.4438, allocations: 1.746 MB / 1.366 GB, free: 11.73 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001695/0.4455, allocations: 0.614 MB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001031/0.4456, allocations: 0 / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.4458, allocations: 15.86 kB / 1.366 GB, free: 11.11 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001784/0.446, allocations: 35.56 kB / 1.366 GB, free: 11.07 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.001346/0.4473, allocations: 366 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0008707/0.4482, allocations: 0.597 MB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000162/0.4484, allocations: 21.25 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005297/0.4489, allocations: 319.6 kB / 1.367 GB, free: 9.781 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003667/0.4493, allocations: 153.6 kB / 1.368 GB, free: 9.633 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001185/0.4494, allocations: 40 kB / 1.368 GB, free: 9.594 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.4495, allocations: 43.94 kB / 1.368 GB, free: 9.551 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0002052/0.4497, allocations: 127.6 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0002594/0.45, allocations: 179.2 kB / 1.368 GB, free: 9.25 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008533/0.4508, allocations: 0.5918 MB / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 9.257e-06/0.4508, allocations: 0 / 1.369 GB, free: 8.656 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.366e-06/0.4508, allocations: 4 kB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.4508, allocations: 0 / 1.369 GB, free: 8.652 MB / 1.061 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.001733/0.4526, allocations: 0.83 MB / 1.369 GB, free: 7.75 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.083e-05/0.4526, allocations: 12.03 kB / 1.369 GB, free: 7.738 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001512/0.4528, allocations: 56.66 kB / 1.369 GB, free: 7.684 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006305/0.4534, allocations: 288.6 kB / 1.37 GB, free: 7.379 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.261e-05/0.4535, allocations: 24.36 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.425e-05/0.4536, allocations: 28.36 kB / 1.37 GB, free: 7.328 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.4546, allocations: 232 kB / 1.37 GB, free: 7.098 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.69e-05/0.4546, allocations: 8.109 kB / 1.37 GB, free: 7.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.486e-05/0.4546, allocations: 11.94 kB / 1.37 GB, free: 7.078 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.4546, allocations: 4 kB / 1.37 GB, free: 7.074 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000726/0.4554, allocations: 119.8 kB / 1.37 GB, free: 6.957 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001351/0.4567, allocations: 0.5274 MB / 1.371 GB, free: 6.398 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000998/0.4577, allocations: 170.4 kB / 1.371 GB, free: 6.223 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006978/0.4584, allocations: 108.8 kB / 1.371 GB, free: 6.113 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.304e-05/0.4584, allocations: 11.92 kB / 1.371 GB, free: 6.102 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009628/0.4594, allocations: 225.7 kB / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.733e-06/0.4594, allocations: 0 / 1.371 GB, free: 5.871 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002472/0.4619, allocations: 0.4934 MB / 1.372 GB, free: 5.371 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.4619, allocations: 63.39 kB / 1.372 GB, free: 5.297 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005061/0.4624, allocations: 437.9 kB / 1.372 GB, free: 4.855 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.000122/0.4626, allocations: 45.69 kB / 1.372 GB, free: 4.805 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4627, allocations: 105.3 kB / 1.372 GB, free: 4.699 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.576e-05/0.4627, allocations: 39.69 kB / 1.372 GB, free: 4.66 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002206/0.4629, allocations: 137.5 kB / 1.372 GB, free: 4.52 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4631, allocations: 330.8 kB / 1.373 GB, free: 4.188 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003737/0.4635, allocations: 223.3 kB / 1.373 GB, free: 3.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004117/0.4639, allocations: 270.8 kB / 1.373 GB, free: 3.66 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.4643, allocations: 299.6 kB / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4643, allocations: 0 / 1.374 GB, free: 3.336 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001002/0.4653, allocations: 0.6016 MB / 1.374 GB, free: 2.703 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.595e-05/0.4654, allocations: 87.38 kB / 1.374 GB, free: 2.605 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.4655, allocations: 4 kB / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.055e-05/0.4655, allocations: 0 / 1.374 GB, free: 2.602 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001625/0.4656, allocations: 27.92 kB / 1.374 GB, free: 2.574 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.4656, allocations: 4 kB / 1.374 GB, free: 2.57 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004594/0.4661, allocations: 60.03 kB / 1.374 GB, free: 2.512 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.404e-05/0.4662, allocations: 59.97 kB / 1.374 GB, free: 2.453 MB / 1.061 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.0002857/0.4665, allocations: 224.3 kB / 1.375 GB, free: 2.227 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.4665, allocations: 35.77 kB / 1.375 GB, free: 2.191 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.788e-05/0.4666, allocations: 43.72 kB / 1.375 GB, free: 2.152 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.441e-06/0.4666, allocations: 4 kB / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.05e-06/0.4666, allocations: 0 / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.4666, allocations: 0 / 1.375 GB, free: 2.148 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002163/0.4688, allocations: 0.719 MB / 1.375 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4688, allocations: 0 / 1.375 GB, free: 1.391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.392e-05/0.4688, allocations: 4 kB / 1.375 GB, free: 1.387 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.334e-06/0.4688, allocations: 4 kB / 1.375 GB, free: 1.383 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.823e-05/0.4689, allocations: 19.97 kB / 1.375 GB, free: 1.363 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.4689, allocations: 0 / 1.375 GB, free: 1.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4689, allocations: 7.938 kB / 1.375 GB, free: 1.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001682/0.4706, allocations: 499.3 kB / 1.376 GB, free: 0.8516 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003375/0.4709, allocations: 169.5 kB / 1.376 GB, free: 0.6875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.386e-05/0.471, allocations: 19.94 kB / 1.376 GB, free: 0.668 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004441/0.4714, allocations: 35.97 kB / 1.376 GB, free: 0.6328 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.383e-05/0.4715, allocations: 11.92 kB / 1.376 GB, free: 0.6211 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.805e-05/0.4716, allocations: 55.97 kB / 1.376 GB, free: 0.5664 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003584/0.4719, allocations: 323.1 kB / 1.376 GB, free: 256 kB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.4719, allocations: 0 / 1.376 GB, free: 256 kB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003552/0.4723, allocations: 75.89 kB / 1.376 GB, free: 180 kB / 1.061 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.0001924/0.4725, allocations: 124.2 kB / 1.377 GB, free: 44 kB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.4738, allocations: 0.5057 MB / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.4738, allocations: 0 / 1.377 GB, free: 15.5 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007228/0.4746, allocations: 114.2 kB / 1.377 GB, free: 15.39 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004095/0.475, allocations: 46.28 kB / 1.377 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.4765, allocations: 0.5902 MB / 1.378 GB, free: 14.73 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002175/0.4768, allocations: 182.9 kB / 1.378 GB, free: 14.53 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 7.001e-05/0.4768, allocations: 21.41 kB / 1.378 GB, free: 14.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.846e-05/0.4769, allocations: 15.44 kB / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/0.4769, allocations: 0 / 1.378 GB, free: 14.5 MB / 1.076 GB Notification: Performance of Templates: time 0.01151/0.4884, allocations: 6.588 MB / 1.384 GB, free: 7.852 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.94573351368308]