Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.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.00128/0.00128, allocations: 116.4 kB / 17.13 MB, free: 6.004 MB / 14.72 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.001424/0.001424, allocations: 215.2 kB / 20.1 MB, free: 3.051 MB / 14.72 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 1.563/1.563, allocations: 230.6 MB / 253.5 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.992/2.992, allocations: 0.49 GB / 0.7923 GB, free: 1.281 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Examples.CalendarTime,tolerance=1e-06,outputFormat="mat",numberOfIntervals=155429,variableFilter="time|calendarTime2016.year|calendarTime2016.month|calendarTime2016.day|calendarTime2016.hour|calendarTime2016.minute",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.Time.Examples.CalendarTime") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 71.91 kB / 1.15 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.235/1.237, allocations: 176.1 MB / 1.322 GB, free: 25.01 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.002621/1.24, allocations: 1.538 MB / 1.323 GB, free: 23.94 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00122/1.241, allocations: 0.5469 MB / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.188e-05/1.241, allocations: 0 / 1.324 GB, free: 23.58 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001105/1.241, allocations: 11.81 kB / 1.324 GB, free: 23.57 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001197/1.241, allocations: 26.17 kB / 1.324 GB, free: 23.56 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007384/1.242, allocations: 310.3 kB / 1.324 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004251/1.242, allocations: 478.1 kB / 1.325 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/1.242, allocations: 13.19 kB / 1.325 GB, free: 23.22 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002931/1.243, allocations: 274.6 kB / 1.325 GB, free: 23.14 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002371/1.243, allocations: 148.8 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.825e-05/1.243, allocations: 28.94 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.434e-05/1.243, allocations: 25.16 kB / 1.325 GB, free: 23.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001094/1.243, allocations: 114.6 kB / 1.325 GB, free: 23.06 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001557/1.243, allocations: 183.9 kB / 1.325 GB, free: 22.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003603/1.244, allocations: 432.7 kB / 1.326 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/1.244, allocations: 0 / 1.326 GB, free: 22.79 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.523e-06/1.244, allocations: 4 kB / 1.326 GB, free: 22.79 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.674e-06/1.244, allocations: 3.938 kB / 1.326 GB, free: 22.79 MB / 1.061 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.001211/1.245, allocations: 0.8721 MB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/1.245, allocations: 13.3 kB / 1.327 GB, free: 22.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/1.245, allocations: 50.92 kB / 1.327 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003686/1.245, allocations: 309.3 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.778e-05/1.246, allocations: 19.28 kB / 1.327 GB, free: 21.75 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.947e-05/1.246, allocations: 32.66 kB / 1.327 GB, free: 21.74 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00107/1.247, allocations: 213.3 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/1.247, allocations: 1.281 kB / 1.327 GB, free: 21.68 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.492e-05/1.247, allocations: 8.031 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/1.247, allocations: 5.5 kB / 1.327 GB, free: 21.67 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008611/1.248, allocations: 102.2 kB / 1.327 GB, free: 21.65 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004845/1.248, allocations: 389.2 kB / 1.328 GB, free: 21.39 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001156/1.249, allocations: 164.3 kB / 1.328 GB, free: 21.34 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008396/1.25, allocations: 109.5 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.036e-05/1.25, allocations: 2.953 kB / 1.328 GB, free: 21.3 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001125/1.251, allocations: 224.2 kB / 1.328 GB, free: 21.22 MB / 1.061 GB Notification: Performance of pre-optimization done (n=16): time 2.835e-06/1.251, allocations: 0 / 1.328 GB, free: 21.22 MB / 1.061 GB Notification: Performance of matching and sorting (n=16): time 0.00308/1.254, allocations: 485.9 kB / 1.329 GB, free: 21.11 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/1.254, allocations: 57.67 kB / 1.329 GB, free: 21.05 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/1.255, allocations: 423.3 kB / 1.329 GB, free: 20.84 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 0.0001068/1.255, allocations: 39.72 kB / 1.329 GB, free: 20.8 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/1.255, allocations: 95.88 kB / 1.329 GB, free: 20.71 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.973e-05/1.255, allocations: 36.86 kB / 1.329 GB, free: 20.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002382/1.255, allocations: 131.3 kB / 1.33 GB, free: 20.63 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.393e-05/1.255, allocations: 327.1 kB / 1.33 GB, free: 20.31 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002904/1.256, allocations: 119.2 kB / 1.33 GB, free: 20.27 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003175/1.256, allocations: 170.1 kB / 1.33 GB, free: 20.18 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003869/1.256, allocations: 277.1 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.256, allocations: 3.938 kB / 1.33 GB, free: 19.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0009085/1.257, allocations: 488 kB / 1.331 GB, free: 19.77 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 8.544e-05/1.257, allocations: 92.92 kB / 1.331 GB, free: 19.69 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.767e-06/1.257, allocations: 9.375 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.164e-05/1.258, allocations: 3.656 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/1.258, allocations: 24.33 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/1.258, allocations: 2.609 kB / 1.331 GB, free: 19.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005603/1.258, allocations: 59.38 kB / 1.331 GB, free: 19.67 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/1.258, allocations: 57.36 kB / 1.331 GB, free: 19.67 MB / 1.061 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.0002666/1.259, allocations: 200.6 kB / 1.331 GB, free: 19.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.424e-05/1.259, allocations: 44.53 kB / 1.331 GB, free: 19.5 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.754e-05/1.259, allocations: 38.34 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/1.259, allocations: 1.969 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/1.259, allocations: 4.75 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/1.259, allocations: 1.359 kB / 1.331 GB, free: 19.48 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00248/1.261, allocations: 0.7477 MB / 1.332 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/1.261, allocations: 0.6094 kB / 1.332 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/1.261, allocations: 4.984 kB / 1.332 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/1.261, allocations: 0.9688 kB / 1.332 GB, free: 19.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.433e-05/1.261, allocations: 22.94 kB / 1.332 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/1.261, allocations: 0.625 kB / 1.332 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.225e-06/1.261, allocations: 0.6562 kB / 1.332 GB, free: 19.06 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/1.263, allocations: 483.2 kB / 1.333 GB, free: 18.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/1.264, allocations: 200.5 kB / 1.333 GB, free: 18.72 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.115e-05/1.264, allocations: 19.5 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005173/1.264, allocations: 27.83 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.82e-05/1.264, allocations: 7.594 kB / 1.333 GB, free: 18.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.265, allocations: 60.48 kB / 1.333 GB, free: 18.7 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0004889/1.265, allocations: 294.6 kB / 1.333 GB, free: 18.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.265, allocations: 0 / 1.333 GB, free: 18.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005703/1.266, allocations: 64.88 kB / 1.333 GB, free: 18.56 MB / 1.061 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.0002014/1.266, allocations: 130.8 kB / 1.333 GB, free: 18.45 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.00155/1.267, allocations: 405.4 kB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/1.267, allocations: 1.281 kB / 1.334 GB, free: 18.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0008417/1.268, allocations: 117.7 kB / 1.334 GB, free: 18.23 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003847/1.269, allocations: 27.88 kB / 1.334 GB, free: 18.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/1.27, allocations: 0.5985 MB / 1.334 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002544/1.271, allocations: 0.7705 MB / 1.335 GB, free: 17.17 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.342e-05/1.271, allocations: 16.23 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.271, allocations: 1.375 kB / 1.335 GB, free: 17.16 MB / 1.061 GB Notification: Performance of Templates: time 0.008612/1.279, allocations: 3.733 MB / 1.339 GB, free: 16.6 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; mkfifo Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe >> ../files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.sim & ./Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_Time_Examples_CalendarTime.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.Time.Examples.CalendarTime.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: 13.750305377994664]