Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.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.001313/0.001313, 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.001484/0.001484, allocations: 202.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.451/1.451, 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.755/2.755, allocations: 476.7 MB / 0.7645 GB, free: 10.14 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.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime") translateModel(Buildings.Utilities.Time.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 67.89 kB / 1.109 GB, free: 6.633 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8623/0.8643, allocations: 168.7 MB / 1.274 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.003017/0.8674, allocations: 1.527 MB / 1.276 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.8688, allocations: 0.5462 MB / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.797e-05/0.8689, allocations: 0 / 1.276 GB, free: 2.5 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001113/0.869, allocations: 11.86 kB / 1.276 GB, free: 2.488 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001199/0.8691, allocations: 19.88 kB / 1.276 GB, free: 2.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008237/0.8699, allocations: 310.8 kB / 1.276 GB, free: 2.168 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0005888/0.8705, allocations: 487.4 kB / 1.277 GB, free: 1.691 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.8705, allocations: 7.984 kB / 1.277 GB, free: 1.684 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004659/0.871, allocations: 279.6 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003588/0.8714, allocations: 151.3 kB / 1.277 GB, free: 1.262 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 7.64e-05/0.8714, allocations: 24 kB / 1.277 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-05/0.8715, allocations: 28 kB / 1.277 GB, free: 1.211 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001549/0.8717, allocations: 115.7 kB / 1.277 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.8719, allocations: 187 kB / 1.278 GB, free: 0.9141 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005502/0.8724, allocations: 429.1 kB / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.8724, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.533e-06/0.8724, allocations: 0 / 1.278 GB, free: 0.4961 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.8724, allocations: 4 kB / 1.278 GB, free: 0.4922 MB / 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.001452/0.8739, allocations: 0.8665 MB / 1.279 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.8739, allocations: 12.03 kB / 1.279 GB, free: 15.52 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.8741, allocations: 48.7 kB / 1.279 GB, free: 15.48 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005108/0.8746, allocations: 318.5 kB / 1.279 GB, free: 15.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.047e-05/0.8746, allocations: 20.3 kB / 1.279 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.247e-05/0.8747, allocations: 32.3 kB / 1.279 GB, free: 15.08 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/0.8758, allocations: 210 kB / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.8758, allocations: 192 / 1.279 GB, free: 14.87 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.128e-05/0.8759, allocations: 11.92 kB / 1.279 GB, free: 14.86 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.052e-05/0.8759, allocations: 4 kB / 1.279 GB, free: 14.85 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008366/0.8767, allocations: 99.92 kB / 1.28 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005033/0.8772, allocations: 393.2 kB / 1.28 GB, free: 14.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001138/0.8783, allocations: 162.4 kB / 1.28 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008582/0.8792, allocations: 108.8 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.898e-05/0.8792, allocations: 7.938 kB / 1.28 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/0.8803, allocations: 219.1 kB / 1.28 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=16): time 2.255e-06/0.8803, allocations: 4 kB / 1.28 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16): time 0.002831/0.8831, allocations: 491.4 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.607e-05/0.8832, allocations: 63.34 kB / 1.281 GB, free: 13.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006756/0.8839, allocations: 409.9 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 8.938e-05/0.8839, allocations: 37.7 kB / 1.281 GB, free: 12.8 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001028/0.884, allocations: 97.44 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.254e-05/0.8841, allocations: 43.67 kB / 1.282 GB, free: 12.65 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002266/0.8843, allocations: 133.4 kB / 1.282 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001633/0.8845, allocations: 318.8 kB / 1.282 GB, free: 12.2 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.8848, allocations: 119.9 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003221/0.8851, allocations: 165.9 kB / 1.282 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.8855, allocations: 287.8 kB / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.8855, allocations: 0 / 1.282 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009111/0.8864, allocations: 484.7 kB / 1.283 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.8865, allocations: 93.19 kB / 1.283 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.8865, allocations: 4.188 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.8866, allocations: 8 kB / 1.283 GB, free: 10.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001771/0.8867, allocations: 27.91 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.8868, allocations: 4 kB / 1.283 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005804/0.8873, allocations: 55.78 kB / 1.283 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/0.8874, allocations: 67.98 kB / 1.283 GB, free: 10.82 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 (calendarTime2016.firstHourSampling,$PRE.calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling,$PRE.calendarTime2016.firstDaySampling,calendarTime2016.daySampleTrigger,$whenCondition1,calendarTime2016.hourSampleTrigger,$whenCondition2,calendarTime2016.epochLastMonth,$PRE.calendarTime2016.epochLastMonth,calendarTime2016.yearIndex,$PRE.calendarTime2016.yearIndex,calendarTime2016.daysSinceEpoch,$PRE.calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,$PRE.calendarTime2016.weekDay,calendarTime2016.hour,$PRE.calendarTime2016.hour,calendarTime2016.day,$PRE.calendarTime2016.day,calendarTime2016.month,$PRE.calendarTime2016.month,calendarTime2016.year,$PRE.calendarTime2016.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.0002833/0.8877, allocations: 199.9 kB / 1.283 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.232e-05/0.8878, allocations: 43.69 kB / 1.283 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.834e-05/0.8879, allocations: 39.75 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.8879, allocations: 4 kB / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.8879, allocations: 0 / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.8879, allocations: 0 / 1.283 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.8904, allocations: 0.7521 MB / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.8904, allocations: 0 / 1.284 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.022e-05/0.8904, allocations: 4 kB / 1.284 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.8904, allocations: 0 / 1.284 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.928e-05/0.8905, allocations: 23.91 kB / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.8905, allocations: 0 / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.8905, allocations: 0 / 1.284 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.8924, allocations: 487.3 kB / 1.285 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000335/0.8927, allocations: 204.7 kB / 1.285 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.603e-05/0.8928, allocations: 8 kB / 1.285 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.8933, allocations: 38.84 kB / 1.285 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.233e-05/0.8933, allocations: 7.984 kB / 1.285 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.355e-05/0.8934, allocations: 55.97 kB / 1.285 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003361/0.8937, allocations: 299.1 kB / 1.285 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.8937, allocations: 0 / 1.285 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004324/0.8942, allocations: 71.92 kB / 1.285 GB, free: 8.523 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 (calendarTime2016.hourSampleTrigger,calendarTime2016.daySampleTrigger,$whenCondition2,$whenCondition1,calendarTime2016.year,calendarTime2016.month,calendarTime2016.day,calendarTime2016.hour,calendarTime2016.weekDay,calendarTime2016.daysSinceEpoch,calendarTime2016.yearIndex,calendarTime2016.epochLastMonth,calendarTime2016.firstHourSampling,calendarTime2016.firstDaySampling) * Number of discrete states: 9 (calendarTime2016.firstDaySampling,calendarTime2016.daysSinceEpoch,calendarTime2016.weekDay,calendarTime2016.yearIndex,calendarTime2016.year,calendarTime2016.epochLastMonth,calendarTime2016.month,calendarTime2016.firstHourSampling,calendarTime2016.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.0001755/0.8944, allocations: 113.5 kB / 1.285 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001413/0.8958, allocations: 414.4 kB / 1.286 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.8958, allocations: 0 / 1.286 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0008266/0.8966, allocations: 108.2 kB / 1.286 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.897, allocations: 33.48 kB / 1.286 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001592/0.8986, allocations: 0.555 MB / 1.287 GB, free: 7.246 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004894/0.8991, allocations: 0.7747 MB / 1.287 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.84e-05/0.8991, allocations: 9.094 kB / 1.287 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.832e-05/0.8992, allocations: 19.42 kB / 1.287 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of SimCode: time 6.11e-07/0.8992, allocations: 0 / 1.287 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of Templates: time 0.01044/0.9096, allocations: 5.071 MB / 1.292 GB, free: 1.246 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 9.436086329165846]