Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.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.001693/0.001693, allocations: 117.6 kB / 17.13 MB, free: 5.941 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.002168/0.002168, allocations: 197.2 kB / 20.08 MB, free: 3.008 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.438/1.438, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.583/2.583, 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.CalendarTimeMonths,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.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_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 75.88 kB / 1.057 GB, free: 1.957 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3401/0.342, allocations: 160.7 MB / 1.214 GB, free: 0.9297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003131/0.3452, allocations: 1.746 MB / 1.216 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001431/0.3466, allocations: 0.6292 MB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.824e-05/0.3467, allocations: 0 / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 9.587e-05/0.3468, allocations: 7.875 kB / 1.216 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001398/0.3469, allocations: 39.56 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008776/0.3478, allocations: 369.9 kB / 1.217 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0006767/0.3485, allocations: 0.5931 MB / 1.217 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.3486, allocations: 21.11 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004373/0.349, allocations: 319.5 kB / 1.218 GB, free: 13.2 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.3493, allocations: 155.5 kB / 1.218 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001104/0.3495, allocations: 44 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001165/0.3496, allocations: 44 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.3497, allocations: 119.7 kB / 1.218 GB, free: 12.84 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.35, allocations: 219 kB / 1.218 GB, free: 12.63 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006425/0.3506, allocations: 0.5994 MB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3506, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.442e-06/0.3506, allocations: 0 / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.3506, allocations: 3.938 kB / 1.219 GB, free: 12.02 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.001442/0.3521, allocations: 0.917 MB / 1.22 GB, free: 11.02 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.854e-05/0.3521, allocations: 11.98 kB / 1.22 GB, free: 11 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001339/0.3522, allocations: 64.66 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004609/0.3527, allocations: 334.5 kB / 1.22 GB, free: 10.58 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.735e-05/0.3527, allocations: 24.31 kB / 1.22 GB, free: 10.55 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.406e-05/0.3528, allocations: 32.36 kB / 1.22 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.3539, allocations: 240 kB / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.354, allocations: 192 / 1.22 GB, free: 10.29 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.354, allocations: 3.938 kB / 1.22 GB, free: 10.28 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.918e-06/0.354, allocations: 11.98 kB / 1.22 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008734/0.3549, allocations: 111.9 kB / 1.221 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/0.3563, allocations: 0.672 MB / 1.221 GB, free: 9.438 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001214/0.3575, allocations: 174.5 kB / 1.221 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008601/0.3584, allocations: 108.8 kB / 1.221 GB, free: 9.148 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.3584, allocations: 7.984 kB / 1.221 GB, free: 9.141 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001098/0.3595, allocations: 233.8 kB / 1.222 GB, free: 8.902 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=16): time 2.034e-06/0.3595, allocations: 3.938 kB / 1.222 GB, free: 8.898 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16): time 0.00293/0.3624, allocations: 497.3 kB / 1.222 GB, free: 8.406 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.287e-05/0.3625, allocations: 59.41 kB / 1.222 GB, free: 8.336 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.3631, allocations: 449.9 kB / 1.223 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 7.595e-05/0.3631, allocations: 41.69 kB / 1.223 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001021/0.3632, allocations: 101.4 kB / 1.223 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.3633, allocations: 43.62 kB / 1.223 GB, free: 7.691 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002394/0.3635, allocations: 133.5 kB / 1.223 GB, free: 7.555 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3637, allocations: 330.8 kB / 1.223 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003242/0.364, allocations: 139.9 kB / 1.223 GB, free: 7.086 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003634/0.3644, allocations: 198.8 kB / 1.224 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004548/0.3648, allocations: 295.5 kB / 1.224 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.3648, allocations: 0 / 1.224 GB, free: 6.551 MB / 0.9669 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001005/0.3658, allocations: 0.5202 MB / 1.224 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/0.3659, allocations: 91.38 kB / 1.225 GB, free: 5.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.05e-05/0.366, allocations: 4 kB / 1.225 GB, free: 5.906 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.366, allocations: 3.984 kB / 1.225 GB, free: 5.902 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000175/0.3661, allocations: 27.92 kB / 1.225 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/0.3662, allocations: 4.188 kB / 1.225 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005311/0.3667, allocations: 59.8 kB / 1.225 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-05/0.3668, allocations: 59.98 kB / 1.225 GB, free: 5.754 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.0002934/0.3671, allocations: 224.3 kB / 1.225 GB, free: 5.527 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.329e-05/0.3671, allocations: 39.75 kB / 1.225 GB, free: 5.488 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.753e-05/0.3672, allocations: 43.8 kB / 1.225 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5e-06/0.3672, allocations: 7.938 kB / 1.225 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.3672, allocations: 0 / 1.225 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.3672, allocations: 3.984 kB / 1.225 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002489/0.3697, allocations: 0.7834 MB / 1.226 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.3697, allocations: 7.922 kB / 1.226 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.239e-05/0.3698, allocations: 4 kB / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.288e-06/0.3698, allocations: 0 / 1.226 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.3698, allocations: 19.97 kB / 1.226 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.3698, allocations: 3.938 kB / 1.226 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3698, allocations: 0 / 1.226 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002027/0.3719, allocations: 486.3 kB / 1.226 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.3722, allocations: 244.7 kB / 1.226 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.811e-05/0.3723, allocations: 16 kB / 1.226 GB, free: 3.797 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.3728, allocations: 39.89 kB / 1.227 GB, free: 3.758 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.64e-05/0.3728, allocations: 11.98 kB / 1.227 GB, free: 3.746 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.477e-05/0.3729, allocations: 55.98 kB / 1.227 GB, free: 3.691 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003679/0.3733, allocations: 319.1 kB / 1.227 GB, free: 3.383 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3733, allocations: 3.938 kB / 1.227 GB, free: 3.379 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004105/0.3737, allocations: 75.89 kB / 1.227 GB, free: 3.305 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.0002078/0.3739, allocations: 124 kB / 1.227 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001523/0.3754, allocations: 446.4 kB / 1.227 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.3754, allocations: 0 / 1.227 GB, free: 2.711 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0008812/0.3763, allocations: 107.9 kB / 1.228 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004397/0.3768, allocations: 45.66 kB / 1.228 GB, free: 2.566 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.3786, allocations: 0.6561 MB / 1.228 GB, free: 1.879 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004677/0.3791, allocations: 0.7864 MB / 1.229 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.522e-05/0.3791, allocations: 15.44 kB / 1.229 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of SimCode: time 5.72e-07/0.3791, allocations: 0 / 1.229 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of Templates: time 0.007122/0.3862, allocations: 4.096 MB / 1.233 GB, free: 12.9 MB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.336206478998065]