Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001999/0.001999, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.002607/0.002607, allocations: 161.7 kB / 23.55 MB, free: 0.8633 MB / 18.57 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: 177.1 MB / 203.9 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.726/2.726, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.7863 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.786e-05, allocations: 7.312 kB / 0.7863 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003011/0.003039, allocations: 1.53 MB / 0.7878 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001465/0.004504, allocations: 0.5325 MB / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.004574, allocations: 0 / 0.7883 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.000116/0.00469, allocations: 8.453 kB / 0.7884 GB, free: 10.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.004814, allocations: 28.62 kB / 0.7884 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009458/0.00576, allocations: 316.8 kB / 0.7887 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006639/0.006424, allocations: 491.4 kB / 0.7892 GB, free: 9.992 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.386e-05/0.006467, allocations: 9.203 kB / 0.7892 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006575/0.007125, allocations: 363.5 kB / 0.7895 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00035/0.007475, allocations: 133.1 kB / 0.7896 GB, free: 9.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.007587, allocations: 24 kB / 0.7897 GB, free: 9.477 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 8.866e-05/0.007676, allocations: 28 kB / 0.7897 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001553/0.007831, allocations: 115.7 kB / 0.7898 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002001/0.008031, allocations: 131.2 kB / 0.7899 GB, free: 9.211 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006269/0.008658, allocations: 466.6 kB / 0.7904 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.008661, allocations: 0 / 0.7904 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.008662, allocations: 0 / 0.7904 GB, free: 8.754 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.366e-05/0.008676, allocations: 4 kB / 0.7904 GB, free: 8.75 MB / 0.7448 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.001747/0.01042, allocations: 0.7873 MB / 0.7911 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.01047, allocations: 8.031 kB / 0.7911 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001847/0.01065, allocations: 60.69 kB / 0.7912 GB, free: 7.824 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004453/0.01109, allocations: 268.6 kB / 0.7915 GB, free: 7.539 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.43e-05/0.01115, allocations: 16.38 kB / 0.7915 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.614e-05/0.01124, allocations: 28.95 kB / 0.7915 GB, free: 7.496 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.01234, allocations: 230.4 kB / 0.7917 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.01235, allocations: 1.469 kB / 0.7917 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.224e-05/0.01238, allocations: 4.375 kB / 0.7917 GB, free: 7.266 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.154e-06/0.01239, allocations: 4.375 kB / 0.7917 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00087/0.01326, allocations: 117.8 kB / 0.7918 GB, free: 7.148 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004642/0.01372, allocations: 285 kB / 0.7921 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001173/0.01489, allocations: 180.6 kB / 0.7923 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008407/0.01574, allocations: 122.1 kB / 0.7924 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.508e-05/0.01576, allocations: 0.625 kB / 0.7924 GB, free: 6.535 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001076/0.01684, allocations: 241.1 kB / 0.7926 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=16): time 1.532e-06/0.01684, allocations: 0 / 0.7926 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16): time 0.00288/0.01972, allocations: 0.531 MB / 0.7932 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.01978, allocations: 59.41 kB / 0.7932 GB, free: 5.688 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005297/0.02031, allocations: 414.6 kB / 0.7936 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.054e-05/0.02039, allocations: 37.7 kB / 0.7936 GB, free: 5.234 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.0205, allocations: 98.16 kB / 0.7937 GB, free: 5.137 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.026e-05/0.02056, allocations: 43.69 kB / 0.7938 GB, free: 5.094 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002295/0.02079, allocations: 126 kB / 0.7939 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.02098, allocations: 323.9 kB / 0.7942 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003709/0.02135, allocations: 187.3 kB / 0.7944 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004063/0.02175, allocations: 258.5 kB / 0.7946 GB, free: 4.16 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004389/0.02219, allocations: 271.1 kB / 0.7949 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02219, allocations: 0 / 0.7949 GB, free: 3.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001104/0.0233, allocations: 0.5915 MB / 0.7955 GB, free: 3.246 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001043/0.0234, allocations: 88.47 kB / 0.7955 GB, free: 3.152 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.02342, allocations: 7.984 kB / 0.7956 GB, free: 3.145 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.104e-05/0.02345, allocations: 4 kB / 0.7956 GB, free: 3.141 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001842/0.02363, allocations: 19.92 kB / 0.7956 GB, free: 3.121 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.669e-05/0.02365, allocations: 11.92 kB / 0.7956 GB, free: 3.109 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.02421, allocations: 69.28 kB / 0.7957 GB, free: 3.043 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001165/0.02432, allocations: 63.98 kB / 0.7957 GB, free: 2.98 MB / 0.7448 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.0002744/0.0246, allocations: 193.8 kB / 0.7959 GB, free: 2.785 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.0247, allocations: 47.75 kB / 0.7959 GB, free: 2.738 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.214e-05/0.02478, allocations: 39.69 kB / 0.796 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.02478, allocations: 0 / 0.796 GB, free: 2.691 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.255e-06/0.02479, allocations: 4 kB / 0.796 GB, free: 2.688 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.0248, allocations: 4.719 kB / 0.796 GB, free: 2.684 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0025/0.0273, allocations: 0.7112 MB / 0.7967 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.0273, allocations: 0.9062 kB / 0.7967 GB, free: 1.934 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.883e-05/0.02734, allocations: 4 kB / 0.7967 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.02735, allocations: 1 kB / 0.7967 GB, free: 1.93 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.67e-05/0.02739, allocations: 23.91 kB / 0.7967 GB, free: 1.906 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.0274, allocations: 4 kB / 0.7967 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.0274, allocations: 1.031 kB / 0.7967 GB, free: 1.902 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002013/0.02941, allocations: 0.508 MB / 0.7972 GB, free: 1.383 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002885/0.0297, allocations: 130.7 kB / 0.7973 GB, free: 1.258 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.605e-05/0.02978, allocations: 19.92 kB / 0.7974 GB, free: 1.238 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005325/0.03032, allocations: 36.16 kB / 0.7974 GB, free: 1.203 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/0.03037, allocations: 15.92 kB / 0.7974 GB, free: 1.188 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.628e-05/0.03046, allocations: 59.97 kB / 0.7975 GB, free: 1.129 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006407/0.0311, allocations: 295.1 kB / 0.7978 GB, free: 0.8398 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.21e-07/0.0311, allocations: 3.938 kB / 0.7978 GB, free: 0.8359 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004225/0.03152, allocations: 63.98 kB / 0.7978 GB, free: 0.7734 MB / 0.7448 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.0001952/0.03172, allocations: 115.2 kB / 0.7979 GB, free: 0.6523 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001548/0.03327, allocations: 493.8 kB / 0.7984 GB, free: 136 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.03327, allocations: 4 kB / 0.7984 GB, free: 132 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0008461/0.03412, allocations: 115.9 kB / 0.7985 GB, free: 16 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.03457, allocations: 54.92 kB / 0.7986 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001795/0.03636, allocations: 0.5912 MB / 0.7991 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002208/0.03658, allocations: 162.8 kB / 0.7993 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.338e-05/0.03666, allocations: 13.14 kB / 0.7993 GB, free: 15.15 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.308e-05/0.03671, allocations: 16.5 kB / 0.7993 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of SimCode: time 8.52e-07/0.03671, allocations: 4 kB / 0.7993 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of Templates: time 0.01237/0.04908, allocations: 5.892 MB / 0.8051 GB, free: 9.203 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 7.7457199189811945]