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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001193/0.001193, allocations: 106.6 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001642/0.001642, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 249.9 MB, free: 3.227 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.791/2.791, allocations: 476.7 MB / 0.7634 GB, free: 15.22 MB / 0.6075 GB [Timeout remaining time 87] 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.001935/0.001935, allocations: 63.89 kB / 1.108 GB, free: 4.844 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.129/1.131, allocations: 168.7 MB / 1.272 GB, free: 7.957 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002801/1.134, allocations: 1.518 MB / 1.274 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001369/1.135, allocations: 0.5508 MB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.621e-05/1.135, allocations: 1.031 kB / 1.274 GB, free: 6.547 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/1.136, allocations: 10.92 kB / 1.274 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/1.136, allocations: 26.11 kB / 1.274 GB, free: 6.527 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008537/1.137, allocations: 317.1 kB / 1.275 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005916/1.137, allocations: 490.4 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.881e-05/1.137, allocations: 4.344 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004213/1.138, allocations: 274.1 kB / 1.275 GB, free: 6.102 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000304/1.138, allocations: 143.6 kB / 1.276 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001079/1.138, allocations: 26.12 kB / 1.276 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001029/1.138, allocations: 27.31 kB / 1.276 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/1.138, allocations: 122.3 kB / 1.276 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0002102/1.138, allocations: 191 kB / 1.276 GB, free: 5.902 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005152/1.139, allocations: 420.8 kB / 1.276 GB, free: 5.75 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/1.139, allocations: 4.797 kB / 1.276 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.522e-06/1.139, allocations: 0.8438 kB / 1.276 GB, free: 5.746 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.075e-06/1.139, allocations: 0 / 1.276 GB, free: 5.746 MB / 0.9981 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.001332/1.14, allocations: 0.8727 MB / 1.277 GB, free: 5 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/1.14, allocations: 9.594 kB / 1.277 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001476/1.141, allocations: 51.69 kB / 1.277 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003879/1.141, allocations: 316.5 kB / 1.278 GB, free: 4.703 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/1.141, allocations: 22.3 kB / 1.278 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.872e-05/1.141, allocations: 28.89 kB / 1.278 GB, free: 4.691 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001038/1.142, allocations: 212 kB / 1.278 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/1.142, allocations: 1.094 kB / 1.278 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/1.142, allocations: 8.172 kB / 1.278 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.312e-06/1.142, allocations: 1.312 kB / 1.278 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008024/1.143, allocations: 105.2 kB / 1.278 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004695/1.143, allocations: 384.8 kB / 1.278 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00108/1.144, allocations: 164.4 kB / 1.278 GB, free: 4.297 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000783/1.145, allocations: 107.4 kB / 1.279 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/1.145, allocations: 2.703 kB / 1.279 GB, free: 4.27 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001085/1.146, allocations: 226.3 kB / 1.279 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=16): time 2.074e-06/1.146, allocations: 0 / 1.279 GB, free: 4.188 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16): time 0.003002/1.149, allocations: 486.4 kB / 1.279 GB, free: 4.074 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/1.149, allocations: 69.89 kB / 1.279 GB, free: 4 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/1.15, allocations: 414.1 kB / 1.28 GB, free: 3.797 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.651e-05/1.15, allocations: 41.31 kB / 1.28 GB, free: 3.762 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.879e-05/1.15, allocations: 94.94 kB / 1.28 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/1.15, allocations: 36.59 kB / 1.28 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/1.15, allocations: 128.2 kB / 1.28 GB, free: 3.594 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.373e-05/1.151, allocations: 325.2 kB / 1.28 GB, free: 3.273 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003035/1.151, allocations: 120.1 kB / 1.28 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003199/1.151, allocations: 166.4 kB / 1.281 GB, free: 3.148 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/1.152, allocations: 281.5 kB / 1.281 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/1.152, allocations: 0 / 1.281 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008373/1.152, allocations: 490.1 kB / 1.281 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 8.046e-05/1.152, allocations: 100.4 kB / 1.281 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/1.152, allocations: 0 / 1.281 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/1.152, allocations: 3.062 kB / 1.281 GB, free: 2.656 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001847/1.153, allocations: 27.47 kB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/1.153, allocations: 4.453 kB / 1.281 GB, free: 2.648 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005411/1.153, allocations: 60.64 kB / 1.281 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.74e-05/1.153, allocations: 57.78 kB / 1.282 GB, free: 2.633 MB / 0.9981 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.0002322/1.154, allocations: 207.5 kB / 1.282 GB, free: 2.48 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.301e-05/1.154, allocations: 40.27 kB / 1.282 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.369e-05/1.154, allocations: 41.98 kB / 1.282 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.359e-06/1.154, allocations: 0.9062 kB / 1.282 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.154, allocations: 0.5312 kB / 1.282 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/1.154, allocations: 1.266 kB / 1.282 GB, free: 2.441 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002293/1.156, allocations: 0.7507 MB / 1.283 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.598e-06/1.156, allocations: 0.6562 kB / 1.283 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/1.156, allocations: 4.969 kB / 1.283 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/1.156, allocations: 1.688 kB / 1.283 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.873e-05/1.156, allocations: 18.47 kB / 1.283 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/1.156, allocations: 7.797 kB / 1.283 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/1.156, allocations: 4 kB / 1.283 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/1.158, allocations: 478.3 kB / 1.283 GB, free: 1.816 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/1.158, allocations: 204.6 kB / 1.283 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.403e-05/1.158, allocations: 10.41 kB / 1.283 GB, free: 1.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004943/1.159, allocations: 32.95 kB / 1.283 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.794e-05/1.159, allocations: 8.5 kB / 1.283 GB, free: 1.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-05/1.159, allocations: 60.42 kB / 1.283 GB, free: 1.664 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003001/1.159, allocations: 292.7 kB / 1.284 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.159, allocations: 0 / 1.284 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004738/1.16, allocations: 65.75 kB / 1.284 GB, free: 1.523 MB / 0.9981 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.0001539/1.16, allocations: 119.7 kB / 1.284 GB, free: 1.418 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001319/1.161, allocations: 413 kB / 1.284 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/1.161, allocations: 0 / 1.284 GB, free: 1.215 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008106/1.162, allocations: 114.1 kB / 1.284 GB, free: 1.195 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003736/1.162, allocations: 36.86 kB / 1.284 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/1.164, allocations: 0.5965 MB / 1.285 GB, free: 0.832 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/1.164, allocations: 0.7678 MB / 1.286 GB, free: 136 kB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.4e-05/1.164, allocations: 20.27 kB / 1.286 GB, free: 124 kB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.164, allocations: 4 kB / 1.286 GB, free: 120 kB / 0.9981 GB Notification: Performance of Templates: time 0.007778/1.172, allocations: 3.721 MB / 1.289 GB, free: 15.56 MB / 1.014 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 -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/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Utilities.Time.Examples.CalendarTime.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches