Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 114.8 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 203.4 kB / 22.18 MB, free: 5.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") translateModel(Buildings.Controls.OBC.CDL.Reals.Sources.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_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002079/0.002079, allocations: 75.88 kB / 1.109 GB, free: 6.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8014/0.8035, allocations: 168.7 MB / 1.274 GB, free: 4.535 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths): time 0.003354/0.8068, allocations: 1.752 MB / 1.276 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001562/0.8084, allocations: 0.6299 MB / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.8085, allocations: 0 / 1.276 GB, free: 2.145 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001055/0.8086, allocations: 15.8 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001484/0.8088, allocations: 39.72 kB / 1.276 GB, free: 2.09 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009616/0.8097, allocations: 364.2 kB / 1.277 GB, free: 1.734 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007589/0.8105, allocations: 0.6008 MB / 1.277 GB, free: 1.133 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.8106, allocations: 17.12 kB / 1.277 GB, free: 1.117 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00055/0.8111, allocations: 311.6 kB / 1.278 GB, free: 0.8125 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000383/0.8115, allocations: 163.3 kB / 1.278 GB, free: 0.6523 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.8116, allocations: 40 kB / 1.278 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.542e-05/0.8117, allocations: 44 kB / 1.278 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001485/0.8119, allocations: 127.6 kB / 1.278 GB, free: 456 kB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.8121, allocations: 215 kB / 1.278 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0006885/0.8128, allocations: 0.5982 MB / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.8128, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8128, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.259e-05/0.8128, allocations: 0 / 1.279 GB, free: 15.64 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.001595/0.8144, allocations: 0.917 MB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.8144, allocations: 12.03 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/0.8146, allocations: 60.59 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.8151, allocations: 338.5 kB / 1.28 GB, free: 14.19 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.664e-05/0.8152, allocations: 20.36 kB / 1.28 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.8153, allocations: 32.36 kB / 1.28 GB, free: 14.14 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001146/0.8164, allocations: 234 kB / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.8164, allocations: 192 / 1.28 GB, free: 13.91 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.416e-05/0.8165, allocations: 3.938 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.8165, allocations: 3.938 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.8173, allocations: 122.5 kB / 1.281 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001592/0.8189, allocations: 0.6682 MB / 1.281 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001167/0.8201, allocations: 182.4 kB / 1.281 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008112/0.8209, allocations: 108.8 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.8209, allocations: 0 / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001052/0.822, allocations: 231.1 kB / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.134e-06/0.822, allocations: 0 / 1.282 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002865/0.8248, allocations: 499.7 kB / 1.282 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.8249, allocations: 63.41 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005511/0.8254, allocations: 445.8 kB / 1.283 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.529e-05/0.8255, allocations: 37.7 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001137/0.8256, allocations: 113.3 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.933e-05/0.8257, allocations: 39.75 kB / 1.283 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002563/0.826, allocations: 141.4 kB / 1.283 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001702/0.8261, allocations: 322.8 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003493/0.8265, allocations: 135.9 kB / 1.283 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003899/0.8269, allocations: 201.9 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005117/0.8274, allocations: 293.2 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.639e-06/0.8274, allocations: 4 kB / 1.284 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.001077/0.8285, allocations: 0.5259 MB / 1.284 GB, free: 9.633 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.000123/0.8286, allocations: 103.4 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.8286, allocations: 0 / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.8286, allocations: 4 kB / 1.285 GB, free: 9.516 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001885/0.8288, allocations: 23.92 kB / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.8288, allocations: 0 / 1.285 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005685/0.8294, allocations: 64.03 kB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-05/0.8295, allocations: 55.98 kB / 1.285 GB, free: 9.375 MB / 0.9825 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.calTim.firstDaySampling,$PRE.calTim.calTim.firstDaySampling,calTim.calTim.firstHourSampling,$PRE.calTim.calTim.firstHourSampling,calTim.calTim.hourSampleTrigger,$whenCondition1,calTim.calTim.daySampleTrigger,$whenCondition2,calTim.calTim.epochLastMonth,$PRE.calTim.calTim.epochLastMonth,calTim.calTim.yearIndex,$PRE.calTim.calTim.yearIndex,calTim.calTim.daysSinceEpoch,$PRE.calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,$PRE.calTim.calTim.weekDay,calTim.calTim.hour,$PRE.calTim.calTim.hour,calTim.calTim.day,$PRE.calTim.calTim.day,calTim.calTim.month,$PRE.calTim.calTim.month,calTim.calTim.year,$PRE.calTim.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.0003228/0.8298, allocations: 224.2 kB / 1.285 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.706e-05/0.8299, allocations: 39.77 kB / 1.285 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.896e-05/0.83, allocations: 39.8 kB / 1.285 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.83, allocations: 0 / 1.285 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.83, allocations: 11.98 kB / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.83, allocations: 0 / 1.285 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002482/0.8324, allocations: 0.7873 MB / 1.286 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/0.8325, allocations: 7.984 kB / 1.286 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.624e-05/0.8325, allocations: 4 kB / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.8325, allocations: 0 / 1.286 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.08e-05/0.8325, allocations: 23.97 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.185e-06/0.8325, allocations: 3.938 kB / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.8325, allocations: 0 / 1.286 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001904/0.8344, allocations: 486.1 kB / 1.286 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003666/0.8348, allocations: 240.6 kB / 1.286 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.966e-05/0.8349, allocations: 23.98 kB / 1.286 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005212/0.8354, allocations: 33.41 kB / 1.286 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.584e-05/0.8355, allocations: 7.984 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.027e-05/0.8355, allocations: 59.98 kB / 1.287 GB, free: 7.305 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003702/0.8359, allocations: 323.1 kB / 1.287 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.8359, allocations: 0 / 1.287 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003898/0.8363, allocations: 71.89 kB / 1.287 GB, free: 6.922 MB / 0.9825 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.calTim.daySampleTrigger,calTim.calTim.hourSampleTrigger,$whenCondition2,$whenCondition1,calTim.calTim.year,calTim.calTim.month,calTim.calTim.day,calTim.calTim.hour,calTim.calTim.weekDay,calTim.calTim.daysSinceEpoch,calTim.calTim.yearIndex,calTim.calTim.epochLastMonth,calTim.calTim.firstHourSampling,calTim.calTim.firstDaySampling) * Number of discrete states: 9 (calTim.calTim.firstDaySampling,calTim.calTim.daysSinceEpoch,calTim.calTim.weekDay,calTim.calTim.yearIndex,calTim.calTim.year,calTim.calTim.epochLastMonth,calTim.calTim.month,calTim.calTim.firstHourSampling,calTim.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.0001968/0.8365, allocations: 127.7 kB / 1.287 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001446/0.8379, allocations: 446.5 kB / 1.287 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8379, allocations: 0 / 1.287 GB, free: 6.328 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008361/0.8388, allocations: 111.8 kB / 1.288 GB, free: 6.219 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004161/0.8392, allocations: 39.34 kB / 1.288 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001696/0.8409, allocations: 0.6293 MB / 1.288 GB, free: 5.52 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004717/0.8414, allocations: 0.7786 MB / 1.289 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.8414, allocations: 17.42 kB / 1.289 GB, free: 4.699 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.845e-05/0.8415, allocations: 19.42 kB / 1.289 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of SimCode: time 4.01e-07/0.8415, allocations: 0 / 1.289 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of Templates: time 0.01035/0.8518, allocations: 5.475 MB / 1.294 GB, free: 15.11 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.Validation.CalendarTimeMonths_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Sources_Validation_CalendarTimeMonths.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Sources.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: 8.665041958913207]