Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Time.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.001684/0.001684, allocations: 78.33 kB / 19.76 MB, free: 2.031 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.001944/0.001944, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.476/1.476, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.855/2.855, allocations: 394.2 MB / 0.6387 GB, free: 11.91 MB / 0.6075 GB " [Timeout remaining time 177] 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.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.Utilities.Time.Validation.CalendarTimeMonthsPlus") translateModel(Buildings.Utilities.Time.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.Utilities.Time.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.002111/0.002111, allocations: 63.91 kB / 1.009 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8835/0.8856, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.00227/0.8879, allocations: 1.537 MB / 1.188 GB, free: 15.13 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.8891, allocations: 0.5296 MB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.221e-05/0.8891, allocations: 0.9375 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 9.34e-05/0.8892, allocations: 7.188 kB / 1.189 GB, free: 14.79 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.8893, allocations: 29.14 kB / 1.189 GB, free: 14.77 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007394/0.8901, allocations: 312.4 kB / 1.189 GB, free: 14.61 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0005025/0.8906, allocations: 487.8 kB / 1.189 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.016e-05/0.8906, allocations: 11 kB / 1.189 GB, free: 14.41 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003714/0.891, allocations: 289 kB / 1.19 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002936/0.8913, allocations: 135 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.8914, allocations: 26.53 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.652e-05/0.8915, allocations: 26.88 kB / 1.19 GB, free: 14.27 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.8916, allocations: 115.6 kB / 1.19 GB, free: 14.23 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001682/0.8918, allocations: 153.3 kB / 1.19 GB, free: 14.16 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004332/0.8922, allocations: 430.5 kB / 1.191 GB, free: 14 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.8922, allocations: 0 / 1.191 GB, free: 14 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8922, allocations: 5.781 kB / 1.191 GB, free: 13.99 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.269e-05/0.8922, allocations: 0 / 1.191 GB, free: 13.99 MB / 1.076 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.001102/0.8933, allocations: 0.7945 MB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.8934, allocations: 10.31 kB / 1.191 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001178/0.8935, allocations: 52.8 kB / 1.191 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003297/0.8938, allocations: 266.8 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/0.8939, allocations: 17.83 kB / 1.192 GB, free: 13.11 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.603e-05/0.8939, allocations: 29.52 kB / 1.192 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001001/0.895, allocations: 229.5 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.895, allocations: 192 / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.895, allocations: 6.453 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.895, allocations: 2.281 kB / 1.192 GB, free: 13.04 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007662/0.8958, allocations: 113.3 kB / 1.192 GB, free: 13.02 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003459/0.8961, allocations: 281.7 kB / 1.192 GB, free: 12.84 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00106/0.8972, allocations: 184.5 kB / 1.192 GB, free: 12.79 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007477/0.8979, allocations: 113.2 kB / 1.193 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.8979, allocations: 7.172 kB / 1.193 GB, free: 12.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009267/0.8989, allocations: 236.1 kB / 1.193 GB, free: 12.69 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.443e-06/0.8989, allocations: 0 / 1.193 GB, free: 12.69 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002587/0.9014, allocations: 0.5276 MB / 1.193 GB, free: 12.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.918e-05/0.9015, allocations: 62.56 kB / 1.193 GB, free: 12.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.9019, allocations: 411.2 kB / 1.194 GB, free: 12.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.9019, allocations: 40.03 kB / 1.194 GB, free: 12.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.693e-05/0.902, allocations: 95.66 kB / 1.194 GB, free: 12.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.851e-05/0.902, allocations: 49.28 kB / 1.194 GB, free: 12.14 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001924/0.9022, allocations: 130.5 kB / 1.194 GB, free: 12.09 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 4.549e-05/0.9022, allocations: 321.8 kB / 1.194 GB, free: 11.77 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.9025, allocations: 192.1 kB / 1.195 GB, free: 11.67 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003057/0.9028, allocations: 249 kB / 1.195 GB, free: 11.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003104/0.9032, allocations: 275.1 kB / 1.195 GB, free: 11.3 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.9032, allocations: 5.438 kB / 1.195 GB, free: 11.3 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007981/0.904, allocations: 0.5552 MB / 1.196 GB, free: 11.02 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 6.327e-05/0.904, allocations: 84.75 kB / 1.196 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.904, allocations: 1.375 kB / 1.196 GB, free: 10.95 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.904, allocations: 6.906 kB / 1.196 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.9042, allocations: 23.8 kB / 1.196 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.9042, allocations: 3.312 kB / 1.196 GB, free: 10.94 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005047/0.9047, allocations: 69.67 kB / 1.196 GB, free: 10.92 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.823e-05/0.9048, allocations: 63.25 kB / 1.196 GB, free: 10.92 MB / 1.076 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.0001908/0.905, allocations: 192.1 kB / 1.196 GB, free: 10.78 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.9051, allocations: 36.56 kB / 1.196 GB, free: 10.76 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.205e-05/0.9051, allocations: 46.34 kB / 1.196 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.9051, allocations: 1.562 kB / 1.196 GB, free: 10.74 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.9052, allocations: 10.14 kB / 1.196 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.9052, allocations: 5.172 kB / 1.196 GB, free: 10.73 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.9073, allocations: 0.7104 MB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.9073, allocations: 4.594 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.618e-05/0.9074, allocations: 5.125 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.937e-06/0.9074, allocations: 5.922 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-05/0.9074, allocations: 18.19 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9074, allocations: 1.953 kB / 1.197 GB, free: 10.39 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.9074, allocations: 3.938 kB / 1.197 GB, free: 10.38 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.9092, allocations: 0.4984 MB / 1.197 GB, free: 10.18 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.9094, allocations: 141.1 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.05e-05/0.9095, allocations: 11.36 kB / 1.197 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004846/0.91, allocations: 35 kB / 1.198 GB, free: 10.12 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/0.91, allocations: 12.33 kB / 1.198 GB, free: 10.11 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.361e-05/0.9101, allocations: 56.8 kB / 1.198 GB, free: 10.11 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000299/0.9104, allocations: 294.4 kB / 1.198 GB, free: 9.977 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.9104, allocations: 0 / 1.198 GB, free: 9.977 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003792/0.9108, allocations: 66.39 kB / 1.198 GB, free: 9.973 MB / 1.076 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.0001145/0.9109, allocations: 124.8 kB / 1.198 GB, free: 9.863 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001269/0.9122, allocations: 487.7 kB / 1.199 GB, free: 9.605 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.9122, allocations: 0 / 1.199 GB, free: 9.605 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.9129, allocations: 132.9 kB / 1.199 GB, free: 9.582 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003609/0.9133, allocations: 26.59 kB / 1.199 GB, free: 9.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.9147, allocations: 0.568 MB / 1.199 GB, free: 9.266 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/0.9148, allocations: 164.7 kB / 1.199 GB, free: 9.184 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.777e-05/0.9149, allocations: 15.25 kB / 1.199 GB, free: 9.176 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.061e-05/0.9149, allocations: 17.8 kB / 1.199 GB, free: 9.168 MB / 1.076 GB Notification: Performance of SimCode: time 3.8e-07/0.9149, allocations: 0 / 1.199 GB, free: 9.168 MB / 1.076 GB Notification: Performance of Templates: time 0.01029/0.9252, allocations: 6.05 MB / 1.205 GB, free: 7.938 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.Time.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: 8.788751899031922]