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.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.001306/0.001306, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001395/0.001395, allocations: 158.5 kB / 23.01 MB, free: 4.598 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.406/1.406, allocations: 177.2 MB / 203.4 MB, free: 8.988 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.601/2.601, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_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: 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.002379/0.002379, allocations: 71.89 kB / 0.9515 GB, free: 12.86 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3034, allocations: 169.9 MB / 1.117 GB, free: 2.629 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Time.Examples.CalendarTime): time 0.00287/0.3062, allocations: 1.525 MB / 1.119 GB, free: 1.094 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001311/0.3076, allocations: 0.5306 MB / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.883e-05/0.3076, allocations: 0 / 1.119 GB, free: 0.5625 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 9.315e-05/0.3077, allocations: 15.92 kB / 1.119 GB, free: 0.5469 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.3078, allocations: 23.8 kB / 1.119 GB, free: 0.5234 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008866/0.3087, allocations: 311.4 kB / 1.12 GB, free: 224 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000577/0.3093, allocations: 487.4 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 3.93e-05/0.3093, allocations: 4 kB / 1.12 GB, free: 15.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003931/0.3097, allocations: 279.7 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002972/0.31, allocations: 137.7 kB / 1.121 GB, free: 15.33 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0001016/0.3101, allocations: 24 kB / 1.121 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.3102, allocations: 28 kB / 1.121 GB, free: 15.28 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.000137/0.3103, allocations: 115.7 kB / 1.121 GB, free: 15.17 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001991/0.3105, allocations: 163.2 kB / 1.121 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0004573/0.311, allocations: 426.4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.311, allocations: 4 kB / 1.121 GB, free: 14.59 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.262e-06/0.311, allocations: 3.938 kB / 1.121 GB, free: 14.58 MB / 1.076 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.311, allocations: 0 / 1.121 GB, free: 14.58 MB / 1.076 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.001249/0.3123, allocations: 0.8029 MB / 1.122 GB, free: 13.71 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.3123, allocations: 8.031 kB / 1.122 GB, free: 13.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001188/0.3124, allocations: 56.69 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.3128, allocations: 260.7 kB / 1.122 GB, free: 13.36 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.782e-05/0.3129, allocations: 20.36 kB / 1.122 GB, free: 13.34 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.695e-05/0.3129, allocations: 24.36 kB / 1.122 GB, free: 13.32 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/0.3139, allocations: 223.2 kB / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.3139, allocations: 192 / 1.123 GB, free: 13.1 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.159e-05/0.3139, allocations: 19.92 kB / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.3139, allocations: 0 / 1.123 GB, free: 13.08 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000776/0.3147, allocations: 119.9 kB / 1.123 GB, free: 12.96 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003583/0.3151, allocations: 277.1 kB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.3161, allocations: 182.5 kB / 1.123 GB, free: 12.47 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007393/0.3169, allocations: 116.8 kB / 1.123 GB, free: 12.36 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.3169, allocations: 7.938 kB / 1.123 GB, free: 12.35 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009495/0.3178, allocations: 235.2 kB / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of pre-optimization done (n=16): time 1.422e-06/0.3178, allocations: 0 / 1.124 GB, free: 12.11 MB / 1.076 GB Notification: Performance of matching and sorting (n=16): time 0.002581/0.3204, allocations: 0.5283 MB / 1.124 GB, free: 11.57 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.3205, allocations: 63.39 kB / 1.124 GB, free: 11.5 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004293/0.3209, allocations: 413.9 kB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 5.554e-05/0.321, allocations: 41.69 kB / 1.125 GB, free: 11.04 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.926e-05/0.321, allocations: 89.45 kB / 1.125 GB, free: 10.95 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.3211, allocations: 47.67 kB / 1.125 GB, free: 10.9 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001907/0.3213, allocations: 129.4 kB / 1.125 GB, free: 10.77 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.3214, allocations: 326.8 kB / 1.125 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003289/0.3218, allocations: 191.3 kB / 1.125 GB, free: 10.24 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003574/0.3221, allocations: 246.1 kB / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003882/0.3225, allocations: 275.3 kB / 1.126 GB, free: 9.664 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3225, allocations: 0 / 1.126 GB, free: 9.664 MB / 1.076 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0008974/0.3234, allocations: 0.5588 MB / 1.126 GB, free: 9.074 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 8.187e-05/0.3235, allocations: 83.38 kB / 1.126 GB, free: 8.98 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.3235, allocations: 4 kB / 1.126 GB, free: 8.977 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3235, allocations: 7.938 kB / 1.127 GB, free: 8.969 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3237, allocations: 19.92 kB / 1.127 GB, free: 8.949 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.813e-05/0.3237, allocations: 4 kB / 1.127 GB, free: 8.945 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004895/0.3242, allocations: 71.77 kB / 1.127 GB, free: 8.875 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.172e-05/0.3243, allocations: 55.98 kB / 1.127 GB, free: 8.82 MB / 1.076 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.0002195/0.3245, allocations: 201.8 kB / 1.127 GB, free: 8.617 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.191e-05/0.3246, allocations: 43.72 kB / 1.127 GB, free: 8.574 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.905e-05/0.3246, allocations: 43.61 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3246, allocations: 3.938 kB / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.3246, allocations: 0 / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.3246, allocations: 0 / 1.127 GB, free: 8.527 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002254/0.3269, allocations: 0.7157 MB / 1.128 GB, free: 7.773 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.3269, allocations: 3.938 kB / 1.128 GB, free: 7.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.673e-05/0.3269, allocations: 7.984 kB / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3269, allocations: 0 / 1.128 GB, free: 7.762 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.827e-05/0.327, allocations: 19.98 kB / 1.128 GB, free: 7.742 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.327, allocations: 3.984 kB / 1.128 GB, free: 7.738 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.327, allocations: 7.938 kB / 1.128 GB, free: 7.73 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001804/0.3288, allocations: 0.4956 MB / 1.128 GB, free: 7.219 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000287/0.3291, allocations: 133.5 kB / 1.128 GB, free: 7.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.974e-05/0.3291, allocations: 12 kB / 1.128 GB, free: 7.078 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004786/0.3296, allocations: 35.95 kB / 1.128 GB, free: 7.043 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.966e-05/0.3296, allocations: 11.98 kB / 1.128 GB, free: 7.031 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.64e-05/0.3297, allocations: 59.98 kB / 1.128 GB, free: 6.973 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003096/0.33, allocations: 295.1 kB / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.1e-07/0.33, allocations: 0 / 1.129 GB, free: 6.684 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003541/0.3304, allocations: 71.92 kB / 1.129 GB, free: 6.613 MB / 1.076 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.0001432/0.3305, allocations: 121.2 kB / 1.129 GB, free: 6.488 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.3319, allocations: 489.9 kB / 1.129 GB, free: 5.973 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.429e-06/0.3319, allocations: 4 kB / 1.129 GB, free: 5.969 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0007702/0.3326, allocations: 131.1 kB / 1.129 GB, free: 5.844 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.333, allocations: 29.58 kB / 1.129 GB, free: 5.812 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.3344, allocations: 0.5676 MB / 1.13 GB, free: 5.219 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.3346, allocations: 167 kB / 1.13 GB, free: 5.039 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 5.773e-05/0.3347, allocations: 17.12 kB / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.384e-05/0.3347, allocations: 16.5 kB / 1.13 GB, free: 5.004 MB / 1.076 GB Notification: Performance of SimCode: time 3.1e-07/0.3347, allocations: 0 / 1.13 GB, free: 5.004 MB / 1.076 GB Notification: Performance of Templates: time 0.5143/0.8491, allocations: 6.115 MB / 1.136 GB, free: 58.05 MB / 1.076 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 ida -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 [Calling sys.exit(0), Time elapsed: 9.274309862987138]