Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001202/0.001202, allocations: 105.8 kB / 19.69 MB, free: 2.258 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.001436/0.001436, allocations: 216.2 kB / 23.01 MB, free: 5.113 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.455/1.455, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.209/3.209, allocations: 0.505 GB / 0.8108 GB, free: 22.17 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.Utilities.Time.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_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths") translateModel(Buildings.Utilities.Time.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_latest_Buildings.Utilities.Time.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.001979/0.001979, allocations: 77.42 kB / 1.178 GB, free: 17.01 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.339, allocations: 180.2 MB / 1.354 GB, free: 8.074 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.00291/0.3419, allocations: 1.551 MB / 1.356 GB, free: 6.516 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3432, allocations: 0.5485 MB / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.855e-05/0.3433, allocations: 0 / 1.356 GB, free: 5.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001069/0.3434, allocations: 7.875 kB / 1.356 GB, free: 5.961 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.3435, allocations: 35.62 kB / 1.356 GB, free: 5.926 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009062/0.3444, allocations: 318.2 kB / 1.356 GB, free: 5.617 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0006473/0.3451, allocations: 487.4 kB / 1.357 GB, free: 5.141 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.896e-05/0.3451, allocations: 4 kB / 1.357 GB, free: 5.137 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004926/0.3456, allocations: 275.7 kB / 1.357 GB, free: 4.867 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003721/0.346, allocations: 151.6 kB / 1.357 GB, free: 4.719 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.512e-05/0.3461, allocations: 28 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.3462, allocations: 28 kB / 1.357 GB, free: 4.664 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3463, allocations: 115.7 kB / 1.357 GB, free: 4.551 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0001939/0.3465, allocations: 187 kB / 1.358 GB, free: 4.367 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0004832/0.347, allocations: 430.3 kB / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.347, allocations: 0 / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.254e-06/0.347, allocations: 0 / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.338e-05/0.347, allocations: 0 / 1.358 GB, free: 3.945 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001431/0.3484, allocations: 0.8067 MB / 1.359 GB, free: 3.066 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/0.3485, allocations: 12.03 kB / 1.359 GB, free: 3.055 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001469/0.3486, allocations: 48.7 kB / 1.359 GB, free: 3.008 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005059/0.3491, allocations: 256.8 kB / 1.359 GB, free: 2.734 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.578e-05/0.3492, allocations: 16.38 kB / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.707e-05/0.3493, allocations: 24.36 kB / 1.359 GB, free: 2.695 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000954/0.3502, allocations: 220.5 kB / 1.359 GB, free: 2.477 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3502, allocations: 4.188 kB / 1.359 GB, free: 2.473 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.31e-05/0.3503, allocations: 11.88 kB / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.3503, allocations: 0 / 1.359 GB, free: 2.461 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006845/0.351, allocations: 95.92 kB / 1.36 GB, free: 2.367 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000502/0.3515, allocations: 364.3 kB / 1.36 GB, free: 1.969 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009553/0.3524, allocations: 170.6 kB / 1.36 GB, free: 1.793 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006662/0.3531, allocations: 100.8 kB / 1.36 GB, free: 1.691 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 3.338e-05/0.3531, allocations: 4 kB / 1.36 GB, free: 1.688 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009387/0.354, allocations: 227.1 kB / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of pre-optimization done (n=16): time 1.753e-06/0.3541, allocations: 0 / 1.36 GB, free: 1.453 MB / 1.045 GB Notification: Performance of matching and sorting (n=16): time 0.002374/0.3564, allocations: 486.7 kB / 1.361 GB, free: 0.9727 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.042e-05/0.3565, allocations: 63.39 kB / 1.361 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004939/0.357, allocations: 413.9 kB / 1.361 GB, free: 496 kB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 7.004e-05/0.3571, allocations: 41.7 kB / 1.361 GB, free: 448 kB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 9.791e-05/0.3572, allocations: 97.44 kB / 1.361 GB, free: 348 kB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.984e-05/0.3572, allocations: 39.69 kB / 1.361 GB, free: 308 kB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002182/0.3574, allocations: 129.5 kB / 1.362 GB, free: 172 kB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001805/0.3576, allocations: 322.8 kB / 1.362 GB, free: 15.84 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002551/0.3579, allocations: 115.9 kB / 1.362 GB, free: 15.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002852/0.3582, allocations: 181.7 kB / 1.362 GB, free: 15.53 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003984/0.3586, allocations: 271 kB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.3586, allocations: 0 / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008377/0.3594, allocations: 494.5 kB / 1.363 GB, free: 14.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.3595, allocations: 91.31 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.3595, allocations: 3.938 kB / 1.363 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/0.3595, allocations: 4 kB / 1.363 GB, free: 14.62 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3597, allocations: 27.91 kB / 1.363 GB, free: 14.6 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.938e-06/0.3597, allocations: 4 kB / 1.363 GB, free: 14.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004503/0.3602, allocations: 64.03 kB / 1.363 GB, free: 14.53 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.381e-05/0.3603, allocations: 55.98 kB / 1.363 GB, free: 14.48 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.firstHourSampling,$PRE.calTim.firstHourSampling,calTim.firstDaySampling,$PRE.calTim.firstDaySampling,calTim.daySampleTrigger,$whenCondition1,calTim.hourSampleTrigger,$whenCondition2,calTim.epochLastMonth,$PRE.calTim.epochLastMonth,calTim.yearIndex,$PRE.calTim.yearIndex,calTim.daysSinceEpoch,$PRE.calTim.daysSinceEpoch,calTim.weekDay,$PRE.calTim.weekDay,calTim.hour,$PRE.calTim.hour,calTim.day,$PRE.calTim.day,calTim.month,$PRE.calTim.month,calTim.year,$PRE.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.0002364/0.3605, allocations: 195.7 kB / 1.363 GB, free: 14.27 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.39e-05/0.3606, allocations: 47.66 kB / 1.363 GB, free: 14.23 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.3606, allocations: 39.69 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.3606, allocations: 4 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.3606, allocations: 0 / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.3606, allocations: 3.984 kB / 1.363 GB, free: 14.18 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/0.3627, allocations: 0.7161 MB / 1.364 GB, free: 13.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3627, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.38e-05/0.3627, allocations: 4 kB / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3627, allocations: 0 / 1.364 GB, free: 13.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.485e-05/0.3628, allocations: 19.97 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.3628, allocations: 0 / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.3628, allocations: 4 kB / 1.364 GB, free: 13.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00153/0.3643, allocations: 485.2 kB / 1.365 GB, free: 12.89 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002837/0.3646, allocations: 133.5 kB / 1.365 GB, free: 12.76 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.317e-05/0.3646, allocations: 15.98 kB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004396/0.3651, allocations: 27.97 kB / 1.365 GB, free: 12.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3651, allocations: 11.98 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.369e-05/0.3652, allocations: 63.97 kB / 1.365 GB, free: 12.64 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0003021/0.3655, allocations: 299 kB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.3655, allocations: 0 / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003484/0.3658, allocations: 63.98 kB / 1.365 GB, free: 12.29 MB / 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.hourSampleTrigger,calTim.daySampleTrigger,$whenCondition2,$whenCondition1,calTim.year,calTim.month,calTim.day,calTim.hour,calTim.weekDay,calTim.daysSinceEpoch,calTim.yearIndex,calTim.epochLastMonth,calTim.firstHourSampling,calTim.firstDaySampling) * Number of discrete states: 9 (calTim.firstDaySampling,calTim.daysSinceEpoch,calTim.weekDay,calTim.yearIndex,calTim.year,calTim.epochLastMonth,calTim.month,calTim.firstHourSampling,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.0001516/0.366, allocations: 108.9 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001175/0.3672, allocations: 414.4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.3672, allocations: 0 / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007053/0.3679, allocations: 106.2 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.3683, allocations: 33.94 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001458/0.3697, allocations: 0.5993 MB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.3701, allocations: 0.7669 MB / 1.367 GB, free: 10.18 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.909e-05/0.3702, allocations: 19.44 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/0.3702, allocations: 0 / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of Templates: time 0.005966/0.3761, allocations: 3.673 MB / 1.371 GB, free: 6.426 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.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: 11.084469947993057]