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.001728/0.001728, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002083/0.002083, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.526/1.526, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.389/3.389, allocations: 0.5107 GB / 0.8166 GB, free: 17.79 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.002279/0.002279, allocations: 67.2 kB / 1.187 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3436, allocations: 181.9 MB / 1.365 GB, free: 13.57 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonths): time 0.002995/0.3466, allocations: 1.522 MB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3479, allocations: 0.5267 MB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.886e-05/0.348, allocations: 4 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.753e-05/0.3481, allocations: 7.875 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3482, allocations: 35.62 kB / 1.367 GB, free: 11.46 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008647/0.349, allocations: 309.2 kB / 1.367 GB, free: 11.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0005981/0.3496, allocations: 483.4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.895e-05/0.3497, allocations: 4 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004555/0.3501, allocations: 283.6 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003465/0.3505, allocations: 135.6 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001131/0.3506, allocations: 28 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.405e-05/0.3507, allocations: 24 kB / 1.368 GB, free: 10.22 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001388/0.3508, allocations: 119.6 kB / 1.368 GB, free: 10.1 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.000192/0.351, allocations: 159.3 kB / 1.368 GB, free: 9.945 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0005028/0.3515, allocations: 426.4 kB / 1.369 GB, free: 9.527 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.379e-06/0.3515, allocations: 0 / 1.369 GB, free: 9.527 MB / 1.061 GB Notification: Performance of FrontEnd: time 3.206e-06/0.3515, allocations: 7.984 kB / 1.369 GB, free: 9.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.438e-06/0.3515, allocations: 0 / 1.369 GB, free: 9.52 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001332/0.3529, allocations: 0.795 MB / 1.369 GB, free: 8.652 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3529, allocations: 8.031 kB / 1.369 GB, free: 8.645 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001312/0.353, allocations: 52.7 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004575/0.3535, allocations: 264.7 kB / 1.37 GB, free: 8.312 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.3535, allocations: 12.36 kB / 1.37 GB, free: 8.301 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.099e-05/0.3536, allocations: 40.3 kB / 1.37 GB, free: 8.262 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009477/0.3546, allocations: 208.6 kB / 1.37 GB, free: 8.055 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.3546, allocations: 4.125 kB / 1.37 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.685e-05/0.3546, allocations: 7.938 kB / 1.37 GB, free: 8.043 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3546, allocations: 7.984 kB / 1.37 GB, free: 8.035 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007352/0.3554, allocations: 103.8 kB / 1.37 GB, free: 7.934 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004072/0.3558, allocations: 277.1 kB / 1.37 GB, free: 7.633 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001024/0.3568, allocations: 170.6 kB / 1.37 GB, free: 7.457 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000714/0.3575, allocations: 96.78 kB / 1.37 GB, free: 7.359 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3575, allocations: 4 kB / 1.37 GB, free: 7.355 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009531/0.3585, allocations: 226.1 kB / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 1.824e-06/0.3585, allocations: 0 / 1.371 GB, free: 7.125 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.002524/0.361, allocations: 496.9 kB / 1.371 GB, free: 6.633 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.324e-05/0.3611, allocations: 55.41 kB / 1.371 GB, free: 6.566 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004748/0.3615, allocations: 413.9 kB / 1.372 GB, free: 6.148 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.922e-05/0.3616, allocations: 37.7 kB / 1.372 GB, free: 6.105 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.784e-05/0.3617, allocations: 97.44 kB / 1.372 GB, free: 6.008 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.328e-05/0.3617, allocations: 43.67 kB / 1.372 GB, free: 5.965 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002109/0.3619, allocations: 125.5 kB / 1.372 GB, free: 5.836 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001522/0.3621, allocations: 322.8 kB / 1.372 GB, free: 5.512 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003335/0.3624, allocations: 195.3 kB / 1.372 GB, free: 5.309 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003644/0.3628, allocations: 245.8 kB / 1.373 GB, free: 5.035 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.3632, allocations: 278.7 kB / 1.373 GB, free: 4.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3632, allocations: 0 / 1.373 GB, free: 4.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009335/0.3641, allocations: 0.5491 MB / 1.373 GB, free: 4.152 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 9.014e-05/0.3642, allocations: 83.38 kB / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3642, allocations: 0 / 1.374 GB, free: 4.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.937e-05/0.3643, allocations: 11.88 kB / 1.374 GB, free: 4.047 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001609/0.3644, allocations: 19.98 kB / 1.374 GB, free: 4.027 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.3644, allocations: 4 kB / 1.374 GB, free: 4.023 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004714/0.3649, allocations: 59.84 kB / 1.374 GB, free: 3.965 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-05/0.365, allocations: 63.91 kB / 1.374 GB, free: 3.902 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.000237/0.3652, allocations: 187.8 kB / 1.374 GB, free: 3.711 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.427e-05/0.3653, allocations: 39.77 kB / 1.374 GB, free: 3.672 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.816e-05/0.3654, allocations: 47.61 kB / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.3654, allocations: 0 / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3654, allocations: 0 / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3654, allocations: 0 / 1.374 GB, free: 3.629 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002218/0.3676, allocations: 0.6816 MB / 1.375 GB, free: 2.906 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/0.3676, allocations: 3.938 kB / 1.375 GB, free: 2.902 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.715e-05/0.3676, allocations: 7.984 kB / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.267e-06/0.3676, allocations: 0 / 1.375 GB, free: 2.895 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/0.3677, allocations: 23.92 kB / 1.375 GB, free: 2.871 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3677, allocations: 3.938 kB / 1.375 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.3677, allocations: 0 / 1.375 GB, free: 2.867 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001738/0.3694, allocations: 485.7 kB / 1.375 GB, free: 2.379 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003228/0.3697, allocations: 141.4 kB / 1.375 GB, free: 2.238 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.458e-05/0.3698, allocations: 16 kB / 1.375 GB, free: 2.223 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004586/0.3703, allocations: 39.95 kB / 1.375 GB, free: 2.184 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.3703, allocations: 7.984 kB / 1.375 GB, free: 2.176 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.059e-05/0.3704, allocations: 55.98 kB / 1.375 GB, free: 2.121 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.000323/0.3707, allocations: 295.1 kB / 1.376 GB, free: 1.832 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3707, allocations: 0 / 1.376 GB, free: 1.832 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003758/0.3711, allocations: 63.98 kB / 1.376 GB, free: 1.77 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.0001572/0.3712, allocations: 116.1 kB / 1.376 GB, free: 1.645 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.001316/0.3725, allocations: 477.9 kB / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3725, allocations: 0 / 1.376 GB, free: 1.141 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0007478/0.3733, allocations: 115.8 kB / 1.376 GB, free: 1.027 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003558/0.3736, allocations: 29.58 kB / 1.376 GB, free: 1 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001528/0.3752, allocations: 0.5954 MB / 1.377 GB, free: 384 kB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001778/0.3754, allocations: 159 kB / 1.377 GB, free: 204 kB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/0.3754, allocations: 19.42 kB / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/0.3754, allocations: 0 / 1.377 GB, free: 184 kB / 1.061 GB Notification: Performance of Templates: time 0.00664/0.382, allocations: 3.69 MB / 1.381 GB, free: 12.45 MB / 1.076 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.557146340142936]