Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001966/0.001966, allocations: 104.7 kB / 16.45 MB, free: 6.5 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.002304/0.002304, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.507/1.507, allocations: 230.6 MB / 252.8 MB, free: 8.961 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.289/3.289, allocations: 0.49 GB / 0.7916 GB, free: 33.56 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_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_12_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.002054/0.002054, allocations: 73.78 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3851/0.3872, allocations: 176.1 MB / 1.321 GB, free: 2.801 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003348/0.3905, allocations: 1.537 MB / 1.323 GB, free: 1.254 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001443/0.392, allocations: 0.5383 MB / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.329e-05/0.392, allocations: 0 / 1.323 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001075/0.3921, allocations: 11.86 kB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.3923, allocations: 31.84 kB / 1.323 GB, free: 0.6719 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008487/0.3931, allocations: 309.1 kB / 1.324 GB, free: 380 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0006778/0.3938, allocations: 495.3 kB / 1.324 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3939, allocations: 4 kB / 1.324 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003968/0.3943, allocations: 263.7 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003102/0.3946, allocations: 163.3 kB / 1.324 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 7.644e-05/0.3947, allocations: 24 kB / 1.324 GB, free: 15.44 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.559e-05/0.3948, allocations: 28 kB / 1.325 GB, free: 15.41 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001402/0.3949, allocations: 115.7 kB / 1.325 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002041/0.3951, allocations: 187 kB / 1.325 GB, free: 15.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006139/0.3957, allocations: 422.4 kB / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3957, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3957, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.3957, allocations: 0 / 1.325 GB, free: 14.7 MB / 1.029 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.001408/0.3971, allocations: 0.882 MB / 1.326 GB, free: 13.73 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.31e-05/0.3972, allocations: 15.92 kB / 1.326 GB, free: 13.71 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001403/0.3973, allocations: 56.69 kB / 1.326 GB, free: 13.66 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004499/0.3978, allocations: 318.5 kB / 1.326 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.484e-05/0.3978, allocations: 12.38 kB / 1.326 GB, free: 13.3 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.819e-05/0.3979, allocations: 28.36 kB / 1.326 GB, free: 13.27 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.399, allocations: 221.2 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.399, allocations: 192 / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.441e-05/0.399, allocations: 7.938 kB / 1.327 GB, free: 13.05 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.234e-06/0.399, allocations: 4 kB / 1.327 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008308/0.3999, allocations: 91.92 kB / 1.327 GB, free: 12.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004985/0.4004, allocations: 389.3 kB / 1.327 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.4015, allocations: 170.4 kB / 1.327 GB, free: 12.35 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008158/0.4024, allocations: 100.8 kB / 1.327 GB, free: 12.25 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.99e-05/0.4024, allocations: 4 kB / 1.327 GB, free: 12.24 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001071/0.4035, allocations: 226.3 kB / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.4035, allocations: 0 / 1.328 GB, free: 12.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=16): time 0.002947/0.4064, allocations: 485 kB / 1.328 GB, free: 11.53 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.257e-05/0.4065, allocations: 59.34 kB / 1.328 GB, free: 11.46 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000495/0.407, allocations: 421.9 kB / 1.329 GB, free: 11.04 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 7.148e-05/0.407, allocations: 37.7 kB / 1.329 GB, free: 11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.4071, allocations: 97.42 kB / 1.329 GB, free: 10.9 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 5.893e-05/0.4072, allocations: 43.69 kB / 1.329 GB, free: 10.86 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002224/0.4074, allocations: 121.5 kB / 1.329 GB, free: 10.73 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.4076, allocations: 326.8 kB / 1.329 GB, free: 10.4 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000281/0.4079, allocations: 119.9 kB / 1.329 GB, free: 10.29 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.4082, allocations: 169.9 kB / 1.329 GB, free: 10.1 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.4086, allocations: 279.1 kB / 1.33 GB, free: 9.793 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.4086, allocations: 4 kB / 1.33 GB, free: 9.789 MB / 1.029 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008866/0.4095, allocations: 490.2 kB / 1.33 GB, free: 9.293 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001411/0.4097, allocations: 91.31 kB / 1.33 GB, free: 9.191 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.088e-05/0.4097, allocations: 7.984 kB / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.4097, allocations: 0 / 1.33 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/0.4099, allocations: 27.91 kB / 1.33 GB, free: 9.156 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.828e-06/0.4099, allocations: 4.188 kB / 1.33 GB, free: 9.152 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005921/0.4105, allocations: 59.84 kB / 1.33 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-05/0.4106, allocations: 59.98 kB / 1.33 GB, free: 9.035 MB / 1.029 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.0003282/0.4109, allocations: 201.7 kB / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.897e-05/0.411, allocations: 43.66 kB / 1.331 GB, free: 8.789 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.773e-05/0.4111, allocations: 43.75 kB / 1.331 GB, free: 8.742 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.191e-06/0.4111, allocations: 4 kB / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4111, allocations: 0 / 1.331 GB, free: 8.738 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.4111, allocations: 3.984 kB / 1.331 GB, free: 8.734 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002403/0.4135, allocations: 0.7486 MB / 1.331 GB, free: 7.926 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.4135, allocations: 4 kB / 1.331 GB, free: 7.922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.732e-05/0.4135, allocations: 4 kB / 1.331 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.4135, allocations: 0 / 1.331 GB, free: 7.918 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.373e-05/0.4136, allocations: 19.97 kB / 1.331 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.073e-06/0.4136, allocations: 0 / 1.331 GB, free: 7.898 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.4136, allocations: 3.938 kB / 1.331 GB, free: 7.895 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001932/0.4155, allocations: 486.2 kB / 1.332 GB, free: 7.406 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/0.4158, allocations: 196.7 kB / 1.332 GB, free: 7.195 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.065e-05/0.4158, allocations: 12 kB / 1.332 GB, free: 7.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005015/0.4163, allocations: 31.95 kB / 1.332 GB, free: 7.152 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.012e-05/0.4164, allocations: 12 kB / 1.332 GB, free: 7.141 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.4165, allocations: 55.97 kB / 1.332 GB, free: 7.086 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003522/0.4168, allocations: 295.1 kB / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4168, allocations: 0 / 1.333 GB, free: 6.801 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004269/0.4173, allocations: 67.98 kB / 1.333 GB, free: 6.734 MB / 1.029 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.0001747/0.4174, allocations: 117.4 kB / 1.333 GB, free: 6.609 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001424/0.4188, allocations: 414.4 kB / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.4189, allocations: 0 / 1.333 GB, free: 6.18 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0008296/0.4197, allocations: 111.8 kB / 1.333 GB, free: 6.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4201, allocations: 33.84 kB / 1.333 GB, free: 6.035 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.4217, allocations: 0.5548 MB / 1.334 GB, free: 5.453 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004925/0.4222, allocations: 0.7707 MB / 1.335 GB, free: 4.652 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 6.619e-05/0.4223, allocations: 13.08 kB / 1.335 GB, free: 4.633 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.676e-05/0.4223, allocations: 19.44 kB / 1.335 GB, free: 4.617 MB / 1.029 GB Notification: Performance of SimCode: time 4.71e-07/0.4223, allocations: 0 / 1.335 GB, free: 4.617 MB / 1.029 GB Notification: Performance of Templates: time 0.01044/0.4328, allocations: 4.944 MB / 1.339 GB, free: 15.57 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.sim & ./Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsPlus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.280775882303715]