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.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.001844/0.001844, allocations: 115.5 kB / 18.88 MB, free: 3.062 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.002016/0.002016, allocations: 190.7 kB / 22.17 MB, free: 5.656 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.499/1.499, 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.948/2.948, allocations: 476.7 MB / 0.7645 GB, free: 10.09 MB / 0.6231 GB " [Timeout remaining time 176] 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.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 0.003218/0.003218, allocations: 63.89 kB / 1.109 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8799/0.8831, allocations: 168.7 MB / 1.274 GB, free: 4.559 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Validation.CalendarTimeMonthsPlus): time 0.003171/0.8863, allocations: 1.53 MB / 1.276 GB, free: 3.02 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.8878, allocations: 0.5481 MB / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.308e-05/0.8879, allocations: 0 / 1.276 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001163/0.888, allocations: 15.86 kB / 1.276 GB, free: 2.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.8881, allocations: 23.86 kB / 1.276 GB, free: 2.434 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008284/0.8889, allocations: 314.8 kB / 1.276 GB, free: 2.129 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005858/0.8895, allocations: 483.4 kB / 1.277 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.76e-05/0.8896, allocations: 4 kB / 1.277 GB, free: 1.652 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004058/0.89, allocations: 279.6 kB / 1.277 GB, free: 1.379 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003246/0.8903, allocations: 147.4 kB / 1.277 GB, free: 1.234 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.427e-05/0.8904, allocations: 24 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.16e-05/0.8904, allocations: 28 kB / 1.277 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.8906, allocations: 119.6 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002121/0.8908, allocations: 187 kB / 1.278 GB, free: 0.8828 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0004932/0.8913, allocations: 425.1 kB / 1.278 GB, free: 480 kB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.8913, allocations: 3.938 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of FrontEnd: time 1.343e-06/0.8913, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.8913, allocations: 0 / 1.278 GB, free: 476 kB / 0.9669 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.001396/0.8927, allocations: 0.8782 MB / 1.279 GB, free: 15.5 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.8928, allocations: 12.03 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.8929, allocations: 52.64 kB / 1.279 GB, free: 15.43 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004727/0.8933, allocations: 318.5 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.275e-05/0.8934, allocations: 16.38 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.576e-05/0.8935, allocations: 24.36 kB / 1.279 GB, free: 15.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.8945, allocations: 221.9 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.8945, allocations: 192 / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.965e-05/0.8945, allocations: 3.938 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.8945, allocations: 4 kB / 1.279 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007781/0.8953, allocations: 99.92 kB / 1.28 GB, free: 14.72 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004478/0.8958, allocations: 385.3 kB / 1.28 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001064/0.8968, allocations: 166.5 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007635/0.8976, allocations: 104.8 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.8976, allocations: 4 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009976/0.8986, allocations: 227 kB / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 1.773e-06/0.8986, allocations: 0 / 1.28 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002624/0.9012, allocations: 485 kB / 1.281 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.9013, allocations: 59.41 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004454/0.9017, allocations: 413.9 kB / 1.281 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.328e-05/0.9018, allocations: 45.62 kB / 1.281 GB, free: 12.77 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.9019, allocations: 95.02 kB / 1.281 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.167e-05/0.902, allocations: 43.67 kB / 1.282 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002015/0.9022, allocations: 133.4 kB / 1.282 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001433/0.9023, allocations: 322.8 kB / 1.282 GB, free: 12.16 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002616/0.9026, allocations: 115.9 kB / 1.282 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003014/0.9029, allocations: 177.9 kB / 1.282 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.9033, allocations: 275.3 kB / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.9033, allocations: 0 / 1.283 GB, free: 11.55 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008532/0.9041, allocations: 491 kB / 1.283 GB, free: 11.06 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.846e-05/0.9042, allocations: 95.31 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.624e-06/0.9042, allocations: 0 / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.196e-05/0.9043, allocations: 7.984 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.9044, allocations: 27.92 kB / 1.283 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.9045, allocations: 8.188 kB / 1.283 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004954/0.905, allocations: 59.84 kB / 1.283 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.688e-05/0.905, allocations: 59.92 kB / 1.283 GB, free: 10.79 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.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.0002631/0.9053, allocations: 195.9 kB / 1.283 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.353e-05/0.9054, allocations: 39.7 kB / 1.283 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.866e-05/0.9054, allocations: 47.75 kB / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.9054, allocations: 0 / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9054, allocations: 0 / 1.283 GB, free: 10.51 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.9055, allocations: 3.984 kB / 1.283 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002401/0.9079, allocations: 0.7482 MB / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.9079, allocations: 3.938 kB / 1.284 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.543e-05/0.9079, allocations: 4 kB / 1.284 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.9079, allocations: 0 / 1.284 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.833e-05/0.9079, allocations: 19.97 kB / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.9079, allocations: 0 / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.9079, allocations: 0 / 1.284 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001829/0.9098, allocations: 483.4 kB / 1.285 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003226/0.9101, allocations: 200.7 kB / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.412e-05/0.9102, allocations: 8 kB / 1.285 GB, free: 8.957 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004959/0.9107, allocations: 39.95 kB / 1.285 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.15e-05/0.9107, allocations: 11.92 kB / 1.285 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.11e-05/0.9108, allocations: 55.98 kB / 1.285 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003358/0.9111, allocations: 295.1 kB / 1.285 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9111, allocations: 0 / 1.285 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004284/0.9115, allocations: 67.98 kB / 1.285 GB, free: 8.5 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.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.0001762/0.9117, allocations: 122.6 kB / 1.285 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001549/0.9133, allocations: 408.4 kB / 1.286 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9133, allocations: 0 / 1.286 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001172/0.9144, allocations: 107.9 kB / 1.286 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006013/0.915, allocations: 35.55 kB / 1.286 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002344/0.9174, allocations: 0.5588 MB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006045/0.918, allocations: 0.7747 MB / 1.287 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 8.933e-05/0.9181, allocations: 17.08 kB / 1.287 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.344e-05/0.9181, allocations: 15.44 kB / 1.287 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of SimCode: time 5.21e-07/0.9181, allocations: 0 / 1.287 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of Templates: time 0.01597/0.9341, allocations: 4.988 MB / 1.292 GB, free: 1.297 MB / 0.9825 GB " [Timeout remaining time 299] 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.214346375316381]