Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.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.0008252/0.0008252, allocations: 76.55 kB / 19.93 MB, free: 4.617 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.0007714/0.0007714, allocations: 177.9 kB / 23.22 MB, free: 1.332 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 0.8892/0.8892, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.617/1.617, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] 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.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") translateModel(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus,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.CalendarTimeMonthsMinus") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.084e-05/2.252e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.023 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus): time 0.002061/0.002084, allocations: 1.514 MB / 0.9532 GB, free: 1.492 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001038/0.003122, allocations: 0.5427 MB / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.796e-05/0.00318, allocations: 0 / 0.9537 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.339e-05/0.003273, allocations: 11.86 kB / 0.9537 GB, free: 0.9414 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.003373, allocations: 27.84 kB / 0.9537 GB, free: 0.9141 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006288/0.004002, allocations: 322.8 kB / 0.954 GB, free: 0.6016 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0003894/0.004391, allocations: 491.4 kB / 0.9545 GB, free: 124 kB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 3.969e-05/0.004431, allocations: 4 kB / 0.9545 GB, free: 120 kB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000348/0.004779, allocations: 363.6 kB / 0.9549 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001864/0.004965, allocations: 123.7 kB / 0.955 GB, free: 15.64 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 4.808e-05/0.005013, allocations: 28 kB / 0.955 GB, free: 15.61 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 4.089e-05/0.005054, allocations: 28 kB / 0.955 GB, free: 15.59 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-05/0.005154, allocations: 119.7 kB / 0.9552 GB, free: 15.47 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 9.695e-05/0.005251, allocations: 123.7 kB / 0.9553 GB, free: 15.35 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0003318/0.005583, allocations: 470.7 kB / 0.9557 GB, free: 14.89 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 1.954e-06/0.005585, allocations: 7.938 kB / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.413e-06/0.005586, allocations: 0 / 0.9557 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.005591, allocations: 0 / 0.9557 GB, free: 14.88 MB / 0.9167 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.0008694/0.00646, allocations: 0.7989 MB / 0.9565 GB, free: 14.01 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.006498, allocations: 8.031 kB / 0.9565 GB, free: 14 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.006605, allocations: 52.7 kB / 0.9566 GB, free: 13.95 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002471/0.006852, allocations: 252 kB / 0.9568 GB, free: 13.68 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.257e-05/0.006885, allocations: 16.36 kB / 0.9568 GB, free: 13.66 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.685e-05/0.006932, allocations: 32.36 kB / 0.9568 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005181/0.00745, allocations: 233.9 kB / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.007457, allocations: 192 / 0.9571 GB, free: 13.4 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.715e-05/0.007474, allocations: 4.375 kB / 0.9571 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.007479, allocations: 384 / 0.9571 GB, free: 13.39 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003468/0.007826, allocations: 115.8 kB / 0.9572 GB, free: 13.28 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002547/0.008081, allocations: 289 kB / 0.9575 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004886/0.008569, allocations: 186.5 kB / 0.9576 GB, free: 12.78 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000334/0.008903, allocations: 119.9 kB / 0.9578 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.008923, allocations: 0 / 0.9578 GB, free: 12.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004533/0.009376, allocations: 246.1 kB / 0.958 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=16): time 1.032e-06/0.009377, allocations: 0 / 0.958 GB, free: 12.41 MB / 0.9167 GB Notification: Performance of matching and sorting (n=16): time 0.001209/0.01059, allocations: 0.5167 MB / 0.9585 GB, free: 11.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.507e-05/0.01062, allocations: 59.41 kB / 0.9586 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002565/0.01088, allocations: 413.8 kB / 0.9589 GB, free: 11.4 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 3.348e-05/0.01091, allocations: 41.69 kB / 0.959 GB, free: 11.35 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.01096, allocations: 101.4 kB / 0.9591 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 3.371e-05/0.01099, allocations: 43.69 kB / 0.9591 GB, free: 11.21 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.01111, allocations: 125.5 kB / 0.9592 GB, free: 11.08 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.567e-05/0.01119, allocations: 322.8 kB / 0.9596 GB, free: 10.75 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001928/0.01138, allocations: 191.3 kB / 0.9597 GB, free: 10.55 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002036/0.01158, allocations: 249.2 kB / 0.96 GB, free: 10.28 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.0118, allocations: 271.5 kB / 0.9602 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.023e-06/0.01181, allocations: 0 / 0.9602 GB, free: 9.98 MB / 0.9167 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005139/0.01232, allocations: 0.5625 MB / 0.9608 GB, free: 9.387 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.718e-05/0.01237, allocations: 79.38 kB / 0.9609 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01237, allocations: 7.938 kB / 0.9609 GB, free: 9.289 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.327e-05/0.01239, allocations: 4 kB / 0.9609 GB, free: 9.285 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.202e-05/0.01248, allocations: 19.92 kB / 0.9609 GB, free: 9.266 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.143e-06/0.01249, allocations: 7.938 kB / 0.9609 GB, free: 9.258 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002278/0.01271, allocations: 71.98 kB / 0.961 GB, free: 9.188 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.596e-05/0.01277, allocations: 63.97 kB / 0.961 GB, free: 9.125 MB / 0.9167 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.0001384/0.01291, allocations: 191.7 kB / 0.9612 GB, free: 8.93 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.325e-05/0.01294, allocations: 39.77 kB / 0.9612 GB, free: 8.891 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.01299, allocations: 47.61 kB / 0.9613 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.01299, allocations: 0 / 0.9613 GB, free: 8.848 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.013, allocations: 4 kB / 0.9613 GB, free: 8.844 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.013, allocations: 3.938 kB / 0.9613 GB, free: 8.84 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001484/0.01448, allocations: 0.709 MB / 0.962 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.01449, allocations: 0 / 0.962 GB, free: 8.09 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.698e-05/0.01451, allocations: 11.98 kB / 0.962 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.01452, allocations: 0 / 0.962 GB, free: 8.078 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.01455, allocations: 19.92 kB / 0.962 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.314e-06/0.01455, allocations: 0 / 0.962 GB, free: 8.059 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.01455, allocations: 4 kB / 0.962 GB, free: 8.055 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001201/0.01575, allocations: 0.5021 MB / 0.9625 GB, free: 7.539 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002273/0.01598, allocations: 137.5 kB / 0.9626 GB, free: 7.402 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.689e-05/0.01604, allocations: 15.94 kB / 0.9627 GB, free: 7.387 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003013/0.01634, allocations: 35.95 kB / 0.9627 GB, free: 7.352 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.792e-05/0.01637, allocations: 7.984 kB / 0.9627 GB, free: 7.344 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.994e-05/0.01643, allocations: 59.98 kB / 0.9628 GB, free: 7.285 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0002516/0.01668, allocations: 299 kB / 0.963 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of sort global known variables: time 9e-08/0.01668, allocations: 0 / 0.963 GB, free: 6.996 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0003328/0.01701, allocations: 67.98 kB / 0.9631 GB, free: 6.93 MB / 0.9167 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.0001165/0.01713, allocations: 121.4 kB / 0.9632 GB, free: 6.801 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0009196/0.01805, allocations: 493.8 kB / 0.9637 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01805, allocations: 0 / 0.9637 GB, free: 6.281 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0004931/0.01854, allocations: 128.3 kB / 0.9638 GB, free: 6.156 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003133/0.01885, allocations: 33.64 kB / 0.9639 GB, free: 6.125 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.01996, allocations: 0.6102 MB / 0.9644 GB, free: 5.48 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001374/0.0201, allocations: 159 kB / 0.9646 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.933e-05/0.02015, allocations: 24.48 kB / 0.9646 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of SimCode: time 4.21e-07/0.02015, allocations: 0 / 0.9646 GB, free: 5.277 MB / 0.9167 GB Notification: Performance of Templates: time 0.005013/0.02516, allocations: 3.689 MB / 0.9682 GB, free: 1.531 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.sim & ./Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Validation_CalendarTimeMonthsMinus.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Validation.CalendarTimeMonthsMinus.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,calTim.year,calTim.month,calTim.day,calTim.weekDay,calTim.hour,calTim.minute Variables in the result:calTim.day,calTim.hour,calTim.minute,calTim.month,calTim.weekDay,calTim.year,time [Calling sys.exit(0), Time elapsed: 6.364815440960228]